# HG changeset patch # User Hans-G?nter Theisgen # Date 1665988661 -3600 # Node ID c609865e17806b112f97131d4d4f7e2c491bca44 # Parent 4349b733ca4a7dff3da4c159f910c574802b2b35 created recipe for py3k-asn1crypto diff -r 4349b733ca4a -r c609865e1780 py3k-asn1crypto/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/py3k-asn1crypto/receipt Mon Oct 17 07:37:41 2022 +0100 @@ -0,0 +1,26 @@ +# SliTaz package receipt. + +PACKAGE="py3k-asn1crypto" +VERSION="1.5.1" +CATEGORY="development" +SHORT_DESC="Python ASN.1 library with a focus on performance and a pythonic API." +MAINTAINER="maintainer@slitaz.org" +LICENSE="MIT" +WEB_SITE="https://github.com/wbond/asn1crypto" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/wbond/asn1crypto/archive/$VERSION.tar.gz" + +DEPENDS="py3k" +BUILD_DEPENDS="py3k-setuptools_scm" + +# Rules to configure and make the package. +compile_rules() +{ + python3 setup.py install --prefix=/usr --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/usr $fs/ +}