wok-next view python-py/receipt @ rev 20885

Update python (2.7.15)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jul 13 13:52:56 2018 +0300 (2018-07-13)
parents 6c73b944e8dd
children 8b5b2a6d07b8
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 WEB_SITE="http://pypi.python.org/pypi/py"
10 REPOLOGY="python:py"
12 SOURCE="py"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
16 DEPENDS="python"
17 BUILD_DEPENDS="python-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 python setup.py build
23 python setup.py test
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 }