wok-6.x annotate py3k-asn1crypto/receipt @ rev 25557
Up bzip3 (1.3.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 23 16:03:47 2023 +0000 (18 months ago) |
parents | c609865e1780 |
children |
rev | line source |
---|---|
Hans-G?nter@25480 | 1 # SliTaz package receipt. |
Hans-G?nter@25480 | 2 |
Hans-G?nter@25480 | 3 PACKAGE="py3k-asn1crypto" |
Hans-G?nter@25480 | 4 VERSION="1.5.1" |
Hans-G?nter@25480 | 5 CATEGORY="development" |
Hans-G?nter@25480 | 6 SHORT_DESC="Python ASN.1 library with a focus on performance and a pythonic API." |
Hans-G?nter@25480 | 7 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@25480 | 8 LICENSE="MIT" |
Hans-G?nter@25480 | 9 WEB_SITE="https://github.com/wbond/asn1crypto" |
Hans-G?nter@25480 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@25480 | 11 WGET_URL="https://github.com/wbond/asn1crypto/archive/$VERSION.tar.gz" |
Hans-G?nter@25480 | 12 |
Hans-G?nter@25480 | 13 DEPENDS="py3k" |
Hans-G?nter@25480 | 14 BUILD_DEPENDS="py3k-setuptools_scm" |
Hans-G?nter@25480 | 15 |
pascal@25532 | 16 # What is the latest version available today? |
pascal@25532 | 17 current_version() |
pascal@25532 | 18 { |
pascal@25532 | 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@25532 | 20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@25532 | 21 } |
pascal@25532 | 22 |
Hans-G?nter@25480 | 23 # Rules to configure and make the package. |
Hans-G?nter@25480 | 24 compile_rules() |
Hans-G?nter@25480 | 25 { |
Hans-G?nter@25480 | 26 python3 setup.py install --prefix=/usr --root=$DESTDIR |
Hans-G?nter@25480 | 27 } |
Hans-G?nter@25480 | 28 |
Hans-G?nter@25480 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@25480 | 30 genpkg_rules() |
Hans-G?nter@25480 | 31 { |
Hans-G?nter@25480 | 32 cp -a $install/usr $fs/ |
Hans-G?nter@25480 | 33 } |