wok-6.x view python-cython/receipt @ rev 18077

Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 22 17:34:18 2015 +0300 (2015-05-22)
parents 2a5cc8208d36
children 6135577f4d08
line source
1 # SliTaz package receipt.
3 PACKAGE="python-cython"
4 VERSION="0.17.1"
5 CATEGORY="development"
6 SHORT_DESC="Language to write C extensions for Python."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="Apache"
9 SOURCE="Cython"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://cython.org/"
12 WGET_URL="http://cython.org/release/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="$DEPENDS python-dev"
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
28 cp -a $install/usr $fs
29 }