wok-current view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-asn1crypto"
4 VERSION="0.24.0"
5 CATEGORY="development"
6 SHORT_DESC="Python ASN.1 library with a focus on performance and a pythonic API"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/wbond/asn1crypto"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/wbond/asn1crypto/archive/$VERSION.tar.gz"
13 DEPENDS="python"
14 BUILD_DEPENDS="python-setuptools"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 python setup.py install --prefix=/usr --root=$DESTDIR
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/usr $fs/
32 }