wok-6.x annotate python-asn1crypto/receipt @ rev 24588

updated gdbm and gdbm-dev (1.18.1 -> 1.23)
author Hans-G?nter Theisgen
date Mon Feb 28 15:06:59 2022 +0100 (2022-02-28)
parents 5ea0ce1cecc0
children
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@24299 18 wget -O - ${WGET_URL%/arch*}/tags 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 }