wok-next view python-pip/receipt @ rev 21245

updated cups-filters (1.11.1 -> 1.25.13)
author Hans-G?nter Theisgen
date Thu Dec 05 15:55:07 2019 +0100 (2019-12-05)
parents 019246ad2f42
children
line source
1 # SliTaz package receipt v2.
3 ORIGIN="pip"
4 PACKAGE="python-pip"
5 VERSION="18.1"
6 CATEGORY="python"
7 SHORT_DESC="The PyPA recommended tool for installing Python packages"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="MIT"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:pip"
14 TARBALL="$ORIGIN-$VERSION.tar.gz"
15 WGET_URL="https://github.com/pypa/pip/archive/$VERSION.tar.gz"
17 BUILD_DEPENDS="python python-setuptools python3 python3-setuptools"
18 SPLIT="${PACKAGE/python/python3}:3"
20 compile_rules() {
21 python$SET -B setup.py install --root=$install
23 find $install -type f -exec chmod g-w '{}' \; # 664->644
24 }
26 genpkg_rules() {
27 copy @std
28 py=${PACKAGE%%-*} # python/python3
29 DEPENDS="$py $py-setuptools"
31 # python3-pip: do not overwrite pip from python-pip (when both in use)
32 case $py in
33 python3) rm $fs/usr/bin/pip;;
34 esac
35 }