pip, sip, python3-setuptools moved into python3 folder for py3

This commit is contained in:
ayhanyalcinsoy
2016-06-06 19:45:41 +03:00
parent 8b49649b0a
commit ce530e2d72
14 changed files with 277 additions and 0 deletions
@@ -0,0 +1,3 @@
<PISI>
<Name>programming.language.python3</Name>
</PISI>
@@ -0,0 +1,23 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# 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
WorkDir="pip-%s" % get.srcVERSION()
def setup():
pythonmodules.compile(pyVer = "3")
def install():
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())
@@ -0,0 +1,59 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>pip</Name>
<Homepage>https://pypi.python.org/pypi/pip</Homepage>
<Packager>
<Name>Yusuf Aydemir</Name>
<Email>Yusuf.aydemir@istanbul.com</Email>
</Packager>
<Summary>The PyPA recommended tool for installing Python packages</Summary>
<Description>The PyPA recommended tool for installing Python packages</Description>
<License>MIT</License>
<Archive sha1sum="910e2dd5c533d351a7dc84bc9091893659afcbb0" type="targz">https://github.com/pypa/pip/archive/8.1.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-setuptools</Dependency>
<Dependency>python3-devel</Dependency>
</BuildDependencies>
</Source>
<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>python3-setuptools</Dependency>
</RuntimeDependencies>
</Package>
<History>
<Update release="3">
<Date>2016-06-06</Date>
<Version>8.1.2</Version>
<Comment>version bump</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2016-05-30</Date>
<Version>8.1.2</Version>
<Comment>version bump</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2016-04-28</Date>
<Version>8.1.1</Version>
<Comment>First release</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,17 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
from pisi.actionsapi import shelltools
WorkDir="setuptools-%s" % get.srcVERSION()
def install():
pythonmodules.install(pyVer = "3")
pisitools.rename("/usr/bin/easy_install", "py3easy-install")
#avoid python-setuptools conflict
pisitools.removeDir("/usr/share")
@@ -0,0 +1,66 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM 'http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd'>
<PISI>
<Source>
<Name>python3-setuptools</Name>
<Homepage>http://pypi.python.org/pypi/setuptools</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>PSF-2.2</License>
<IsA>library</IsA>
<Summary>Python setuptools</Summary>
<Description>python-setuptools is a collection of enhancements to the Python distutils that allow you to more easily build and distribute Python packages, especially ones that have dependencies on other packages.</Description>
<Archive sha1sum="ce72e7effddd31cd657dbbdc9308fee236e4fa37" type="targz">https://pypi.python.org/packages/source/s/setuptools/setuptools-19.6.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python3-setuptools</Name>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib/python3*</Path>
</Files>
</Package>
<History>
<Update release="5">
<Date>2016-06-06</Date>
<Version>19.6.1</Version>
<Comment>Release bump.</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2016-05-26</Date>
<Version>19.6.1</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2016-05-26</Date>
<Version>19.6.1</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2016-05-26</Date>
<Version>19.6.1</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2016-05-26</Date>
<Version>19.6.1</Version>
<Comment>First release.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>python-setuptools</Name>
<Summary xml:lang="tr">Python kurulum araçları</Summary>
<Description xml:lang="tr">python-setuptools, Python distutils'e yapılan, özellikle başka paketlere bağımlılığı olan Python paketlerini daha kolay oluşturmaya ve dağıtmaya yarayan iyileştirmeler koleksiyonudur.</Description>
</Source>
</PISI>

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

@@ -0,0 +1,24 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import get
WorkDir = "sip-%s" % get.srcVERSION()
def setup():
shelltools.system("find . -type f -exec sed -i 's/Python.h/python3.4m\/Python.h/g' {} \;")
pythonmodules.run('configure.py CFLAGS="%s" CXXFLAGS="%s"' % (get.CFLAGS(), get.CXXFLAGS()), pyVer = "3")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
@@ -0,0 +1,60 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>sip3</Name>
<Homepage>http://www.riverbankcomputing.co.uk/sip</Homepage>
<Packager>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:console</IsA>
<Summary>SIP is a tool for generating bindings for C++ classes so that they can be used by Python3</Summary>
<Description>SIP is a tool for generating bindings for C and C++ libraries so that they can be used by Python3. It takes any C or C++ libraries and converts them into Python extension modules.</Description>
<Archive sha1sum="6704854bc684de3b76c9db61ce54a74e7de5cf45" type="targz">mirrors://sourceforge/pyqt/sip-4.18.tar.gz</Archive>
<BuildDependencies>
<Dependency versionFrom="5.6.0">qt5-base-devel</Dependency>
<Dependency>python3-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python3-sip</Name>
<Summary>Python 3.x SIP bindings for C and C++ libraries</Summary>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
<Dependency>python3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin/sip</Path>
<Path fileType="library">/usr/lib/python3*</Path>
<Path fileType="header">/usr/include/python3.4m</Path>
<Path fileType="data">/usr/share/licenses/python3-sip/LICENSE</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>2016-06-06</Date>
<Version>4.18</Version>
<Comment>Version bump</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2016-05-20</Date>
<Version>4.18</Version>
<Comment>Version bump</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2016-05-08</Date>
<Version>4.16.9</Version>
<Comment>First release</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,17 @@
<PISI>
<Source>
<Name>sip3</Name>
<Summary xml:lang="tr">C ve C++ kütüphaneleri için python bağlayıcıları oluşturan bir araç</Summary>
<Summary xml:lang="pl">Generator powiązań Pythona z bibliotekami klas C++</Summary>
<Description xml:lang="tr">SIP3 C ve C++ kütüphanelerini Python'da kullanabilmek için bağlayıcılar oluşturan bir araçtır. Herhangi bir C veya C++ kütüphanesini Python genişletme modülüne dönüştürür.</Description>
<Description xml:lang="pl">Generuje powiązania Pythona z bibliotekami klas C++ ze zbioru plików ze specyfikacjami klas. Obsługiwany jest Python 2 i 3.</Description>
</Source>
<Package>
<Name>python3-sip3</Name>
</Package>
<Package>
<Name>sip3-devel</Name>
</Package>
</PISI>
<!-- By PiSiDo 2.3.1 -->