# HG changeset patch # User Hans-G?nter Theisgen # Date 1558278006 -3600 # Node ID a1005b7e3610345310c8c4f58d8f595f937d6704 # Parent f0393127d176eac20ce218cf6783992c9d2d4fa4 created recipe for python-setuptools diff -r f0393127d176 -r a1005b7e3610 python-setuptools/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-setuptools/receipt Sun May 19 16:00:06 2019 +0100 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="python-setuptools" +VERSION="41.0.1" +CATEGORY="development" +SHORT_DESC="Easily download, build, install, upgrade, and uninstall Python packages." +MAINTAINER="developer@slitaz.org" +LICENSE="MIT" +WEB_SITE="https://pypi.org/project/setuptools/" + +SOURCE="setuptools" +TARBALL="$SOURCE-$VERSION.tar.gz" +WGET_URL="https://github.com/pypa/$SOURCE/archive/v$VERSION.tar.gz" + +DEPENDS="python" +BUILD_DEPENDS="python-dev python" + +# Rules to configure and make the package. +compile_rules() +{ + python bootstrap.py && + python setup.py build && + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs + cp -a $install/usr $fs +}