wok-current annotate python-mygpoclient/receipt @ rev 25381

updated unifont (13.0.01 -> 14.0.04)
author Hans-G?nter Theisgen
date Sat Jul 30 16:49:06 2022 +0100 (2022-07-30)
parents 1df6fa555414
children
rev   line source
claudinei@5745 1 # SliTaz package receipt.
claudinei@5745 2
claudinei@5745 3 PACKAGE="python-mygpoclient"
Hans-G?nter@23510 4 VERSION="1.8"
claudinei@5745 5 CATEGORY="development"
claudinei@5745 6 SHORT_DESC="Python interface to the gpodder.net web services."
claudinei@5745 7 MAINTAINER="claudinei@slitaz.org"
pascal@15379 8 LICENSE="GPL3"
Hans-G?nter@23510 9 WEB_SITE="https://pypi.org/project/mygpoclient/"
Hans-G?nter@23510 10
Hans-G?nter@23510 11 SOURCE="mygpoclient"
claudinei@5745 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23510 13 WGET_URL="https://files.pythonhosted.org/packages/source/m/$SOURCE/$TARBALL"
claudinei@5745 14
pascal@15379 15 DEPENDS="python python-simplejson"
Hans-G?nter@23510 16 BUILD_DEPENDS="python python-dev"
pascal@15379 17
pascal@24383 18 # What is the latest version available today?
pascal@24288 19 current_version()
pascal@24288 20 {
pascal@24383 21 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
pascal@24288 22 }
pascal@24288 23
claudinei@5745 24 # Rules to configure and make the package.
claudinei@5745 25 compile_rules()
claudinei@5745 26 {
pascal@15379 27 python setup.py install --root=$DESTDIR
claudinei@5745 28 }
claudinei@5745 29
claudinei@5745 30 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@5745 31 genpkg_rules()
claudinei@5745 32 {
claudinei@5745 33 mkdir -p $fs/usr
Hans-G?nter@23510 34
Hans-G?nter@23510 35 cp -a $install/usr/lib $fs/usr
Hans-G?nter@23510 36 cp -a $install/usr/bin $fs/usr
claudinei@5745 37 }