wok-6.x rev 23547

updated python-pytest (2.3.4 -> 4.6.9)
author Hans-G?nter Theisgen
date Mon Apr 06 17:51:13 2020 +0100 (2020-04-06)
parents 2e785262366d
children b8ba747002bc
files python-pytest/receipt
line diff
     1.1 --- a/python-pytest/receipt	Mon Apr 06 17:36:45 2020 +0100
     1.2 +++ b/python-pytest/receipt	Mon Apr 06 17:51:13 2020 +0100
     1.3 @@ -1,15 +1,16 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="python-pytest"
     1.7 -VERSION="2.3.4"
     1.8 +VERSION="4.6.9"		# last version for Python 2
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="A simple powerful testing with Python"
    1.11 +SHORT_DESC="A simple powerful testing with Python."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="MIT"
    1.14 +WEB_SITE="https://pypi.python.org/pypi/pytest"
    1.15 +
    1.16  SOURCE="pytest"
    1.17  TARBALL="$SOURCE-$VERSION.zip"
    1.18 -WEB_SITE="http://pypi.python.org/pypi/pytest"
    1.19 -WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
    1.20 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
    1.21  
    1.22  DEPENDS="python"
    1.23  BUILD_DEPENDS="python-dev python-setuptools"
    1.24 @@ -17,7 +18,9 @@
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	python setup.py build
    1.29 +	sed -i 's|setuptools-scm|setuptools|'	setup.py
    1.30 +
    1.31 +	python setup.py build &&
    1.32  	python setup.py install --root=$DESTDIR
    1.33  }
    1.34  
    1.35 @@ -25,5 +28,5 @@
    1.36  genpkg_rules()
    1.37  {
    1.38  	mkdir -p $fs/usr
    1.39 -	cp -a $install/usr/lib $fs/usr
    1.40 +	cp -a $install/usr/lib	$fs/usr
    1.41  }