wok rev 21578
created recipe for python-setuptools
author | Hans-G?nter Theisgen |
---|---|
date | Sun May 19 16:00:06 2019 +0100 (2019-05-19) |
parents | f0393127d176 |
children | 5b7a2e58cdab |
files | python-setuptools/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-setuptools/receipt Sun May 19 16:00:06 2019 +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 +}