wok view py3k-asn1crypto/receipt @ rev 25691

Up lynis (3.1.1), ncurses-examples (20211021)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 16 10:43:04 2024 +0000 (4 weeks ago)
parents c609865e1780
children
line source
1 # SliTaz package receipt.
3 PACKAGE="py3k-asn1crypto"
4 VERSION="1.5.1"
5 CATEGORY="development"
6 SHORT_DESC="Python ASN.1 library with a focus on performance and a pythonic API."
7 MAINTAINER="maintainer@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="py3k"
14 BUILD_DEPENDS="py3k-setuptools_scm"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 python3 setup.py install --prefix=/usr --root=$DESTDIR
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/usr $fs/
33 }