wok annotate python-itsdangerous/receipt @ rev 24326

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 27 12:16:00 2022 +0000 (2022-01-27)
parents b73236c45914
children 076f424196b2
rev   line source
pascal@20451 1 # SliTaz package receipt.
pascal@20451 2
pascal@20451 3 PACKAGE="python-itsdangerous"
Hans-G?nter@23498 4 VERSION="1.1.0"
pascal@20451 5 CATEGORY="development"
Hans-G?nter@23498 6 SHORT_DESC="Various helpers to pass trusted data to untrusted environments and back."
pascal@20451 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20451 8 LICENSE="BSD"
Hans-G?nter@23498 9 WEB_SITE="https://pypi.org/project/itsdangerous/"
Hans-G?nter@23498 10
Hans-G?nter@23498 11 SOURCE="itsdangerous"
pascal@20451 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23498 13 WGET_URL="https://files.pythonhosted.org/packages/source/i/$SOURCE/$TARBALL"
pascal@20451 14
pascal@20451 15 DEPENDS="python"
Hans-G?nter@23498 16 BUILD_DEPENDS="python python-setuptools"
pascal@20451 17
pascal@24288 18 current_version()
pascal@24288 19 {
pascal@24288 20 wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||'
pascal@24288 21 }
pascal@24288 22
pascal@20451 23 # Rules to configure and make the package.
pascal@20451 24 compile_rules()
pascal@20451 25 {
pascal@20451 26 python setup.py install --prefix=/usr --root=$DESTDIR
pascal@20451 27 }
pascal@20451 28
pascal@20451 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20451 30 genpkg_rules()
pascal@20451 31 {
Hans-G?nter@23498 32 cp -a $install/usr $fs
pascal@20451 33 }