wok view py3k-cython/receipt @ rev 25680

updated gnu-efi (3.0.14 -> 3.0.17)
author Hans-G?nter Theisgen
date Mon Mar 18 18:46:02 2024 +0100 (4 months ago)
parents fddcd67dd0e5
children
line source
1 # SliTaz package receipt.
3 PACKAGE="py3k-cython"
4 VERSION="0.29.30"
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/"
10 REPOLOGY="python:cython"
12 SOURCE="cython"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://github.com/$SOURCE/$SOURCE/archive/$VERSION.tar.gz"
16 DEPENDS="py3k"
17 BUILD_DEPENDS="py3k py3k-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 python3 setup.py build &&
30 python3 setup.py install --root=$DESTDIR
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs
37 cp -a $install/usr $fs
38 }