wok annotate python-cryptography/receipt @ rev 25420

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 08 07:39:58 2022 +0000 (22 months ago)
parents 45288ce2ee21
children
rev   line source
pascal@21810 1 # SliTaz package receipt.
pascal@21810 2
pascal@21810 3 PACKAGE="python-cryptography"
Hans-G?nter@25191 4 VERSION="3.3.2"
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/"
Hans-G?nter@25191 10
pascal@21810 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@21810 12 WGET_URL="https://github.com/pyca/cryptography/archive/$VERSION.tar.gz"
pascal@21810 13
Hans-G?nter@25191 14 DEPENDS="python python-asn1crypto python-enum34 python-six"
Hans-G?nter@25191 15 BUILD_DEPENDS="openssl-dev python-cffi python-cparser python-dev
Hans-G?nter@25191 16 python-setuptools"
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 }