kde5 frameworks build part 1

This commit is contained in:
Ertuğrul Erata
2015-07-24 11:59:59 +03:00
parent bb573cffd4
commit a6b734df58
13 changed files with 357 additions and 12 deletions
@@ -0,0 +1,33 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
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*")
@@ -0,0 +1,51 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python-six</Name>
<Homepage>http://pypi.python.org/pypi/six/</Homepage>
<Packager>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Packager>
<License>MIT</License>
<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</Dependency>
</BuildDependencies>
<Archive sha1sum="d168e6d01f0900875c6ecebc97da72d0fda31129" type="targz">http://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz</Archive>
</Source>
<Package>
<Name>python-six</Name>
<Files>
<Path fileType="library">/usr/lib/python2*</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>2015-07-24</Date>
<Version>1.9.0</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="1">
<Date>2014-05-31</Date>
<Version>1.6.1</Version>
<Comment>First release</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,7 @@
<PISI>
<Source>
<Name>python-six</Name>
<Summary xml:lang="tr">Python2 ve python3 uyumluluk programı.</Summary>
<Description xml:lang="tr">python-six, python2 ile python3 arasındaki farklılıkların aşılmasına yardımcı olan basit araçlar sağlar.</Description>
</Source>
</PISI>