wok diff python-cryptography/receipt @ rev 21810
Add python-cffi, python-cparser & python-cryptography
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 17 18:44:53 2019 +0200 (2019-08-17) |
parents | |
children | 74f2b86be90c |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-cryptography/receipt Sat Aug 17 18:44:53 2019 +0200 1.3 @@ -0,0 +1,28 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python-cryptography" 1.7 +VERSION="2.7" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Python library exposing cryptographic recipes and primitives" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="BSD" 1.12 +WEB_SITE="https://cryptography.io/" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WGET_URL="https://github.com/pyca/cryptography/archive/$VERSION.tar.gz" 1.15 + 1.16 +DEPENDS="python" 1.17 +BUILD_DEPENDS="python-setuptools openssl-dev python-dev python-cffi \ 1.18 +python-cparser" 1.19 +#BUILD_DEPENDS="python" 1.20 + 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + python setup.py install --prefix=/usr --root=$DESTDIR 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + cp -a $install/usr $fs/ 1.31 +}