wok-current view python-setproctitle/receipt @ rev 25376

updated tzdata (2019c -> 2022a)
author Hans-G?nter Theisgen
date Sat Jul 30 10:43:02 2022 +0100 (2022-07-30)
parents 1df6fa555414
children
line source
1 # SliTaz package receipt.
3 PACKAGE="python-setproctitle"
4 VERSION="1.1.10"
5 CATEGORY="development"
6 SHORT_DESC="A Python module to customize the process title"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://pypi.org/project/setproctitle/"
10 SOURCE="setproctitle"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 python setup.py install --prefix=/usr --root=$DESTDIR
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/usr $fs/
33 }