-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathio.github.kevinsmia1939.PySimpleCV.yaml
105 lines (98 loc) · 4.06 KB
/
io.github.kevinsmia1939.PySimpleCV.yaml
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
app-id: io.github.kevinsmia1939.PySimpleCV
runtime: org.freedesktop.Platform
sdk: org.freedesktop.Sdk
runtime-version: '22.08'
command: PySimpleCV
finish-args:
- --share=ipc
- --socket=x11 #PySimpleGUI Wayland not support
- --device=dri
- --filesystem=home # No portal support
cleanup:
- /include
- /share/man
modules:
- name: meson
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py install --prefix=/app --root=/
sources:
- type: git
url: https://github.com/mesonbuild/meson.git
tag: 1.2.3
commit: 84e437179da05db10aa2457322c54f4ec8be61f1
x-checker-data:
type: git
tag-pattern: ^([\d.]+)$
- name: OpenBLAS
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DBUILD_TESTING:BOOL=OFF
- -DDYNAMIC_ARCH:BOOL=ON
sources:
- type: archive
url: https://github.com/xianyi/OpenBLAS/archive/v0.3.24.tar.gz
sha256: ceadc5065da97bd92404cac7254da66cc6eb192679cf1002098688978d4d5132
x-checker-data:
type: anitya
project-id: 2540
url-template: https://github.com/xianyi/OpenBLAS/archive/v$version.tar.gz
- python-tkinter.yaml
# python3 flatpak-pip-generator tomli setuptools_scm_git_archive setuptools_scm pybind11 certifi pyparsing pyproject_metadata -o numpy_deps && fb
- numpy_deps.json
- name: python-numpy
buildsystem: simple
build-options:
ldflags: -lgfortran
build-commands:
- pip3 install --no-index --find-links=file://${PWD} --prefix=${FLATPAK_DEST}
--no-build-isolation .
sources:
- type: archive
url: https://files.pythonhosted.org/packages/78/23/f78fd8311e0f710fe1d065d50b92ce0057fe877b8ed7fd41b28ad6865bfc/numpy-1.26.1.tar.gz
sha256: c8c6c72d4a9f831f328efb1312642a1cafafaa88981d9ab76368d50d07d93cbe
x-checker-data:
type: pypi
name: numpy
# Update python modules command.
# python3 flatpak-pip-generator pillow packaging cppy kiwisolver fonttools cycler meson-python contourpy openpyxl versioneer pandas pythran statsmodels setuptools_rust PySimpleGUI pyparsing -o python_dependencies && fb
- python_dependencies.json
- name: python3-matplotlib
buildsystem: simple
build-commands:
- python3 -mpip install . --no-index --find-links=file://${PWD} --prefix=${FLATPAK_DEST}
--no-build-isolation
sources:
- type: archive
dest: build/freetype-2.6.1
url: https://downloads.sourceforge.net/project/freetype/freetype2/2.6.1/freetype-2.6.1.tar.gz
sha256: 0a3c7dfbda6da1e8fce29232e8e96d987ababbbf71ebc8c75659e4132c367014
- type: archive
dest: build/qhull-2020.2
url: http://www.qhull.org/download/qhull-2020-src-8.0.2.tgz
sha256: b5c2d7eb833278881b952c8a52d20179eab87766b00b865000469a45c1838b7e
- type: archive
url: https://files.pythonhosted.org/packages/b4/1b/1b80fcc6b7f33a4c7fa025e944416f8b63fa8d278fad32470c82a2edf319/matplotlib-3.8.1.tar.gz
sha256: 044df81c1f6f3a8e52d70c4cfcb44e77ea9632a10929932870dfaa90de94365d
x-checker-data:
type: pypi
name: matplotlib
- name: PySimpleCV
buildsystem: simple
build-commands:
- install -Dm744 PySimpleCV/PySimpleCV /app/bin
- install -Dm744 PySimpleCV/PySimpleCV_main_func.py /app/bin
- install -Dm644 data/${FLATPAK_ID}.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml
- install -Dm644 data/logo/logo.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg
- install -Dm644 data/${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
sources:
- type: archive
url: https://github.com/kevinsmia1939/PySimpleCV/archive/refs/tags/v1.0.7.tar.gz
sha256: e5d7120675afb92237a030f595beeb8fbb941b0cb4e46d9dddd262b756cb4850
x-checker-data:
type: anitya
project-id: 303771
stable-only: true
url-template: https://github.com/kevinsmia1939/PySimpleCV/archive/refs/tags/v$version.tar.gz