From 9b8932ec6ec3b465f7712ea080e51b75650aaa7b Mon Sep 17 00:00:00 2001 From: ayhanyalcinsoy Date: Tue, 7 Jun 2016 01:37:50 +0300 Subject: [PATCH 1/3] pip:fixed abondened file --- programming/language/python3/pip/actions.py | 1 + programming/language/python3/pip/pspec.xml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/programming/language/python3/pip/actions.py b/programming/language/python3/pip/actions.py index 7c7229e785..5d9779e26a 100644 --- a/programming/language/python3/pip/actions.py +++ b/programming/language/python3/pip/actions.py @@ -17,6 +17,7 @@ def setup(): def install(): pythonmodules.install(pyVer = "3") pisitools.rename("/usr/bin/pip", "pip3") + pisitools.rename("/usr/share/doc/pip/README.rst", "README3.rst") 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 index e8a2f3a1de..48ffcbe42c 100644 --- a/programming/language/python3/pip/pspec.xml +++ b/programming/language/python3/pip/pspec.xml @@ -26,7 +26,7 @@ /usr/bin/pip /usr/bin/pip3* /usr/lib/python3* - + /usr/share/doc python3-setuptools From ccefc3ae0466f7bab43646dfcd5cba201afe75a4 Mon Sep 17 00:00:00 2001 From: ayhanyalcinsoy Date: Tue, 7 Jun 2016 02:04:57 +0300 Subject: [PATCH 2/3] python-qt5:splitted for py3 --- .../language/python/python-qt5/actions.py | 23 -------- .../language/python/python-qt5/pspec.xml | 58 +++---------------- 2 files changed, 7 insertions(+), 74 deletions(-) diff --git a/programming/language/python/python-qt5/actions.py b/programming/language/python/python-qt5/actions.py index 6c50447e25..b5a41bcc7f 100644 --- a/programming/language/python/python-qt5/actions.py +++ b/programming/language/python/python-qt5/actions.py @@ -13,17 +13,6 @@ from pisi.actionsapi import get WorkDir="PyQt5_gpl-%s" % get.srcVERSION() def setup(): - shelltools.copytree("%s/PyQt5_gpl-%s" % (get.workDIR(),get.srcVERSION()), "%s/Py2Qt5_gpl-%s" % (get.workDIR(),get.srcVERSION())) - pythonmodules.run("configure.py --confirm-license \ - --qsci-api \ - --sip /usr/bin/sip \ - --qmake='/usr/bin/qmake-qt5' \ - --destdir='/usr/lib/python3.4/site-packages' \ - --sip-incdir='/usr/include/python3.4m' \ - CFLAGS='%s' CXXFLAGS='%s'" % (get.CFLAGS(), get.CXXFLAGS()), pyVer = "3") - shelltools.system("find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'") - - shelltools.cd("%s/Py2Qt5_gpl-%s" % (get.workDIR(),get.srcVERSION())) pythonmodules.run("configure.py --confirm-license \ --qsci-api \ --destdir='/usr/lib/python2.7/site-packages' \ @@ -34,11 +23,8 @@ def setup(): def build(): autotools.make() - shelltools.cd("%s/Py2Qt5_gpl-%s" % (get.workDIR(),get.srcVERSION())) - autotools.make() def install(): - shelltools.cd("%s/Py2Qt5_gpl-%s" % (get.workDIR(),get.srcVERSION())) autotools.rawInstall("-C pyrcc DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()}) autotools.rawInstall("-C pylupdate DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()}) autotools.rawInstall("DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()}) @@ -50,12 +36,3 @@ def install(): pisitools.rename("/usr/bin/pyuic5", "py2uic5") pisitools.domove("/usr/share/sip/PyQt5/*", "/usr/share/sip/Py2Qt5") pisitools.removeDir("/usr/share/sip/PyQt5") - - shelltools.cd("%s/PyQt5_gpl-%s" % (get.workDIR(),get.srcVERSION())) - autotools.rawInstall("-C pyrcc DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()}) - autotools.rawInstall("-C pylupdate DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()}) - autotools.rawInstall("DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()}) - - - pisitools.dohtml("doc/html/*") - pisitools.dodoc("NEWS", "README","LICENSE*") diff --git a/programming/language/python/python-qt5/pspec.xml b/programming/language/python/python-qt5/pspec.xml index acd70abb31..4d308a1885 100644 --- a/programming/language/python/python-qt5/pspec.xml +++ b/programming/language/python/python-qt5/pspec.xml @@ -16,11 +16,8 @@ mirrors://sourceforge/pyqt/PyQt5/PyQt-5.6/PyQt5_gpl-5.6.tar.gz dbus-devel - dbus-python3 dbus-python-common - python3-devel python-devel - python3-sip python-sip qt5-base-devel qt5-connectivity-devel @@ -88,55 +85,14 @@ - - python3-qt5 - A set of Python 3.x bindings for the Qt 5.x Toolkit - - libgcc - dbus - python3 - qt5-base - qt5-sensors - qt5-location - qt5-webkit - qt5-enginio - qt5-x11extras - qt5-svg - qt5-multimedia - qt5-serialport - qt5-webchannel - qt5-websockets - qt5-declarative - qt5-xmlpatterns - qt5-connectivity - python3-sip - - - /usr/bin/pyuic5 - /usr/lib/python3.4/site-packages - /usr/lib/qt5/plugins/PyQt5/libpyqt5qmlplugin.so - /usr/lib/qt5/plugins/designer/libpyqt5.so - /usr/share/doc - /usr/share/qt5/qsci/api/python/PyQt5.api - /usr/bin/pyrcc5 - /usr/bin/pylupdate5 - - - - - python3-qt5-devel - Development files for python3-qt5 - - libgcc - qt5-base - python3-qt5 - - - /usr/share/sip/PyQt5 - - - + + 2016-06-07 + 5.6 + version bump + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + 2016-05-25 5.6 From f82a3066ad609ee8ad9cc6d2e054cffa5dc156b7 Mon Sep 17 00:00:00 2001 From: ayhanyalcinsoy Date: Tue, 7 Jun 2016 02:05:33 +0300 Subject: [PATCH 3/3] python3-qt5:moved into python3 folder for py3 --- .../language/python3/python3-qt5/actions.py | 36 ++++++ .../files/PyQt5_gpl-5.6-dbus_ftbfs.patch | 12 ++ .../language/python3/python3-qt5/pspec.xml | 114 ++++++++++++++++++ .../python3/python3-qt5/translations.xml | 14 +++ 4 files changed, 176 insertions(+) create mode 100644 programming/language/python3/python3-qt5/actions.py create mode 100644 programming/language/python3/python3-qt5/files/PyQt5_gpl-5.6-dbus_ftbfs.patch create mode 100644 programming/language/python3/python3-qt5/pspec.xml create mode 100644 programming/language/python3/python3-qt5/translations.xml diff --git a/programming/language/python3/python3-qt5/actions.py b/programming/language/python3/python3-qt5/actions.py new file mode 100644 index 0000000000..4df2ff4eda --- /dev/null +++ b/programming/language/python3/python3-qt5/actions.py @@ -0,0 +1,36 @@ +#!/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 autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +WorkDir="PyQt5_gpl-%s" % get.srcVERSION() + +def setup(): + pythonmodules.run("configure.py --confirm-license \ + --qsci-api \ + --sip /usr/bin/sip \ + --qmake='/usr/bin/qmake-qt5' \ + --destdir='/usr/lib/python3.4/site-packages' \ + --sip-incdir='/usr/include/python3.4m' \ + CFLAGS='%s' CXXFLAGS='%s'" % (get.CFLAGS(), get.CXXFLAGS()), pyVer = "3") + shelltools.system("find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'") + +def build(): + autotools.make() + +def install(): + shelltools.cd("%s/PyQt5_gpl-%s" % (get.workDIR(),get.srcVERSION())) + autotools.rawInstall("-C pyrcc DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()}) + autotools.rawInstall("-C pylupdate DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()}) + autotools.rawInstall("DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()}) + + + pisitools.dohtml("doc/html/*") + pisitools.dodoc("NEWS", "README","LICENSE*") diff --git a/programming/language/python3/python3-qt5/files/PyQt5_gpl-5.6-dbus_ftbfs.patch b/programming/language/python3/python3-qt5/files/PyQt5_gpl-5.6-dbus_ftbfs.patch new file mode 100644 index 0000000000..6830ddad15 --- /dev/null +++ b/programming/language/python3/python3-qt5/files/PyQt5_gpl-5.6-dbus_ftbfs.patch @@ -0,0 +1,12 @@ +diff -up PyQt5_gpl-5.6/configure.py.dbus PyQt5_gpl-5.6/configure.py +--- PyQt5_gpl-5.6/configure.py.dbus 2016-04-24 22:16:43.120281591 -0500 ++++ PyQt5_gpl-5.6/configure.py 2016-04-25 10:16:52.465218805 -0500 +@@ -2141,7 +2141,7 @@ def check_dbus(target_config, verbose): + else: + dlist = target_config.dbus_inc_dirs + +- target_config.dbus_inc_dirs = [] ++ #target_config.dbus_inc_dirs = [] + + for d in dlist: + if os.access(os.path.join(d, 'dbus', 'dbus-python.h'), os.F_OK): diff --git a/programming/language/python3/python3-qt5/pspec.xml b/programming/language/python3/python3-qt5/pspec.xml new file mode 100644 index 0000000000..5d78128268 --- /dev/null +++ b/programming/language/python3/python3-qt5/pspec.xml @@ -0,0 +1,114 @@ + + + + + python3-qt5 + http://www.riverbankcomputing.co.uk/software/pyqt + + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + GPLv2 + GPLv3 + library + A set of Python bindings for the Qt 5.x Toolkit + Qt is a set of C++ libraries and development tools that includes platform independent abstractions for graphical user interfaces, networking, threads, Unicode, regular expressions, SQL databases, SVG, OpenGL, XML, and user and application settings. PyQt implements 440 of these classes as a set of Python modules. + mirrors://sourceforge/pyqt/PyQt5/PyQt-5.6/PyQt5_gpl-5.6.tar.gz + + dbus-devel + dbus-python3 + dbus-python-common + python3-devel + python3-sip + qt5-base-devel + qt5-connectivity-devel + qt5-declarative-devel + qt5-enginio-devel + qt5-location-devel + qt5-multimedia-devel + qt5-sensors-devel + qt5-serialport-devel + qt5-svg-devel + qt5-webchannel-devel + qt5-webkit-devel + qt5-websockets-devel + qt5-x11extras-devel + qt5-xmlpatterns-devel + + + PyQt5_gpl-5.6-dbus_ftbfs.patch + + + + + python3-qt5 + A set of Python 3.x bindings for the Qt 5.x Toolkit + + libgcc + dbus + python3 + qt5-base + qt5-sensors + qt5-location + qt5-webkit + qt5-enginio + qt5-x11extras + qt5-svg + qt5-multimedia + qt5-serialport + qt5-webchannel + qt5-websockets + qt5-declarative + qt5-xmlpatterns + qt5-connectivity + python3-sip + + + /usr/bin/pyuic5 + /usr/lib/python3.4/site-packages + /usr/lib/qt5/plugins/PyQt5/libpyqt5qmlplugin.so + /usr/lib/qt5/plugins/designer/libpyqt5.so + /usr/share/doc + /usr/share/qt5/qsci/api/python/PyQt5.api + /usr/bin/pyrcc5 + /usr/bin/pylupdate5 + + + + + python3-qt5-devel + Development files for python3-qt5 + + libgcc + qt5-base + python3-qt5 + + + /usr/share/sip/PyQt5 + + + + + + 2016-06-07 + 5.6 + version bump + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + + 2016-05-25 + 5.6 + version bump + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + + 2016-05-08 + 5.5.1 + First release + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + + diff --git a/programming/language/python3/python3-qt5/translations.xml b/programming/language/python3/python3-qt5/translations.xml new file mode 100644 index 0000000000..55d0863a84 --- /dev/null +++ b/programming/language/python3/python3-qt5/translations.xml @@ -0,0 +1,14 @@ + + + python-qt5 + Qt5.x araçları için python bağlayıcıları + Qt5, C++ kütüphaneleri dizisi ve geliştirme araçları olup grafik kullanıcı arabirimleri için, ağ bağlantısı, iş parçacığı, Unicode, düzenli ifadeler, SQL veritabanları, SVG, OpenGL, XML ve kullanıcıve uygulama ayarları gibi platform bağımsız uygulamalara ayrılır. PyQt, Python modülü seti olarak bu sınıftan 440 kadar uygulamayı çalıştırır. + + + python3-qt5 + + + python3-qt5-docs + + +