wok view python-cryptography/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (15 months ago)
parents 45288ce2ee21
children
line source
1 # SliTaz package receipt.
3 PACKAGE="python-cryptography"
4 VERSION="3.3.2"
5 CATEGORY="development"
6 SHORT_DESC="Python library exposing cryptographic recipes and primitives."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://cryptography.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/pyca/cryptography/archive/$VERSION.tar.gz"
14 DEPENDS="python python-asn1crypto python-enum34 python-six"
15 BUILD_DEPENDS="openssl-dev python-cffi python-cparser python-dev
16 python-setuptools"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py \
28 install \
29 --prefix=/usr \
30 --root=$DESTDIR
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cook_copy_folders lib
37 }