wok annotate python-cryptography/receipt @ rev 22831

rage: normalize $VERSION
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 08 12:36:52 2020 +0100 (2020-02-08)
parents 74f2b86be90c
children 5ea0ce1cecc0
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@21812 13 DEPENDS="python python-six python-enum34 python-asn1crypto"
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 }