wok annotate python-pysol-cards/receipt @ rev 24347

Up expat (2.4.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 02 09:41:22 2022 +0000 (2022-02-02)
parents b39f96775170
children 076f424196b2
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@24288 18 current_version()
pascal@24288 19 {
pascal@24288 20 wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||'
pascal@24288 21 }
pascal@24288 22
pascal@24288 23 # Rules to configure and make the package.
Hans-G?nter@23590 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 }