wok-6.x view python-distutils-extra/receipt @ rev 24861

updated logrotate (3.16.0 -> 3.19.0)
author Hans-G?nter Theisgen
date Tue Mar 29 17:26:39 2022 +0100 (2022-03-29)
parents fbdafd10b728
children
line source
1 # SliTaz package receipt.
3 PACKAGE="python-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 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://launchpad.net/$PACKAGE/trunk/$VERSION/+download/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-setuptools"
17 HOST_ARCH="i486 arm"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | \
23 sed '/atest version/!d;s|.* is ||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 python setup.py build &&
30 python setup.py install --prefix=/usr --root=$DESTDIR
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs
37 }