wok-6.x annotate 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 |
rev | line source |
---|---|
pascal@21810 | 1 # SliTaz package receipt. |
pascal@21810 | 2 |
pascal@21810 | 3 PACKAGE="python-cryptography" |
pascal@21810 | 4 VERSION="2.7" |
pascal@21810 | 5 CATEGORY="development" |
pascal@21810 | 6 SHORT_DESC="Python library exposing cryptographic recipes and primitives" |
pascal@21810 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@21810 | 8 LICENSE="BSD" |
pascal@21810 | 9 WEB_SITE="https://cryptography.io/" |
pascal@21810 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@21810 | 11 WGET_URL="https://github.com/pyca/cryptography/archive/$VERSION.tar.gz" |
pascal@21810 | 12 |
pascal@21810 | 13 DEPENDS="python" |
pascal@21810 | 14 BUILD_DEPENDS="python-setuptools openssl-dev python-dev python-cffi \ |
pascal@21810 | 15 python-cparser" |
pascal@21810 | 16 #BUILD_DEPENDS="python" |
pascal@21810 | 17 |
pascal@21810 | 18 # Rules to configure and make the package. |
pascal@21810 | 19 compile_rules() |
pascal@21810 | 20 { |
pascal@21810 | 21 python setup.py install --prefix=/usr --root=$DESTDIR |
pascal@21810 | 22 } |
pascal@21810 | 23 |
pascal@21810 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21810 | 25 genpkg_rules() |
pascal@21810 | 26 { |
pascal@21810 | 27 cp -a $install/usr $fs/ |
pascal@21810 | 28 } |