wok-current view python-cups/receipt @ rev 25160

updated py3k-cython (0.29.13 -> 0.29.30)
author Hans-G?nter Theisgen
date Fri Jul 01 09:49:47 2022 +0100 (2022-07-01)
parents 75860e279936
children
line source
1 # SliTaz package receipt.
3 PACKAGE="python-cups"
4 VERSION="1.9.74"
5 CATEGORY="development"
6 SHORT_DESC="Python bindings for libcups."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://pypi.python.org/pypi/pycups"
11 SOURCE="pycups"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \
19 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q"
20 }
22 DEPENDS="libcups python"
23 BUILD_DEPENDS="cups-dev python-dev"
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 }