wok view python-setuptools/receipt @ rev 25641

Fix miss gogglesmm app icon for menu
author Stanislas Leduc <shann@slitaz.org>
date Sun Jan 07 10:30:54 2024 +0100 (10 months ago)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="python-setuptools"
4 VERSION="46.1.3"
5 CATEGORY="development"
6 SHORT_DESC="Easily download, build, install, upgrade, and uninstall Python packages."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://pypi.org/project/setuptools/"
11 SOURCE="setuptools"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/pypa/$SOURCE/archive/v$VERSION.tar.gz"
15 DEPENDS="python"
16 BUILD_DEPENDS="python python-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python bootstrap.py &&
29 python setup.py build &&
30 python setup.py install --root=$DESTDIR
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/usr $fs
37 }