wok-next rev 20973
Separate python-setuptools and python-pip from the main python package to be able to update them apart from python
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Sep 23 04:19:29 2018 +0300 (2018-09-23) |
parents | c9a7a7b42a86 |
children | b07880cdb6a1 |
files | python-gevent/receipt python-greenlet/receipt python-pip/.icon.png python-pip/receipt python-setuptools/.icon.png python-setuptools/receipt python-twisted/.icon.png |
line diff
1.1 --- a/python-gevent/receipt Sat Sep 22 16:05:26 2018 +0300 1.2 +++ b/python-gevent/receipt Sun Sep 23 04:19:29 2018 +0300 1.3 @@ -11,7 +11,8 @@ 1.4 #HOST_ARCH 1.5 REPOLOGY="python:gevent" 1.6 1.7 -BUILD_DEPENDS="python python-greenlet python3 python3-greenlet" 1.8 +BUILD_DEPENDS="python-dev python-greenlet \ 1.9 +python3-dev python3-greenlet" # i486 arch require dev packages... 1.10 SPLIT="${PACKAGE/python/python3}:3" 1.11 1.12 compile_rules() {
2.1 --- a/python-greenlet/receipt Sat Sep 22 16:05:26 2018 +0300 2.2 +++ b/python-greenlet/receipt Sun Sep 23 04:19:29 2018 +0300 2.3 @@ -11,7 +11,7 @@ 2.4 #HOST_ARCH 2.5 REPOLOGY="python:greenlet" 2.6 2.7 -BUILD_DEPENDS="python python3" 2.8 +BUILD_DEPENDS="python-dev python3-dev" # i486 arch require dev packages... 2.9 SPLIT="${PACKAGE/python/python3}:3" 2.10 2.11 compile_rules() {
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/python-pip/.icon.png Sun Sep 23 04:19:29 2018 +0300 3.3 @@ -0,0 +1,1 @@ 3.4 +../python/.icon.png 3.5 \ No newline at end of file
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/python-pip/receipt Sun Sep 23 04:19:29 2018 +0300 4.3 @@ -0,0 +1,29 @@ 4.4 +# SliTaz package receipt v2. 4.5 + 4.6 +ORIGIN="pip" 4.7 +PACKAGE="python-pip" 4.8 +VERSION="18.0" 4.9 +CATEGORY="python" 4.10 +SHORT_DESC="The PyPA recommended tool for installing Python packages" 4.11 +MAINTAINER="al.bobylev@gmail.com" 4.12 +LICENSE="MIT" 4.13 +WEB_SITE="https://pypi.org/project/$ORIGIN/" 4.14 +HOST_ARCH="any" 4.15 +REPOLOGY="python:pip" 4.16 + 4.17 +TARBALL="$ORIGIN-$VERSION.tar.gz" 4.18 +WGET_URL="https://files.pythonhosted.org/packages/source/p/pip/$TARBALL" 4.19 + 4.20 +BUILD_DEPENDS="python python-setuptools python3 python3-setuptools" 4.21 +SPLIT="${PACKAGE/python/python3}:3" 4.22 + 4.23 +compile_rules() { 4.24 + python$SET -B setup.py install --root=$install 4.25 + 4.26 +} 4.27 + 4.28 +genpkg_rules() { 4.29 + copy @std 4.30 + py=${PACKAGE%%-*} # python/python3 4.31 + DEPENDS="$py $py-setuptools" 4.32 +}
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/python-setuptools/.icon.png Sun Sep 23 04:19:29 2018 +0300 5.3 @@ -0,0 +1,1 @@ 5.4 +../python/.icon.png 5.5 \ No newline at end of file
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/python-setuptools/receipt Sun Sep 23 04:19:29 2018 +0300 6.3 @@ -0,0 +1,25 @@ 6.4 +# SliTaz package receipt v2. 6.5 + 6.6 +ORIGIN="setuptools" 6.7 +PACKAGE="python-setuptools" 6.8 +VERSION="40.4.2" 6.9 +CATEGORY="python" 6.10 +SHORT_DESC="Easily download, build, install, upgrade, and uninstall Python packages" 6.11 +MAINTAINER="al.bobylev@gmail.com" 6.12 +LICENSE="MIT" 6.13 +WEB_SITE="https://pypi.org/project/$ORIGIN/" 6.14 +HOST_ARCH="any" 6.15 +REPOLOGY="python:setuptools" 6.16 + 6.17 +BUILD_DEPENDS="python python3" 6.18 +SPLIT="${PACKAGE/python/python3}:3" 6.19 + 6.20 +compile_rules() { 6.21 + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION 6.22 +} 6.23 + 6.24 +genpkg_rules() { 6.25 + copy @std 6.26 + py=${PACKAGE%%-*} # python/python3 6.27 + DEPENDS="$py" 6.28 +}