-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpython3-flatpak-requirements.json
More file actions
80 lines (80 loc) · 3.08 KB
/
Copy pathpython3-flatpak-requirements.json
File metadata and controls
80 lines (80 loc) · 3.08 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "python3-flatpak-requirements",
"buildsystem": "simple",
"build-commands": [],
"modules": [
{
"name": "lapack",
"buildsystem": "cmake",
"builddir": true,
"config-opts": [
"-DCMAKE_INSTALL_PREFIX=/app",
"-DCMAKE_INSTALL_LIBDIR=lib",
"-DCMAKE_BUILD_TYPE=Release",
"-DBUILD_SHARED_LIBS=ON",
"-DBUILD_TESTING=OFF",
"-DLAPACKE=ON",
"-DCBLAS=ON"
],
"sources": [
{
"type": "archive",
"url": "http://www.netlib.org/lapack/lapack-3.8.0.tar.gz",
"sha512": "17786cb7306fccdc9b4a242de7f64fc261ebe6a10b6ec55f519deb4cb673cb137e8742aa5698fd2dc52f1cd56d3bd116af3f593a01dcf6770c4dcc86c50b2a7f"
}
],
"cleanup": [ "/lib/cmake" ]
},
{
"name": "python3-pybind11",
"buildsystem": "simple",
"build-commands": [
"pip3 install --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"pybind11\" --no-build-isolation"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/46/0e/3131a9ae6e6cd1d718cfdd3e2c25f681f2db29be30763aa54b9310de5fea/pybind11-2.6.2.tar.gz",
"sha256": "d0e0aed9279656f21501243b707eb6e3b951e89e10c3271dedf3ae41c365e5ed"
}
]
},
{
"name": "python3-numpy",
"buildsystem": "simple",
"build-commands": [
"pip3 install --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"numpy\" --no-build-isolation"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/82/a8/1e0f86ae3f13f7ce260e9f782764c16559917f24382c74edfb52149897de/numpy-1.20.2.zip",
"sha256": "878922bf5ad7550aa044aa9301d417e2d3ae50f0f577de92051d739ac6096cee"
}
]
},
{
"name": "python3-scipy",
"buildsystem": "simple",
"build-commands": [
"python3 setup.py build -j 0",
"python3 setup.py install --prefix=/app --root=/ --optimize=1"
],
"build-options": {
"env": {
"ATLAS": "None",
"BLAS": "/app/lib",
"LAPACK": "/app/lib",
"LDFLAGS": "-shared"
}
},
"sources": [
{
"type": "archive",
"url": "https://files.pythonhosted.org/packages/99/f1/c00d6be56e1a718a3068079e3ec8ce044d7179345280f6a3f5066068af0d/scipy-1.6.2.tar.gz",
"sha256": "e9da33e21c9bc1b92c20b5328adb13e5f193b924c9b969cd700c8908f315aa59"
}
]
}
]
}