wok-current annotate python-pytest/receipt @ rev 24215
updated perl-glib (1.3292 -> 1.3293)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 16:25:16 2021 +0100 (2021-12-31) |
parents | d9d22174d581 |
children | 104a2a2e5484 |
rev | line source |
---|---|
pascal@14376 | 1 # SliTaz package receipt. |
pascal@14376 | 2 |
pascal@14376 | 3 PACKAGE="python-pytest" |
Hans-G?nter@23547 | 4 VERSION="4.6.9" # last version for Python 2 |
pascal@14376 | 5 CATEGORY="development" |
Hans-G?nter@23547 | 6 SHORT_DESC="A simple powerful testing with Python." |
pascal@14376 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 8 LICENSE="MIT" |
Hans-G?nter@23547 | 9 WEB_SITE="https://pypi.python.org/pypi/pytest" |
Hans-G?nter@23547 | 10 |
pascal@14376 | 11 SOURCE="pytest" |
Hans-G?nter@23549 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23547 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@14376 | 14 |
pascal@14376 | 15 DEPENDS="python" |
pascal@21582 | 16 BUILD_DEPENDS="python-dev python-setuptools" |
pascal@14376 | 17 |
pascal@14376 | 18 # Rules to configure and make the package. |
pascal@14376 | 19 compile_rules() |
pascal@14376 | 20 { |
Hans-G?nter@23547 | 21 sed -i 's|setuptools-scm|setuptools|' setup.py |
Hans-G?nter@23547 | 22 |
Hans-G?nter@23547 | 23 python setup.py build && |
pascal@14376 | 24 python setup.py install --root=$DESTDIR |
pascal@14376 | 25 } |
pascal@14376 | 26 |
pascal@14376 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14376 | 28 genpkg_rules() |
pascal@14376 | 29 { |
pascal@14376 | 30 mkdir -p $fs/usr |
Hans-G?nter@23547 | 31 cp -a $install/usr/lib $fs/usr |
pascal@14376 | 32 } |