Skip to content

Commit

Permalink
Flatpak: Use python-xmp-toolkit tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Unrud committed Jun 23, 2024
1 parent e3384a3 commit 6652ee8
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions flatpak/com.github.unrud.djpdf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -500,9 +500,16 @@ modules:
build-commands:
- pip3 install --prefix=/app .
sources:
- type: git
url: https://github.com/python-xmp-toolkit/python-xmp-toolkit
commit: 5692bdf8dac3581a0d5fb3c5aeb29be0ab6a54fc
- type: archive
url: https://github.com/python-xmp-toolkit/python-xmp-toolkit/archive/refs/tags/v2.0.2.tar.gz
sha256: d3c0bac6b7b2233274dbf95e8fc6247697d277676b3cdf6b79c0df5d10ed4c5b
x-checker-data:
type: json
url: https://api.github.com/repos/python-xmp-toolkit/python-xmp-toolkit/tags
version-query: '[.[].name | select(test("^v?[0-9.]+$"))] | sort_by(sub("^v";
"") | split(".") | map(tonumber))[-1]'
url-query: '"https://github.com/python-xmp-toolkit/python-xmp-toolkit/archive/refs/tags/"
+ $version + ".tar.gz"'

- name: pdfrw
buildsystem: simple
Expand Down

0 comments on commit 6652ee8

Please sign in to comment.