pip:added python3-pip
This commit is contained in:
@@ -5,6 +5,20 @@
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import pythonmodules
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
def install():
|
||||
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")
|
||||
|
||||
@@ -15,13 +15,15 @@
|
||||
|
||||
<BuildDependencies>
|
||||
<Dependency>python-setuptools</Dependency>
|
||||
<Dependency>python3-setuptools</Dependency>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>pip</Name>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="executable">/usr/bin/pip2*</Path>
|
||||
<Path fileType="data">/usr/lib/python2*</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
@@ -29,6 +31,19 @@
|
||||
<Dependency>python-setuptools</Dependency>
|
||||
</RuntimeDependencies>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>pip3</Name>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin/pip</Path>
|
||||
<Path fileType="executable">/usr/bin/pip3*</Path>
|
||||
<Path fileType="data">/usr/lib/python3*</Path>
|
||||
<!-- <Path fileType="doc">/usr/share/doc</Path> -->
|
||||
</Files>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>python-setuptools</Dependency>
|
||||
</RuntimeDependencies>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
|
||||
Reference in New Issue
Block a user