wok diff python-setuptools/receipt @ rev 22686
Up pssh (2.3.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 19 16:24:05 2020 +0100 (2020-01-19) |
parents | |
children | 390cb5dea23a |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-setuptools/receipt Sun Jan 19 16:24:05 2020 +0100 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python-setuptools" 1.7 +VERSION="41.0.1" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Easily download, build, install, upgrade, and uninstall Python packages." 1.10 +MAINTAINER="developer@slitaz.org" 1.11 +LICENSE="MIT" 1.12 +WEB_SITE="https://pypi.org/project/setuptools/" 1.13 + 1.14 +SOURCE="setuptools" 1.15 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.16 +WGET_URL="https://github.com/pypa/$SOURCE/archive/v$VERSION.tar.gz" 1.17 + 1.18 +DEPENDS="python" 1.19 +BUILD_DEPENDS="python-dev python" 1.20 + 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + python bootstrap.py && 1.25 + python setup.py build && 1.26 + python setup.py install --root=$DESTDIR 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs 1.33 + cp -a $install/usr $fs 1.34 +}