wok view python-bcrypt/receipt @ rev 21876
Add python-bcrypt
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 28 16:58:29 2019 +0200 (2019-09-28) |
parents | |
children | a9ec8a908c33 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-bcrypt"
4 SOURCE="bcrypt"
5 VERSION="3.1.7"
6 CATEGORY="development"
7 SHORT_DESC="Modern password hashing for your software and your servers"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="Apache"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://github.com/pyca/bcrypt/"
12 WGET_URL="https://github.com/pyca/bcrypt/archive/$VERSION.tar.gz"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-setuptools python-dev libffi-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 }