wok view py3k-cython/receipt @ rev 25678
Patch ghostscript CVE-2023-36664
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 08 14:12:03 2024 +0100 (5 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 }