From f82a3066ad609ee8ad9cc6d2e054cffa5dc156b7 Mon Sep 17 00:00:00 2001 From: ayhanyalcinsoy Date: Tue, 7 Jun 2016 02:05:33 +0300 Subject: [PATCH] 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 + + +