wok annotate python-cups/receipt @ rev 25137

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