python add new package and fix
This commit is contained in:
@@ -6,28 +6,12 @@
|
||||
|
||||
from pisi.actionsapi import pythonmodules
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir="six-%s" % get.srcVERSION()
|
||||
|
||||
def setup():
|
||||
shelltools.cd("..")
|
||||
shelltools.makedirs("build_python3")
|
||||
shelltools.copytree("./%s" % WorkDir, "build_python3")
|
||||
shelltools.cd(WorkDir)
|
||||
|
||||
def build():
|
||||
pythonmodules.compile()
|
||||
|
||||
shelltools.cd("../build_python3/%s" % WorkDir)
|
||||
pythonmodules.compile(pyVer="3.4")
|
||||
|
||||
def install():
|
||||
pythonmodules.install()
|
||||
|
||||
shelltools.cd("../build_python3/%s" % WorkDir)
|
||||
pythonmodules.install(pyVer="3.4")
|
||||
|
||||
pisitools.removeDir("/usr/lib/*/site-packages/six-1.9.0*egg-info*")
|
||||
pisitools.remove("/usr/lib/*/site-packages/*egg-info*")
|
||||
pisitools.remove("/usr/lib/*/site-packages/*egg-info*")
|
||||
|
||||
@@ -12,27 +12,31 @@
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Python 2 and 3 compatibility utilities.</Summary>
|
||||
<Description>python-six provides simple utilities for wrapping over differences between Python 2 and Python 3.</Description>
|
||||
<BuildDependencies>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Archive sha1sum="d168e6d01f0900875c6ecebc97da72d0fda31129" type="targz">http://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>python-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
<Package>
|
||||
<Name>python-six</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>python-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/python2*</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>python3-six</Name>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/python3*</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2016-06-06</Date>
|
||||
<Version>1.9.0</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2016-05-08</Date>
|
||||
<Version>1.9.0</Version>
|
||||
@@ -41,4 +45,4 @@
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
</PISI>
|
||||
|
||||
Reference in New Issue
Block a user