wok annotate python-pip/receipt @ rev 23837
Up freetype (2.10.2), git (2.26.2), glpi (9.4.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 01 10:44:24 2020 +0000 (2020-06-01) |
parents | 814362194a8d |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@21199 | 1 # SliTaz package receipt. |
pascal@21199 | 2 |
pascal@21199 | 3 PACKAGE="python-pip" |
pascal@21199 | 4 SOURCE="pip" |
Hans-Günter@23529 | 5 VERSION="20.0.2" |
pascal@21199 | 6 CATEGORY="development" |
Hans-Günter@23529 | 7 SHORT_DESC="The PyPA recommended tool for installing Python packages." |
pascal@21199 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@21199 | 9 LICENSE="MIT" |
Hans-Günter@23529 | 10 WEB_SITE="https://pip.pypa.io/" |
Hans-Günter@23529 | 11 |
pascal@21199 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@21199 | 13 WGET_URL="https://github.com/pypa/pip/archive/$VERSION.tar.gz" |
pascal@21199 | 14 |
pascal@21200 | 15 DEPENDS="python" |
Hans-Günter@23529 | 16 BUILD_DEPENDS="python python-setuptools" |
pascal@21199 | 17 |
pascal@21199 | 18 # Rules to configure and make the package. |
pascal@21199 | 19 compile_rules() |
pascal@21199 | 20 { |
pascal@21199 | 21 python setup.py build && |
pascal@21199 | 22 python setup.py install --root=$DESTDIR |
pascal@21199 | 23 } |
pascal@21199 | 24 |
pascal@21199 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21199 | 26 genpkg_rules() |
pascal@21199 | 27 { |
Hans-Günter@23529 | 28 cp -a $install/usr $fs |
pascal@21199 | 29 } |