wok-next view python-py/receipt @ rev 20969
Micro-updates + { new clang + assaultcube (still broken)} + {new python modules from SliTaz Cooking + their depends}
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Sep 14 01:56:52 2018 +0300 (2018-09-14) |
parents | 9b3461bf373c |
children | c9a7a7b42a86 |
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="https://pypi.org/project/py/"
10 REPOLOGY="python:py"
12 SOURCE="py"
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"
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 }