wok view py3k-asn1crypto/receipt @ rev 25808

created recipe for xmenu
author Hans-G?nter Theisgen
date Thu Dec 19 16:09:37 2024 +0100 (25 hours 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 }