wok diff python-cffi/receipt @ rev 25495

Up expat (2.5.0), CVE-2022-43680
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 02 10:14:28 2022 +0000 (19 months ago)
parents 2f230197370e
children b81ceff0b056
line diff
     1.1 --- a/python-cffi/receipt	Wed Feb 16 11:53:30 2022 +0000
     1.2 +++ b/python-cffi/receipt	Fri Dec 02 10:14:28 2022 +0000
     1.3 @@ -1,17 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="python-cffi"
     1.7 -VERSION="1.12.3"
     1.8 +VERSION="1.15.1"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="C Foreign Function Interface for Python"
    1.11 +SHORT_DESC="C Foreign Function Interface for Python."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="MIT"
    1.14 -WEB_SITE="https://cffi.readthedocs.io/"
    1.15 +WEB_SITE="https://pypi.org/project/cffi/"
    1.16 +REPOLOGY="python:cffi"
    1.17 +
    1.18 +SOURCE="cffi"
    1.19  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.20 -WGET_URL="https://files.pythonhosted.org/packages/93/1a/ab8c62b5838722f29f3daffcc8d4bd61844aa9b5f437341cc890ceee483b/cffi-1.12.3.tar.gz#sha256=041c81822e9f84b1d9c401182e174996f0bae9991f33725d059b771744290774"
    1.21 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$SOURCE-$VERSION.tar.gz"
    1.22  
    1.23  DEPENDS="python"
    1.24 -BUILD_DEPENDS="python-setuptools python-dev"
    1.25 +BUILD_DEPENDS="python-dev python-setuptools"
    1.26  
    1.27  # What is the latest version available today?
    1.28  current_version()
    1.29 @@ -23,11 +26,14 @@
    1.30  # Rules to configure and make the package.
    1.31  compile_rules()
    1.32  {
    1.33 -	python setup.py install --prefix=/usr --root=$DESTDIR
    1.34 +	python	setup.py	\
    1.35 +		install		\
    1.36 +		--prefix=/usr	\
    1.37 +		--root=$DESTDIR
    1.38  }
    1.39  
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.41  genpkg_rules()
    1.42  {
    1.43 -	cp -a $install/usr $fs/
    1.44 +	cook_copy_folders	lib
    1.45  }