wok-current annotate python-bcrypt/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 | 4e8082a993f8 |
children | ad7944242242 |
rev | line source |
---|---|
pascal@21876 | 1 # SliTaz package receipt. |
pascal@21876 | 2 |
pascal@21876 | 3 PACKAGE="python-bcrypt" |
pascal@21876 | 4 SOURCE="bcrypt" |
pascal@21876 | 5 VERSION="3.1.7" |
pascal@21876 | 6 CATEGORY="development" |
pascal@21876 | 7 SHORT_DESC="Modern password hashing for your software and your servers" |
pascal@21876 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@21876 | 9 LICENSE="Apache" |
pascal@21876 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@21876 | 11 WEB_SITE="https://github.com/pyca/bcrypt/" |
pascal@21876 | 12 WGET_URL="https://github.com/pyca/bcrypt/archive/$VERSION.tar.gz" |
pascal@21876 | 13 |
pascal@21877 | 14 DEPENDS="python-cffi" |
pascal@21876 | 15 BUILD_DEPENDS="python-setuptools python-dev libffi-dev" |
pascal@21876 | 16 |
pascal@21876 | 17 # Rules to configure and make the package. |
pascal@21876 | 18 compile_rules() |
pascal@21876 | 19 { |
pascal@21876 | 20 python setup.py build && |
pascal@21876 | 21 python setup.py install --root=$DESTDIR |
pascal@21876 | 22 } |
pascal@21876 | 23 |
pascal@21876 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21876 | 25 genpkg_rules() |
pascal@21876 | 26 { |
pascal@21876 | 27 mkdir -p $fs |
pascal@21876 | 28 cp -a $install/usr $fs |
pascal@21876 | 29 } |