wok view py3k-cryptography/receipt @ rev 25801

created recipe for xfce4-calculator-plugin
author Hans-G?nter Theisgen
date Sat Nov 02 14:21:07 2024 +0100 (7 weeks ago)
parents 4d54d3979862
children
line source
1 # SliTaz package receipt.
3 PACKAGE="py3k-cryptography"
4 VERSION="3.3.2"
5 CATEGORY="development"
6 SHORT_DESC="Python library exposing cryptographic recipes and primitives."
7 MAINTAINER="maintainer@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="py3k py3k-asn1crypto py3k-six"
15 BUILD_DEPENDS="openssl-dev py3k-cffi py3k-cparser py3k-dev
16 py3k-setuptools_scm"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python3 setup.py \
29 install \
30 --prefix=/usr \
31 --root=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 # cp -a $install/usr $fs/
38 cook_copy_folders lib
39 }