wok annotate python-pysol-cards/receipt @ rev 25519
created recipes for libuv and libuv-dev 1.44.1
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 15:35:59 2023 +0100 (19 months ago) |
parents | 076f424196b2 |
children |
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@25228 | 4 VERSION="0.12.0" |
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@25228 | 8 LICENSE="BSD" |
Hans-G?nter@23590 | 9 WEB_SITE="https://pypi.org/project/pysol-cards/" |
Hans-G?nter@25228 | 10 REPOLOGY="python:pysol-cards" |
Hans-G?nter@23590 | 11 |
Hans-G?nter@23590 | 12 SOURCE="pysol_cards" |
Hans-G?nter@23590 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23590 | 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
Hans-G?nter@23590 | 15 |
Hans-G?nter@23590 | 16 DEPENDS="python" |
Hans-G?nter@23593 | 17 BUILD_DEPENDS="python python-pbr python-setuptools" |
Hans-G?nter@23590 | 18 |
pascal@24383 | 19 # What is the latest version available today? |
pascal@24288 | 20 current_version() |
pascal@24288 | 21 { |
pascal@24383 | 22 wget -O - $WEB_SITE 2>/dev/null | sed "/${SOURCE/_/-} [0-9]/!d;s|.*${SOURCE/_/-} ||;s|<.*||;q" |
pascal@24288 | 23 } |
pascal@24288 | 24 |
pascal@24288 | 25 # Rules to configure and make the package. |
Hans-G?nter@23590 | 26 compile_rules() |
Hans-G?nter@23590 | 27 { |
Hans-G?nter@23590 | 28 python setup.py install --root=$DESTDIR |
Hans-G?nter@23590 | 29 } |
Hans-G?nter@23590 | 30 |
Hans-G?nter@23590 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@23590 | 32 genpkg_rules() |
Hans-G?nter@23590 | 33 { |
Hans-G?nter@25228 | 34 cp -a $install/usr $fs |
Hans-G?nter@23590 | 35 } |