wok view python-pastescript/receipt @ rev 25430
Up os-prober (1.81)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 19 06:26:39 2022 +0000 (2022-08-19) |
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 }