wok-current view python-cryptography/receipt @ rev 25196
updated python-httplib2 (0.17.1 -> 0.20.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 11:04:37 2022 +0100 (2022-07-13) |
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 }