wok-current view python-distutils-extra/receipt @ rev 25268

xorg-cf-files/Imake.tmpl: update ArCmd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 17 14:59:20 2022 +0000 (2022-07-17)
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 }