wok view zopeinterface/receipt @ rev 24384

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 06 16:04:43 2022 +0000 (2022-02-06)
parents 922f061231c2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="zopeinterface"
4 VERSION="4.0.5"
5 CATEGORY="network"
6 SHORT_DESC="Zope 4 Interface Infrastructure."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="other"
9 SOURCE="zope.interface"
10 TARBALL="$SOURCE-$VERSION.zip"
11 WEB_SITE="https://pypi.python.org/pypi/zope.interface"
12 WGET_URL="https://pypi.python.org/packages/source/z/$SOURCE/$TARBALL"
13 TAGS="webserver application-server appserver"
15 DEPENDS="python"
16 BUILD_DEPENDS="python python-dev wget"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | sed "/ $SOURCE /!d;s|.*$SOURCE ||;s|<.*||;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py build && python setup.py install --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs
34 }