wok-6.x annotate python-setuptools/receipt @ rev 23621
updated ruby and ruby-dev (2.6.4 -> 2.7.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 14 15:51:31 2020 +0100 (2020-04-14) |
parents | a1005b7e3610 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
Hans-G?nter@21578 | 1 # SliTaz package receipt. |
Hans-G?nter@21578 | 2 |
Hans-G?nter@21578 | 3 PACKAGE="python-setuptools" |
Hans-G?nter@23559 | 4 VERSION="46.1.3" |
Hans-G?nter@21578 | 5 CATEGORY="development" |
Hans-G?nter@21578 | 6 SHORT_DESC="Easily download, build, install, upgrade, and uninstall Python packages." |
Hans-G?nter@23559 | 7 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@21578 | 8 LICENSE="MIT" |
Hans-G?nter@21578 | 9 WEB_SITE="https://pypi.org/project/setuptools/" |
Hans-G?nter@21578 | 10 |
Hans-G?nter@21578 | 11 SOURCE="setuptools" |
Hans-G?nter@21578 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@21578 | 13 WGET_URL="https://github.com/pypa/$SOURCE/archive/v$VERSION.tar.gz" |
Hans-G?nter@21578 | 14 |
Hans-G?nter@21578 | 15 DEPENDS="python" |
Hans-G?nter@23559 | 16 BUILD_DEPENDS="python python-dev" |
Hans-G?nter@21578 | 17 |
Hans-G?nter@21578 | 18 # Rules to configure and make the package. |
Hans-G?nter@21578 | 19 compile_rules() |
Hans-G?nter@21578 | 20 { |
Hans-G?nter@21578 | 21 python bootstrap.py && |
Hans-G?nter@21578 | 22 python setup.py build && |
Hans-G?nter@21578 | 23 python setup.py install --root=$DESTDIR |
Hans-G?nter@21578 | 24 } |
Hans-G?nter@21578 | 25 |
Hans-G?nter@21578 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@21578 | 27 genpkg_rules() |
Hans-G?nter@21578 | 28 { |
Hans-G?nter@23559 | 29 cp -a $install/usr $fs |
Hans-G?nter@21578 | 30 } |