wok annotate py3k-secretstorage/receipt @ rev 25698
Up beep (1.4.12), gsoap (2.8.134), perl-test-warnings (0.033)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 26 08:12:35 2024 +0000 (5 months ago) |
parents | 54d60b77baf4 |
children |
rev | line source |
---|---|
Hans-G?nter@25479 | 1 # SliTaz package receipt. |
Hans-G?nter@25479 | 2 |
Hans-G?nter@25479 | 3 PACKAGE="py3k-secretstorage" |
Hans-G?nter@25479 | 4 VERSION="3.3.3" |
Hans-G?nter@25479 | 5 CATEGORY="development" |
Hans-G?nter@25479 | 6 SHORT_DESC="Python bindings to Freedesktop.org Secret Service API." |
Hans-G?nter@25479 | 7 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@25479 | 8 LICENSE="BSD" |
Hans-G?nter@25479 | 9 WEB_SITE="https://github.com/mitya57/secretstorage" |
Hans-G?nter@25479 | 10 |
Hans-G?nter@25479 | 11 SOURCE="SecretStorage" |
Hans-G?nter@25479 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@25479 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/S/$SOURCE/$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@25479 | 14 |
Hans-G?nter@25479 | 15 DEPENDS="py3k py3k-cryptography" |
Hans-G?nter@25479 | 16 BUILD_DEPENDS="py3k-setuptools_scm" |
Hans-G?nter@25479 | 17 |
pascal@25532 | 18 # What is the latest version available today? |
pascal@25532 | 19 current_version() |
pascal@25532 | 20 { |
pascal@25601 | 21 wget -O - https://github.com/mitya57/secretstorage/tags 2>/dev/null | \ |
pascal@25601 | 22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@25532 | 23 } |
pascal@25532 | 24 |
Hans-G?nter@25479 | 25 # Rules to configure and make the package. |
Hans-G?nter@25479 | 26 compile_rules() |
Hans-G?nter@25479 | 27 { |
Hans-G?nter@25479 | 28 python3 setup.py build && |
Hans-G?nter@25479 | 29 python3 setup.py install --root=$DESTDIR |
Hans-G?nter@25479 | 30 } |
Hans-G?nter@25479 | 31 |
Hans-G?nter@25479 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@25479 | 33 genpkg_rules() |
Hans-G?nter@25479 | 34 { |
Hans-G?nter@25479 | 35 cp -a $install/usr $fs |
Hans-G?nter@25479 | 36 } |