wok view python-pynacl/receipt @ rev 21877

Add libsodium & python-pynacl
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 28 18:18:15 2019 +0200 (2019-09-28)
parents
children c3a226b49377
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"
15 BUILD_DEPENDS="python-setuptools python-dev libmagic libsodium-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py build &&
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs
28 cp -a $install/usr $fs
29 }