wok annotate python-soappy/receipt @ rev 25510
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 12 20:36:56 2023 +0000 (19 months ago) |
parents | 814362194a8d |
children |
rev | line source |
---|---|
pascal@18543 | 1 # SliTaz package receipt. |
pascal@18543 | 2 |
pascal@18543 | 3 PACKAGE="python-soappy" |
pascal@18543 | 4 VERSION="0.12.22" |
pascal@18543 | 5 CATEGORY="development" |
pascal@18543 | 6 SHORT_DESC="SOAP services for python." |
pascal@18543 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18543 | 8 LICENSE="BSD" |
pascal@18543 | 9 WEB_SITE="https://pypi.python.org/pypi/SOAPpy" |
pascal@18543 | 10 SOURCE="SOAPpy" |
pascal@18543 | 11 TARBALL="$SOURCE-$VERSION.zip" |
pascal@18543 | 12 WGET_URL="https://pypi.python.org/packages/source/S/SOAPpy/$TARBALL" |
pascal@18543 | 13 |
pascal@18543 | 14 DEPENDS="python" |
pascal@21582 | 15 BUILD_DEPENDS="wget python-dev python-setuptools" |
pascal@18543 | 16 |
pascal@24391 | 17 # What is the latest version available today? |
pascal@24391 | 18 current_version() |
pascal@24391 | 19 { |
pascal@24391 | 20 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ |
pascal@24391 | 21 sed "/\/$SOURCE-/!d;/zip/!d;s|.*$SOURCE-||;s|.zip.*||;q" |
pascal@24391 | 22 } |
pascal@24391 | 23 |
pascal@18543 | 24 # Rules to configure and make the package. |
pascal@18543 | 25 compile_rules() |
pascal@18543 | 26 { |
pascal@18543 | 27 python setup.py install --prefix=/usr --root=$DESTDIR |
pascal@18543 | 28 } |
pascal@18543 | 29 |
pascal@18543 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18543 | 31 genpkg_rules() |
pascal@18543 | 32 { |
pascal@18543 | 33 cp -a $install/usr/ $fs/ |
pascal@18543 | 34 } |