wok-current view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pynacl"
4 SOURCE="pynacl"
5 VERSION="1.3.0"
6 CATEGORY="development"
7 SHORT_DESC="Python binding to the Networking and Cryptography (NaCl) library"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="Apache"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://github.com/pyca/pynacl/"
12 WGET_URL="https://github.com/pyca/pynacl/archive/$VERSION.tar.gz"
14 DEPENDS="python libsodium"
15 BUILD_DEPENDS="python-setuptools python-dev libmagic libsodium-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 python setup.py build &&
27 python setup.py install --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs
34 cp -a $install/usr $fs
35 }