wok-6.x annotate python-pysol-cards/receipt @ rev 24451

updated cyrus-imapd and cyrus-imapd-dev (3.0.13 -> 3.4.3)
author Hans-G?nter Theisgen
date Tue Feb 15 14:10:08 2022 +0100 (2022-02-15)
parents 1df6fa555414
children a6fc8cdc63ce
rev   line source
Hans-G?nter@23590 1 # SliTaz package receipt.
Hans-G?nter@23590 2
Hans-G?nter@23590 3 PACKAGE="python-pysol-cards"
Hans-G?nter@23590 4 VERSION="0.8.9"
Hans-G?nter@23590 5 CATEGORY="games"
Hans-G?nter@23590 6 SHORT_DESC="Deal PySol FreeCell cards."
Hans-G?nter@23590 7 MAINTAINER="maintainer@slitaz.org"
Hans-G?nter@23590 8 LICENSE="MIT"
Hans-G?nter@23590 9 WEB_SITE="https://pypi.org/project/pysol-cards/"
Hans-G?nter@23590 10
Hans-G?nter@23590 11 SOURCE="pysol_cards"
Hans-G?nter@23590 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23590 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
Hans-G?nter@23590 14
Hans-G?nter@23590 15 DEPENDS="python"
Hans-G?nter@23593 16 BUILD_DEPENDS="python python-pbr python-setuptools"
Hans-G?nter@23590 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|<.*||;q"
pascal@24288 22 }
pascal@24288 23
pascal@24288 24 # Rules to configure and make the package.
Hans-G?nter@23590 25 compile_rules()
Hans-G?nter@23590 26 {
Hans-G?nter@23590 27 python setup.py install --root=$DESTDIR
Hans-G?nter@23590 28 }
Hans-G?nter@23590 29
Hans-G?nter@23590 30 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@23590 31 genpkg_rules()
Hans-G?nter@23590 32 {
Hans-G?nter@23590 33 cp -a $install/usr $fs/usr
Hans-G?nter@23590 34 }