wok annotate python-pynacl/receipt @ rev 22036
updated tiptop (2.2 -> 2.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Oct 21 15:30:09 2019 +0100 (2019-10-21) |
parents | a9ec8a908c33 |
children | 5ea0ce1cecc0 |
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@21877 | 17 # Rules to configure and make the package. |
pascal@21877 | 18 compile_rules() |
pascal@21877 | 19 { |
pascal@21877 | 20 python setup.py build && |
pascal@21877 | 21 python setup.py install --root=$DESTDIR |
pascal@21877 | 22 } |
pascal@21877 | 23 |
pascal@21877 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21877 | 25 genpkg_rules() |
pascal@21877 | 26 { |
pascal@21877 | 27 mkdir -p $fs |
pascal@21877 | 28 cp -a $install/usr $fs |
pascal@21877 | 29 } |