wok annotate python-pytest/receipt @ rev 22491
updated apr and apr-dev (1.4.6 -> 1.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 31 14:21:42 2019 +0100 (2019-12-31) |
parents | 7390f8de9846 |
children | d9d22174d581 |
rev | line source |
---|---|
pascal@14376 | 1 # SliTaz package receipt. |
pascal@14376 | 2 |
pascal@14376 | 3 PACKAGE="python-pytest" |
pascal@14376 | 4 VERSION="2.3.4" |
pascal@14376 | 5 CATEGORY="development" |
pascal@14376 | 6 SHORT_DESC="A simple powerful testing with Python" |
pascal@14376 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 8 LICENSE="MIT" |
pascal@14376 | 9 SOURCE="pytest" |
pascal@14376 | 10 TARBALL="$SOURCE-$VERSION.zip" |
pascal@14376 | 11 WEB_SITE="http://pypi.python.org/pypi/pytest" |
pascal@14376 | 12 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@14376 | 13 |
pascal@14376 | 14 DEPENDS="python" |
pascal@21582 | 15 BUILD_DEPENDS="python-dev python-setuptools" |
pascal@14376 | 16 |
pascal@14376 | 17 # Rules to configure and make the package. |
pascal@14376 | 18 compile_rules() |
pascal@14376 | 19 { |
pascal@14376 | 20 python setup.py build |
pascal@14376 | 21 python setup.py install --root=$DESTDIR |
pascal@14376 | 22 } |
pascal@14376 | 23 |
pascal@14376 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14376 | 25 genpkg_rules() |
pascal@14376 | 26 { |
pascal@14376 | 27 mkdir -p $fs/usr |
pascal@14376 | 28 cp -a $install/usr/lib $fs/usr |
pascal@14376 | 29 } |