# HG changeset patch # User Hans-G?nter Theisgen # Date 1656670437 -3600 # Node ID d85bd79b15520a9c3fe7836d56452c68cf5cc007 # Parent 9651abc8d50ffb14831a8c85b4f6e8efe03c90f8 updated python-cffi (1.12.3 -> 1.15.1) diff -r 9651abc8d50f -r d85bd79b1552 python-cffi/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-cffi/description.txt Fri Jul 01 11:13:57 2022 +0100 @@ -0,0 +1,4 @@ +C Foreign Function Interface for Python. +Interact with almost any C code from Python, based on C-like +declarations that you can often copy-paste from header files +or documentation. diff -r 9651abc8d50f -r d85bd79b1552 python-cffi/receipt --- a/python-cffi/receipt Fri Jul 01 11:05:59 2022 +0100 +++ b/python-cffi/receipt Fri Jul 01 11:13:57 2022 +0100 @@ -1,17 +1,20 @@ # SliTaz package receipt. PACKAGE="python-cffi" -VERSION="1.12.3" +VERSION="1.15.1" CATEGORY="development" -SHORT_DESC="C Foreign Function Interface for Python" +SHORT_DESC="C Foreign Function Interface for Python." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" -WEB_SITE="https://cffi.readthedocs.io/" +WEB_SITE="https://pypi.org/project/cffi/" +REPOLOGY="python:cffi" + +SOURCE="cffi" TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/93/1a/ab8c62b5838722f29f3daffcc8d4bd61844aa9b5f437341cc890ceee483b/cffi-1.12.3.tar.gz#sha256=041c81822e9f84b1d9c401182e174996f0bae9991f33725d059b771744290774" +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$SOURCE-$VERSION.tar.gz" DEPENDS="python" -BUILD_DEPENDS="python-setuptools python-dev" +BUILD_DEPENDS="python-dev python-setuptools" # What is the latest version available today? current_version() @@ -23,11 +26,14 @@ # Rules to configure and make the package. compile_rules() { - python setup.py install --prefix=/usr --root=$DESTDIR + python setup.py \ + install \ + --prefix=/usr \ + --root=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cp -a $install/usr $fs/ + cook_copy_folders lib }