wok-current view python-distribute/receipt @ rev 24975
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 02 16:22:04 2022 +0000 (2022-05-02) |
parents | 104a2a2e5484 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-distribute"
4 VERSION="0.7.3"
5 CATEGORY="development"
6 SHORT_DESC="Easily build and distribute Python packages"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="PSL"
9 WEB_SITE="https://pypi.python.org/pypi/distribute"
10 SOURCE="distribute"
11 TARBALL="$SOURCE-$VERSION.zip"
12 WGET_URL="https://pypi.python.org/packages/source/d/distribute/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="python"
16 BUILD_DEPENDS="python-dev wget"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \
22 sed "/$SOURCE-/!d;/zip/!d;s|.*$SOURCE-||;s|.zip.*||;q"
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
29 python setup.py install --prefix=/usr --root=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 }