wok-current annotate 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
rev   line source
pascal@20292 1 # SliTaz package receipt.
pascal@20292 2
pascal@20292 3 PACKAGE="python-setproctitle"
pascal@20292 4 VERSION="1.1.10"
pascal@20292 5 CATEGORY="development"
pascal@20292 6 SHORT_DESC="A Python module to customize the process title"
pascal@20292 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20292 8 LICENSE="BSD"
pascal@20292 9 WEB_SITE="https://pypi.org/project/setproctitle/"
pascal@20292 10 SOURCE="setproctitle"
pascal@20292 11 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@20292 12 WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
pascal@20292 13
pascal@20292 14 DEPENDS="python"
pascal@20292 15 BUILD_DEPENDS="python-dev"
pascal@20292 16
pascal@24383 17 # What is the latest version available today?
pascal@24288 18 current_version()
pascal@24288 19 {
pascal@24383 20 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
pascal@24288 21 }
pascal@24288 22
pascal@20292 23 # Rules to configure and make the package.
pascal@20292 24 compile_rules()
pascal@20292 25 {
pascal@20292 26 python setup.py install --prefix=/usr --root=$DESTDIR
pascal@20292 27 }
pascal@20292 28
pascal@20292 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20292 30 genpkg_rules()
pascal@20292 31 {
pascal@20292 32 cp -a $install/usr $fs/
pascal@20292 33 }