wok rev 25166

updated python-cffi (1.12.3 -> 1.15.1)
author Hans-G?nter Theisgen
date Fri Jul 01 11:13:57 2022 +0100 (22 months ago)
parents 9651abc8d50f
children 97eb61f05460
files python-cffi/description.txt python-cffi/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-cffi/description.txt	Fri Jul 01 11:13:57 2022 +0100
     1.3 @@ -0,0 +1,4 @@
     1.4 +C Foreign Function Interface for Python.
     1.5 +Interact with almost any C code from Python, based on C-like
     1.6 +declarations that you can often copy-paste from header files
     1.7 +or documentation.
     2.1 --- a/python-cffi/receipt	Fri Jul 01 11:05:59 2022 +0100
     2.2 +++ b/python-cffi/receipt	Fri Jul 01 11:13:57 2022 +0100
     2.3 @@ -1,17 +1,20 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="python-cffi"
     2.7 -VERSION="1.12.3"
     2.8 +VERSION="1.15.1"
     2.9  CATEGORY="development"
    2.10 -SHORT_DESC="C Foreign Function Interface for Python"
    2.11 +SHORT_DESC="C Foreign Function Interface for Python."
    2.12  MAINTAINER="pascal.bellard@slitaz.org"
    2.13  LICENSE="MIT"
    2.14 -WEB_SITE="https://cffi.readthedocs.io/"
    2.15 +WEB_SITE="https://pypi.org/project/cffi/"
    2.16 +REPOLOGY="python:cffi"
    2.17 +
    2.18 +SOURCE="cffi"
    2.19  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.20 -WGET_URL="https://files.pythonhosted.org/packages/93/1a/ab8c62b5838722f29f3daffcc8d4bd61844aa9b5f437341cc890ceee483b/cffi-1.12.3.tar.gz#sha256=041c81822e9f84b1d9c401182e174996f0bae9991f33725d059b771744290774"
    2.21 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$SOURCE-$VERSION.tar.gz"
    2.22  
    2.23  DEPENDS="python"
    2.24 -BUILD_DEPENDS="python-setuptools python-dev"
    2.25 +BUILD_DEPENDS="python-dev python-setuptools"
    2.26  
    2.27  # What is the latest version available today?
    2.28  current_version()
    2.29 @@ -23,11 +26,14 @@
    2.30  # Rules to configure and make the package.
    2.31  compile_rules()
    2.32  {
    2.33 -	python setup.py install --prefix=/usr --root=$DESTDIR
    2.34 +	python	setup.py	\
    2.35 +		install		\
    2.36 +		--prefix=/usr	\
    2.37 +		--root=$DESTDIR
    2.38  }
    2.39  
    2.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.41  genpkg_rules()
    2.42  {
    2.43 -	cp -a $install/usr $fs/
    2.44 +	cook_copy_folders	lib
    2.45  }