wok view py3k-cffi/receipt @ rev 25672

Up minidlna (1.3.3), phpmyadmin (5.2.1), pidgin (2.14.13), redis (7.2.4), rsync (3.2.7), rust (1.76.0), screen (4.9.1), squashfs (4.6.1), squid (6.7), stunnel (5.72), tcpdump (4.99.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 26 14:07:44 2024 +0000 (10 months ago)
parents 5506a9ecc226
children
line source
1 # SliTaz package receipt.
3 PACKAGE="py3k-cffi"
4 VERSION="1.15.1"
5 CATEGORY="development"
6 SHORT_DESC="C Foreign Function Interface for Python."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://pypi.org/project/cffi/"
10 REPOLOGY="python:cffi"
12 SOURCE="cffi"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$SOURCE-$VERSION.tar.gz"
16 DEPENDS="py3k"
17 BUILD_DEPENDS="py3k-dev py3k-setuptools_scm"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | \
23 sed '/release_/!d;/project/!d;s|.*cffi/||;s|/.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 python3 setup.py \
30 install \
31 --prefix=/usr \
32 --root=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders lib
39 }