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

Up gdbm (1.18.1)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Dec 05 13:28:22 2018 +0200 (2018-12-05)
parents f47adfbeb944
children 0f7ebcdec85d
line source
1 # SliTaz package receipt v2.
3 ORIGIN="pip"
4 PACKAGE="python-pip"
5 VERSION="18.0"
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
22 }
24 genpkg_rules() {
25 copy @std
26 py=${PACKAGE%%-*} # python/python3
27 DEPENDS="$py $py-setuptools"
29 # python3-pip: do not overwrite pip from python-pip (when both in use)
30 case $py in
31 python3) rm $fs/usr/bin/pip;;
32 esac
33 }