From 1a11d6dcaf19905980807e02e759ee62492a256c Mon Sep 17 00:00:00 2001 From: ayhanyalcinsoy Date: Mon, 6 Jun 2016 19:44:20 +0300 Subject: [PATCH] pip:splited into python3 folder for py3 --- programming/language/python/pip/actions.py | 17 +---------------- programming/language/python/pip/pspec.xml | 22 +++++++--------------- 2 files changed, 8 insertions(+), 31 deletions(-) diff --git a/programming/language/python/pip/actions.py b/programming/language/python/pip/actions.py index ba39ce1739..2f6baa779f 100644 --- a/programming/language/python/pip/actions.py +++ b/programming/language/python/pip/actions.py @@ -12,22 +12,7 @@ from pisi.actionsapi import pisitools WorkDir="pip-%s" % get.srcVERSION() def setup(): - shelltools.makedirs("python3") - - shelltools.copytree("../pip-%s" % get.srcVERSION(), "%s/python3" % get.workDIR()) pythonmodules.compile() - - shelltools.cd("%s/python3" % get.workDIR()) - pythonmodules.compile(pyVer = "3") - + def install(): pythonmodules.install() - - shelltools.cd("%s/python3" % get.workDIR()) - - pythonmodules.install(pyVer = "3") - pisitools.rename("/usr/bin/pip", "pip3") - - shelltools.system("sed -i 's|#!/usr/bin/env python$|#!/usr/bin/env python3|' %s/usr/lib/python3.4/site-packages/pip/__init__.py" % get.installDIR()) - shelltools.system("python3 -m compileall %s/usr/lib/python3.4/site-packages/pip/__init__.py" % get.installDIR()) - diff --git a/programming/language/python/pip/pspec.xml b/programming/language/python/pip/pspec.xml index f03792b44b..94b65469cc 100644 --- a/programming/language/python/pip/pspec.xml +++ b/programming/language/python/pip/pspec.xml @@ -16,8 +16,6 @@ python-setuptools - python3-setuptools - python3-devel @@ -32,21 +30,15 @@ python-setuptools - - - pip3 - - /usr/bin/pip - /usr/bin/pip3* - /usr/lib/python3* - - - - python3-setuptools - - + + 2016-06-06 + 8.1.2 + version bump + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + 2016-05-30 8.1.2