wok-current view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pastescript"
4 VERSION="3.2.1"
5 CATEGORY="development"
6 TAGS="python"
7 SHORT_DESC="A pluggable command-line frontend, including commands to setup package file layouts."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://pypi.org/project/PasteScript/"
11 REPOLOGY="python:pastescript"
13 SOURCE="PasteScript"
14 TARBALL="$SOURCE-$VERSION.tar.gz"
15 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
17 DEPENDS="python python-paste python-pastedeploy"
18 BUILD_DEPENDS="python python-setuptools"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 python setup.py install --root=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/usr $fs
36 }