wok view py3k-cython/receipt @ rev 24154

linux64 : update modules64.list
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 06 12:18:58 2021 +0000 (2021-12-06)
parents 7d333aaabc41
children fddcd67dd0e5
line source
1 # SliTaz package receipt.
3 PACKAGE="py3k-cython"
4 VERSION="0.29.13"
5 CATEGORY="development"
6 SHORT_DESC="Language to write C extensions for Python."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="Apache"
9 WEB_SITE="https://pypi.org/project/cython/"
11 SOURCE="cython"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/$SOURCE/$SOURCE/archive/$VERSION.tar.gz"
15 DEPENDS="py3k"
16 BUILD_DEPENDS="$DEPENDS py3k-dev"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;/[0-9]a[0-9]/d;s|.*/\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python3 setup.py build &&
28 python3 setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs
35 cp -a $install/usr $fs
36 }