wok-6.x annotate py3k-cython/receipt @ rev 22619
updated cssc (1.3.0 -> 1.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 12 11:14:55 2020 +0100 (2020-01-12) |
parents | |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@21879 | 1 # SliTaz package receipt. |
pascal@21879 | 2 |
pascal@21879 | 3 PACKAGE="py3k-cython" |
pascal@21879 | 4 VERSION="0.29.13" |
pascal@21879 | 5 CATEGORY="development" |
pascal@21879 | 6 SHORT_DESC="Language to write C extensions for Python." |
pascal@21879 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@21879 | 8 LICENSE="Apache" |
pascal@21879 | 9 WEB_SITE="https://pypi.org/project/cython/" |
pascal@21879 | 10 |
pascal@21879 | 11 SOURCE="cython" |
pascal@21879 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@21879 | 13 WGET_URL="https://github.com/$SOURCE/$SOURCE/archive/$VERSION.tar.gz" |
pascal@21879 | 14 |
pascal@21879 | 15 DEPENDS="py3k" |
pascal@21879 | 16 BUILD_DEPENDS="$DEPENDS py3k-dev" |
pascal@21879 | 17 |
pascal@21879 | 18 # Rules to configure and make the package. |
pascal@21879 | 19 compile_rules() |
pascal@21879 | 20 { |
pascal@21879 | 21 python3 setup.py build && |
pascal@21879 | 22 python3 setup.py install --root=$DESTDIR |
pascal@21879 | 23 } |
pascal@21879 | 24 |
pascal@21879 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21879 | 26 genpkg_rules() |
pascal@21879 | 27 { |
pascal@21879 | 28 mkdir -p $fs |
pascal@21879 | 29 cp -a $install/usr $fs |
pascal@21879 | 30 } |