wok view py3k-distutils-extra/receipt @ rev 25431

qt5: update wget_url with archive.org
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 19 06:34:23 2022 +0000 (2022-08-19)
parents fbdafd10b728
children
line source
1 # SliTaz package receipt.
3 PACKAGE="py3k-distutils-extra"
4 VERSION="2.39"
5 CATEGORY="development"
6 SHORT_DESC="Enhanced distutils package for python."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://launchpad.net/python-distutils-extra"
11 SOURCE="python-distutils-extra"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://launchpad.net/$SOURCE/trunk/$VERSION/+download/$TARBALL"
15 DEPENDS="py3k"
16 BUILD_DEPENDS="py3k-setuptools_scm"
18 HOST_ARCH="i486 arm"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | \
24 sed '/atest version/!d;s|.* is ||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 python3 setup.py build &&
31 python3 setup.py install --prefix=/usr --root=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 }