wok-6.x view python-pytest/receipt @ rev 24343
updated azpainter (2.1.5 -> 3.0.4)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jan 31 14:36:35 2022 +0100 (2022-01-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 }