wok annotate python-cryptography/receipt @ rev 24656

updated iaxmodem (1.3.0 -> 1.3.3)
author Hans-G?nter Theisgen
date Fri Mar 11 07:18:43 2022 +0100 (2022-03-11)
parents 5ea0ce1cecc0
children 45288ce2ee21
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@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 {
pascal@21810 27 python setup.py install --prefix=/usr --root=$DESTDIR
pascal@21810 28 }
pascal@21810 29
pascal@21810 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@21810 31 genpkg_rules()
pascal@21810 32 {
pascal@21810 33 cp -a $install/usr $fs/
pascal@21810 34 }