wok-next view python-py/receipt @ rev 20112
Up py3k (3.6.3); py3k, py3k3: receipts v.2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Oct 30 02:46:09 2017 +0200 (2017-10-30) |
parents | fd4f1e692109 |
children | 6c73b944e8dd |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-py"
4 VERSION="1.4.13"
5 CATEGORY="development"
6 SHORT_DESC="Library with cross-python path, ini-parsing, io, code, log facilities."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 SOURCE="py"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://pypi.python.org/pypi/py"
12 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-dev setuptools"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py build
21 python setup.py test
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 }