wok-current annotate python-pastescript/receipt @ rev 25379

updated uget (2.2.1 -> 2.2.3)
author Hans-G?nter Theisgen
date Sat Jul 30 15:37:46 2022 +0100 (2022-07-30)
parents 076f424196b2
children
rev   line source
pankso@3379 1 # SliTaz package receipt.
pankso@3379 2
pankso@3379 3 PACKAGE="python-pastescript"
Hans-G?nter@25215 4 VERSION="3.2.1"
pankso@3379 5 CATEGORY="development"
Hans-G?nter@23525 6 TAGS="python"
pankso@3379 7 SHORT_DESC="A pluggable command-line frontend, including commands to setup package file layouts."
pankso@3379 8 MAINTAINER="pankso@slitaz.org"
pascal@15378 9 LICENSE="MIT"
Hans-G?nter@23525 10 WEB_SITE="https://pypi.org/project/PasteScript/"
Hans-G?nter@25215 11 REPOLOGY="python:pastescript"
Hans-G?nter@23525 12
pankso@3379 13 SOURCE="PasteScript"
pankso@3379 14 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23525 15 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
pascal@15378 16
pankso@3379 17 DEPENDS="python python-paste python-pastedeploy"
Hans-G?nter@23525 18 BUILD_DEPENDS="python python-setuptools"
pankso@3379 19
pascal@24383 20 # What is the latest version available today?
pascal@24288 21 current_version()
pascal@24288 22 {
pascal@24383 23 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
pascal@24288 24 }
pascal@24288 25
pankso@3379 26 # Rules to configure and make the package.
pankso@3379 27 compile_rules()
pankso@3379 28 {
gokhlayeh@8691 29 python setup.py install --root=$DESTDIR
pankso@3379 30 }
pankso@3379 31
pankso@3379 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3379 33 genpkg_rules()
pankso@3379 34 {
Hans-G?nter@23525 35 cp -a $install/usr $fs
pankso@3379 36 }