wok-6.x annotate python-setuptools/receipt @ rev 23059
zoneminder: use openssl
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 07 17:19:32 2020 +0100 (2020-03-07) |
parents | |
children | 390cb5dea23a |
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@21578 | 4 VERSION="41.0.1" |
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@21578 | 7 MAINTAINER="developer@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@21578 | 16 BUILD_DEPENDS="python-dev python" |
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@21578 | 29 mkdir -p $fs |
Hans-G?nter@21578 | 30 cp -a $install/usr $fs |
Hans-G?nter@21578 | 31 } |