diff --git a/programming/language/python/python-qt5/actions.py b/programming/language/python/python-qt5/actions.py new file mode 100644 index 0000000000..7fafa794ed --- /dev/null +++ b/programming/language/python/python-qt5/actions.py @@ -0,0 +1,57 @@ +#!/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="PyQt-gpl-%s" % get.srcVERSION() + +def setup(): + + shelltools.copytree("%s/PyQt-gpl-5.4.2" % get.workDIR(), "%s/Py2Qt-gpl-5.4.2" % get.workDIR()) + pythonmodules.run("configure.py --confirm-license \ + --assume-shared \ + --no-timestamp \ + --qsci-api \ + --sip /usr/bin/sip3 \ + --qmake='/usr/lib/qt5/bin/qmake' \ + --destdir='/usr/lib/python3.4/site-packages/' \ + --sip-incdir='/usr/include/python3.4' \ + CFLAGS='%s' CXXFLAGS='%s'" % (get.CFLAGS(), get.CXXFLAGS()), pyVer = "3") + + shelltools.cd("%s/Py2Qt-gpl-5.4.2" % get.workDIR()) + shelltools.system("python configure.py --confirm-license \ + --assume-shared \ + --no-timestamp \ + --qsci-api \ + --destdir='/usr/lib/python2.7/site-packages/' \ + --sip-incdir='/usr/include/python2.7' \ + --sip /usr/bin/sip \ + --qmake='/usr/lib/qt5/bin/qmake'") + shelltools.system("find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'") + +def build(): + + autotools.make() + shelltools.cd("%s/Py2Qt-gpl-5.4.2" % get.workDIR()) + autotools.make() + +def install(): + + 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.rename("/usr/bin/pyuic5", "py3uic5") + + shelltools.cd("%s/Py2Qt-gpl-5.4.2" % get.workDIR()) + autotools.rawInstall("DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()}) + pisitools.rename("/usr/bin/pyuic5", "pyuic5") + + 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 new file mode 100644 index 0000000000..c8816e6ba6 --- /dev/null +++ b/programming/language/python/python-qt5/pspec.xml @@ -0,0 +1,126 @@ + + + + + python-qt5 + http://www.riverbankcomputing.co.uk/software/pyqt + + PisiLinux Community + admins@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.4.2/PyQt-gpl-5.4.2.tar.gz + + dbus-devel + libgcc + qt5-base-devel + qt5-declarative-devel + qt5-multimedia-devel + qt5-serialport-devel + qt5-svg-devel + qt5-webkit-devel + qt5-xmlpatterns-devel + qt5-enginio-devel + qt5-sensors-devel + qt5-location-devel + qt5-websockets-devel + qt5-webchannel-devel + qt5-x11extras-devel + qt5-connectivity-devel + python3-devel + python3-sip3 + sip3-devel + + + + + python-qt5-common + Common files shared between python-qt5 and python3-qt5 + + sip3 + python + + + /usr/bin/pylupdate5 + /usr/bin/pyrcc5 + /usr/share/qt5/qsci/api + /usr/share/sip/PyQt5 + + + + + python-qt5 + A set of Python 2.x bindings for the Qt 5.x Toolkit + + python-qt5-common + qt5-base + libgcc + qt5-svg + qt5-webkit + qt5-sensors + qt5-x11extras + qt5-serialport + qt5-declarative + qt5-xmlpatterns + + + /usr/bin/pyuic5 + /usr/lib/python2.7/site-packages + + + + + python3-qt5 + A set of Python 3.x bindings for the Qt 5.x Toolkit + + libgcc + python-qt5-common + python + qt5-base + qt5-declarative + qt5-serialport + qt5-svg + qt5-webkit + qt5-xmlpatterns + qt5-sensors + qt5-x11extras + + + /usr/bin/py3uic5 + /usr/lib/python3.4/site-packages + /usr/lib/qt5/plugins + + + + + python-qt5-docs + Documentation for python-qt5 bindings + + python-qt5 + + + /usr/share/doc/python-qt5 + + + + + + 2015-06-14 + 5.4.2 + First release + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + + 2015-04-09 + 5.4.1 + First release + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + + diff --git a/programming/language/python/python-qt5/translations.xml b/programming/language/python/python-qt5/translations.xml new file mode 100644 index 0000000000..a93a53a4ec --- /dev/null +++ b/programming/language/python/python-qt5/translations.xml @@ -0,0 +1,30 @@ + + + + python-qt5 + Qt5 4.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. + Qt5 est un ensemble de librairies C++ et d'outils de développement. On y trouve des abstractions indépendante de la plateforme utilisée pour les interfaces graphiques, le réseau, les threads, Unicode, les expressions régulières, les bases de données SQL, SVG, OpenGL, XML, la gestion des paramètres utilisateurs. PyQT implémente 440 de ces classes en tant que modules Python. + Qt5 es un conjunto de librerías C++ y herramientas de desarrollo que incluye abstracción independiente de la plataforma, para interfaces de usuarios gráficos, redes, hilos, Unicode, expresiones regulares, bases de datos SQL, SVG, OpenGL, XML, y configuraciones de usuario y de aplicaciones. PyQt implementa 440 de estas clases como conjunto de módulos Python. + + + + python-qt5-webkit + Webkit kitaplığı için Python bağlayıcıları + + + + python-qt5-phonon + Phonon çokluortam kitaplığı için Python bağlayıcıları + + + + python-qt5-docs + python-qt5 bağlayıcıları için belgelendirme + + + + python-qt5-devel + python-qt5 için geliştirme dosyaları + +