wok-current annotate python-asn1crypto/receipt @ rev 24272
updated perltidy (20200110 -> 20211029)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 10:48:51 2022 +0100 (2022-01-02) |
parents | bcd951d4a0a1 |
children | ac8ca9758df1 |
rev | line source |
---|---|
pascal@21812 | 1 # SliTaz package receipt. |
pascal@21812 | 2 |
pascal@21812 | 3 PACKAGE="python-asn1crypto" |
pascal@21812 | 4 VERSION="0.24.0" |
pascal@21812 | 5 CATEGORY="development" |
pascal@21812 | 6 SHORT_DESC="Python ASN.1 library with a focus on performance and a pythonic API" |
pascal@21812 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@21812 | 8 LICENSE="MIT" |
pascal@21812 | 9 WEB_SITE="https://github.com/wbond/asn1crypto" |
pascal@21812 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@21812 | 11 WGET_URL="https://github.com/wbond/asn1crypto/archive/$VERSION.tar.gz" |
pascal@21812 | 12 |
pascal@21812 | 13 DEPENDS="python" |
pascal@21812 | 14 BUILD_DEPENDS="python-setuptools" |
pascal@21812 | 15 |
pascal@24055 | 16 current_version() |
pascal@24055 | 17 { |
pascal@24055 | 18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 20 } |
pascal@24055 | 21 |
pascal@21812 | 22 # Rules to configure and make the package. |
pascal@21812 | 23 compile_rules() |
pascal@21812 | 24 { |
pascal@21812 | 25 python setup.py install --prefix=/usr --root=$DESTDIR |
pascal@21812 | 26 } |
pascal@21812 | 27 |
pascal@21812 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21812 | 29 genpkg_rules() |
pascal@21812 | 30 { |
pascal@21812 | 31 cp -a $install/usr $fs/ |
pascal@21812 | 32 } |