wok view python-pytest/receipt @ rev 22261
libdvdread-dev: install dvdread.pc in pkgconfig directory
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue Nov 12 23:58:25 2019 -0500 (2019-11-12) |
parents | 7390f8de9846 |
children | d9d22174d581 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pytest"
4 VERSION="2.3.4"
5 CATEGORY="development"
6 SHORT_DESC="A simple powerful testing with Python"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 SOURCE="pytest"
10 TARBALL="$SOURCE-$VERSION.zip"
11 WEB_SITE="http://pypi.python.org/pypi/pytest"
12 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-dev python-setuptools"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py build
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 }