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