wok rev 25481

created recipe for py3k-cffi
author Hans-G?nter Theisgen
date Mon Oct 17 07:42:01 2022 +0100 (18 months ago)
parents c609865e1780
children 5f5b715c8ec9
files py3k-cffi/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/py3k-cffi/receipt	Mon Oct 17 07:42:01 2022 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="py3k-cffi"
     1.7 +VERSION="1.15.1"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="C Foreign Function Interface for Python."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="MIT"
    1.12 +WEB_SITE="https://pypi.org/project/cffi/"
    1.13 +REPOLOGY="python:cffi"
    1.14 +
    1.15 +SOURCE="cffi"
    1.16 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$SOURCE-$VERSION.tar.gz"
    1.18 +
    1.19 +DEPENDS="py3k"
    1.20 +BUILD_DEPENDS="py3k-dev py3k-setuptools_scm"
    1.21 +
    1.22 +# Rules to configure and make the package.
    1.23 +compile_rules()
    1.24 +{
    1.25 +	python3	setup.py	\
    1.26 +		install		\
    1.27 +		--prefix=/usr	\
    1.28 +		--root=$DESTDIR
    1.29 +}
    1.30 +
    1.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 +genpkg_rules()
    1.33 +{
    1.34 +	cook_copy_folders	lib
    1.35 +}