wok-6.x view python-pytest/receipt @ rev 25290
updated rtaudio and rtaudio-dev (5.1.0 -> 5.2.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jul 19 09:50:44 2022 +0100 (2022-07-19) |
parents | 104a2a2e5484 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pytest"
4 VERSION="4.6.11" # 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.org/project/pytest/"
10 REPOLOGY="python:pytest"
12 SOURCE="pytest"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
16 DEPENDS="python"
17 BUILD_DEPENDS="python-dev python-setuptools"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \
23 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q"
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 sed -i 's|setuptools-scm|setuptools|' setup.py
31 python setup.py build &&
32 python setup.py install --root=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders lib
39 }