diff options
author | nicolargo <nicolas@nicolargo.com> | 2022-08-19 19:52:49 +0200 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2022-08-19 19:52:49 +0200 |
commit | d954a0127c36cfb4700ce23989a15761ab341472 (patch) | |
tree | 71bcbfbd84b299dc2ca04df8fb97a2024432696d | |
parent | 004288eac5b4ffbcced7149113150d7cc42df28e (diff) |
Distribute as Flatpak - First try #1374
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | dev-requirements.txt | 3 | ||||
-rw-r--r-- | python3-glances.json | 39 |
3 files changed, 46 insertions, 1 deletions
@@ -98,4 +98,9 @@ release-note: ## Generate release note @echo "\n" git --no-pager shortlog -s -n $(LASTTAG)..HEAD +flatpak: venv-dev ## Generate FlatPack JSON file + git clone https://github.com/flatpak/flatpak-builder-tools.git + ./venv/bin/python ./flatpak-builder-tools/pip/flatpak-pip-generator glances + rm -rf ./flatpak-builder-tools + .PHONY: test docs docs-server venv diff --git a/dev-requirements.txt b/dev-requirements.txt index 07b20e3e..9bb9f0d9 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,3 +1,4 @@ py-spy black -pyright
\ No newline at end of file +pyright +requirements-parser diff --git a/python3-glances.json b/python3-glances.json new file mode 100644 index 00000000..e32bfcc8 --- /dev/null +++ b/python3-glances.json @@ -0,0 +1,39 @@ +{ + "name": "python3-glances", + "buildsystem": "simple", + "build-commands": [ + "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"glances\" --no-build-isolation" + ], + "sources": [ + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/07/6c/aa3f2f849e01cb6a001cd8554a88d4c77c5c1a31c95bdf1cf9301e6d9ef4/defusedxml-0.7.1-py2.py3-none-any.whl", + "sha256": "a352e7e428770286cc899e2542b6cdaedb2b4953ff269a210103ec58f6198a61" + }, + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/05/8e/8de486cbd03baba4deef4142bd643a3e7bbe954a784dc1bb17142572d127/packaging-21.3-py3-none-any.whl", + "sha256": "ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522" + }, + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/d6/de/0999ea2562b96d7165812606b18f7169307b60cd378bc29cf3673322c7e9/psutil-5.9.1.tar.gz", + "sha256": "57f1819b5d9e95cdfb0c881a8a5b7d542ed0b7c522d575706a80bedc848c8954" + }, + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/6c/10/a7d0fa5baea8fe7b50f448ab742f26f52b80bfca85ac2be9d35cdd9a3246/pyparsing-3.0.9-py3-none-any.whl", + "sha256": "5026bae9a10eeaefb61dab2f09052b9f4307d44aee4eda64b309723d8d206bbc" + }, + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/95/97/279a966ad36c6a5354118f162abea138b84da44ef2b64891d78def9f0026/Glances-3.2.7-py3-none-any.whl", + "sha256": "2decd589e5b4a33133535422e57340185dce3a6abe864bb94aecad945daad7e2" + }, + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/45/0b/38b06fd9b92dc2b68d58b75f900e97884c45bedd2ff83203d933cf5851c9/future-0.18.2.tar.gz", + "sha256": "b1bead90b70cf6ec3f0710ae53a525360fa360d306a86583adc6bf83a4db537d" + } + ] +}
\ No newline at end of file |