File: org.test.Python.json

package info (click to toggle)
flatpak-builder 1.0.12-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 3,580 kB
  • sloc: ansic: 23,288; sh: 5,793; xml: 1,718; makefile: 114; python: 6
file content (63 lines) | stat: -rw-r--r-- 1,759 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
    "app-id": "org.test.Python",
    "runtime": "org.test.PythonPlatform",
    "sdk": "org.test.PythonSdk",
    "command": "testpython.py",
    "modules": [
        {
            "name": "compiled-python",
            "post-install": [
                "mkdir /app/bin",
	        "cp testpython.py /app/bin",
	        "cp importme.py /app/bin",
                /* Compile importme.py */
                "/app/bin/testpython.py"
            ],
            "sources": [
                {
                    "type": "file",
                    "path": "empty-configure",
                    "dest-filename": "configure"
                },
                {
                    "type": "file",
                    "path": "testpython.py"
                },
                {
                    "type": "file",
                    "path": "importme.py"
                }
            ]
        },
        {
            "name": "modify-python",
            "post-install": [
	        "cp --remove-destination importme2.py /app/bin/importme.py"
            ],
            "sources": [
                {
                    "type": "file",
                    "path": "empty-configure",
                    "dest-filename": "configure"
                },
                {
                    "type": "file",
                    "path": "importme2.py"
                }
            ]
        },
        {
            "name": "recompile-modified-python",
            "post-install": [
                "/app/bin/testpython.py"
            ],
            "sources": [
                {
                    "type": "file",
                    "path": "empty-configure",
                    "dest-filename": "configure"
                }
            ]
        }
    ]
}