# HG changeset patch # User Hans-G?nter Theisgen # Date 1586191873 -3600 # Node ID d9d22174d581fe36fd394e44e47c75d90ede3701 # Parent 2e785262366d8f6e7d3f0d90be1205da06d15855 updated python-pytest (2.3.4 -> 4.6.9) diff -r 2e785262366d -r d9d22174d581 python-pytest/receipt --- a/python-pytest/receipt Mon Apr 06 17:36:45 2020 +0100 +++ b/python-pytest/receipt Mon Apr 06 17:51:13 2020 +0100 @@ -1,15 +1,16 @@ # SliTaz package receipt. PACKAGE="python-pytest" -VERSION="2.3.4" +VERSION="4.6.9" # last version for Python 2 CATEGORY="development" -SHORT_DESC="A simple powerful testing with Python" +SHORT_DESC="A simple powerful testing with Python." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" +WEB_SITE="https://pypi.python.org/pypi/pytest" + SOURCE="pytest" TARBALL="$SOURCE-$VERSION.zip" -WEB_SITE="http://pypi.python.org/pypi/pytest" -WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" DEPENDS="python" BUILD_DEPENDS="python-dev python-setuptools" @@ -17,7 +18,9 @@ # Rules to configure and make the package. compile_rules() { - python setup.py build + sed -i 's|setuptools-scm|setuptools|' setup.py + + python setup.py build && python setup.py install --root=$DESTDIR } @@ -25,5 +28,5 @@ genpkg_rules() { mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr + cp -a $install/usr/lib $fs/usr }