wok annotate python-cryptography/receipt @ rev 25175
updated python-cryptography (2.7 -> 2.8)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 17:39:11 2022 +0100 (24 months ago) |
parents | ac8ca9758df1 |
children | 22bd84f34d4d |
rev | line source |
---|---|
pascal@21810 | 1 # SliTaz package receipt. |
pascal@21810 | 2 |
pascal@21810 | 3 PACKAGE="python-cryptography" |
Hans-G?nter@25175 | 4 VERSION="2.8" |
pascal@21810 | 5 CATEGORY="development" |
Hans-G?nter@25175 | 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 \ |
Hans-G?nter@25175 | 15 python-cparser" |
pascal@21810 | 16 #BUILD_DEPENDS="python" |
pascal@21810 | 17 |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24299 | 20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
pascal@21810 | 24 # Rules to configure and make the package. |
pascal@21810 | 25 compile_rules() |
pascal@21810 | 26 { |
Hans-G?nter@25175 | 27 python setup.py \ |
Hans-G?nter@25175 | 28 install \ |
Hans-G?nter@25175 | 29 --prefix=/usr \ |
Hans-G?nter@25175 | 30 --root=$DESTDIR |
pascal@21810 | 31 } |
pascal@21810 | 32 |
pascal@21810 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21810 | 34 genpkg_rules() |
pascal@21810 | 35 { |
Hans-G?nter@25175 | 36 cook_copy_folders lib |
pascal@21810 | 37 } |