wok-6.x view python-cryptography/receipt @ rev 25560
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 25 18:09:10 2023 +0000 (18 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 }