diff --git a/programming/language/python3/component.xml b/programming/language/python3/component.xml new file mode 100644 index 0000000000..071f6104a7 --- /dev/null +++ b/programming/language/python3/component.xml @@ -0,0 +1,3 @@ + + programming.language.python3 + diff --git a/programming/language/python3/pip/actions.py b/programming/language/python3/pip/actions.py new file mode 100644 index 0000000000..7c7229e785 --- /dev/null +++ b/programming/language/python3/pip/actions.py @@ -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()) + diff --git a/programming/language/python3/pip/pspec.xml b/programming/language/python3/pip/pspec.xml new file mode 100644 index 0000000000..e8a2f3a1de --- /dev/null +++ b/programming/language/python3/pip/pspec.xml @@ -0,0 +1,59 @@ + + + + + + pip + https://pypi.python.org/pypi/pip + + Yusuf Aydemir + Yusuf.aydemir@istanbul.com + + The PyPA recommended tool for installing Python packages + The PyPA recommended tool for installing Python packages + MIT + https://github.com/pypa/pip/archive/8.1.2.tar.gz + + + python3-setuptools + python3-devel + + + + + 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 + version bump + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + + 2016-04-28 + 8.1.1 + First release + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + + diff --git a/programming/language/python3/python3-setuptools/actions.py b/programming/language/python3/python3-setuptools/actions.py new file mode 100644 index 0000000000..42a5168656 --- /dev/null +++ b/programming/language/python3/python3-setuptools/actions.py @@ -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") diff --git a/programming/language/python3/python3-setuptools/pspec.xml b/programming/language/python3/python3-setuptools/pspec.xml new file mode 100644 index 0000000000..9a70227e8b --- /dev/null +++ b/programming/language/python3/python3-setuptools/pspec.xml @@ -0,0 +1,66 @@ + + + + + python3-setuptools + http://pypi.python.org/pypi/setuptools + + PisiLinux Community + admins@pisilinux.org + + PSF-2.2 + library + Python setuptools + 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. + https://pypi.python.org/packages/source/s/setuptools/setuptools-19.6.1.tar.gz + + python3-devel + + + + + python3-setuptools + + /usr/bin + /usr/lib/python3* + + + + + + 2016-06-06 + 19.6.1 + Release bump. + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + + 2016-05-26 + 19.6.1 + Release bump. + Marcin Bojara + marcin@pisilinux.org + + + 2016-05-26 + 19.6.1 + Release bump. + Marcin Bojara + marcin@pisilinux.org + + + 2016-05-26 + 19.6.1 + Release bump. + Marcin Bojara + marcin@pisilinux.org + + + 2016-05-26 + 19.6.1 + First release. + Marcin Bojara + marcin@pisilinux.org + + + diff --git a/programming/language/python3/python3-setuptools/translations.xml b/programming/language/python3/python3-setuptools/translations.xml new file mode 100644 index 0000000000..c6ed410012 --- /dev/null +++ b/programming/language/python3/python3-setuptools/translations.xml @@ -0,0 +1,8 @@ + + + + python-setuptools + Python kurulum araçları + 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. + + diff --git a/programming/language/python3/actions.py b/programming/language/python3/python3/actions.py similarity index 100% rename from programming/language/python3/actions.py rename to programming/language/python3/python3/actions.py diff --git a/programming/language/python3/files/dont-make-libpython-readonly.patch b/programming/language/python3/python3/files/dont-make-libpython-readonly.patch similarity index 100% rename from programming/language/python3/files/dont-make-libpython-readonly.patch rename to programming/language/python3/python3/files/dont-make-libpython-readonly.patch diff --git a/programming/language/python3/files/idle.desktop b/programming/language/python3/python3/files/idle.desktop similarity index 100% rename from programming/language/python3/files/idle.desktop rename to programming/language/python3/python3/files/idle.desktop diff --git a/programming/language/python3/files/python-logo.png b/programming/language/python3/python3/files/python-logo.png similarity index 100% rename from programming/language/python3/files/python-logo.png rename to programming/language/python3/python3/files/python-logo.png diff --git a/programming/language/python3/pspec.xml b/programming/language/python3/python3/pspec.xml similarity index 100% rename from programming/language/python3/pspec.xml rename to programming/language/python3/python3/pspec.xml diff --git a/programming/language/python3/sip/actions.py b/programming/language/python3/sip/actions.py new file mode 100644 index 0000000000..0e16697572 --- /dev/null +++ b/programming/language/python3/sip/actions.py @@ -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()) diff --git a/programming/language/python3/sip/pspec.xml b/programming/language/python3/sip/pspec.xml new file mode 100644 index 0000000000..3b3ec039ec --- /dev/null +++ b/programming/language/python3/sip/pspec.xml @@ -0,0 +1,60 @@ + + + + + sip3 + http://www.riverbankcomputing.co.uk/sip + + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + GPLv2 + app:console + SIP is a tool for generating bindings for C++ classes so that they can be used by Python3 + 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. + mirrors://sourceforge/pyqt/sip-4.18.tar.gz + + qt5-base-devel + python3-devel + + + + + python3-sip + Python 3.x SIP bindings for C and C++ libraries + + libgcc + python3 + + + /usr/bin/sip + /usr/lib/python3* + /usr/include/python3.4m + /usr/share/licenses/python3-sip/LICENSE + + + + + + 2016-06-06 + 4.18 + Version bump + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + + 2016-05-20 + 4.18 + Version bump + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + + 2016-05-08 + 4.16.9 + First release + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + + diff --git a/programming/language/python3/sip/translations.xml b/programming/language/python3/sip/translations.xml new file mode 100644 index 0000000000..71b6b4097d --- /dev/null +++ b/programming/language/python3/sip/translations.xml @@ -0,0 +1,17 @@ + + + sip3 + C ve C++ kütüphaneleri için python bağlayıcıları oluşturan bir araç + Generator powiązań Pythona z bibliotekami klas C++ + 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. + Generuje powiązania Pythona z bibliotekami klas C++ ze zbioru plików ze specyfikacjami klas. Obsługiwany jest Python 2 i 3. + + + python3-sip3 + + + sip3-devel + + + +