wok view python-cryptography/receipt @ rev 24159
Up ventoy (1.0.62)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 20 10:05:11 2021 +0000 (2021-12-20) |
parents | bcd951d4a0a1 |
children | ac8ca9758df1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-cryptography"
4 VERSION="2.7"
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/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/pyca/cryptography/archive/$VERSION.tar.gz"
13 DEPENDS="python python-six python-enum34 python-asn1crypto"
14 BUILD_DEPENDS="python-setuptools openssl-dev python-dev python-cffi \
15 python-cparser"
16 #BUILD_DEPENDS="python"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 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 install --prefix=/usr --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs/
34 }