wok-current annotate python-pynacl/receipt @ rev 24958
updated nbd (3.20 -> 3.24)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 16:50:32 2022 +0100 (2022-04-23) |
parents | 5ea0ce1cecc0 |
children | 47003b5bbbaf |
rev | line source |
---|---|
pascal@21877 | 1 # SliTaz package receipt. |
pascal@21877 | 2 |
pascal@21877 | 3 PACKAGE="python-pynacl" |
pascal@21877 | 4 SOURCE="pynacl" |
pascal@21877 | 5 VERSION="1.3.0" |
pascal@21877 | 6 CATEGORY="development" |
pascal@21877 | 7 SHORT_DESC="Python binding to the Networking and Cryptography (NaCl) library" |
pascal@21877 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@21877 | 9 LICENSE="Apache" |
pascal@21877 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@21877 | 11 WEB_SITE="https://github.com/pyca/pynacl/" |
pascal@21877 | 12 WGET_URL="https://github.com/pyca/pynacl/archive/$VERSION.tar.gz" |
pascal@21877 | 13 |
pascal@21878 | 14 DEPENDS="python libsodium" |
pascal@21877 | 15 BUILD_DEPENDS="python-setuptools python-dev libmagic libsodium-dev" |
pascal@21877 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24299 | 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@21877 | 23 # Rules to configure and make the package. |
pascal@21877 | 24 compile_rules() |
pascal@21877 | 25 { |
pascal@21877 | 26 python setup.py build && |
pascal@21877 | 27 python setup.py install --root=$DESTDIR |
pascal@21877 | 28 } |
pascal@21877 | 29 |
pascal@21877 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21877 | 31 genpkg_rules() |
pascal@21877 | 32 { |
pascal@21877 | 33 mkdir -p $fs |
pascal@21877 | 34 cp -a $install/usr $fs |
pascal@21877 | 35 } |