[arch-commits] Commit in pyqt5/repos (6 files)
Date: Friday, November 3, 2017 @ 19:08:40 Author: arojas Revision: 308895 archrelease: copy trunk to testing-i686, testing-x86_64 Added: pyqt5/repos/testing-i686/ pyqt5/repos/testing-i686/PKGBUILD (from rev 308894, pyqt5/trunk/PKGBUILD) pyqt5/repos/testing-i686/pyqt-support-new-qt.patch (from rev 308894, pyqt5/trunk/pyqt-support-new-qt.patch) pyqt5/repos/testing-x86_64/ pyqt5/repos/testing-x86_64/PKGBUILD (from rev 308894, pyqt5/trunk/PKGBUILD) pyqt5/repos/testing-x86_64/pyqt-support-new-qt.patch (from rev 308894, pyqt5/trunk/pyqt-support-new-qt.patch) --+ testing-i686/PKGBUILD| 126 + testing-i686/pyqt-support-new-qt.patch | 12 ++ testing-x86_64/PKGBUILD | 126 + testing-x86_64/pyqt-support-new-qt.patch | 12 ++ 4 files changed, 276 insertions(+) Copied: pyqt5/repos/testing-i686/PKGBUILD (from rev 308894, pyqt5/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2017-11-03 19:08:40 UTC (rev 308895) @@ -0,0 +1,126 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino +# Contributor: Yichao Yu +# Contributor: Douglas Soares de Andrade +# Contributor: riai Ben + +pkgbase=pyqt5 +pkgname=('pyqt5-common' 'python-pyqt5' 'python2-pyqt5') +pkgver=5.9.1 +pkgrel=1 +arch=('i686' 'x86_64') +url="http://riverbankcomputing.co.uk/software/pyqt/intro"; +license=('GPL') +makedepends=('python-sip' 'python2-sip' 'python-opengl' 'python2-opengl' + 'python2-dbus' 'python-dbus' 'qt5-connectivity' + 'qt5-multimedia' 'qt5-tools' 'qt5-serialport' 'qt5-svg' + 'qt5-webengine' 'qt5-webkit' 'qt5-websockets' 'qt5-x11extras') +source=("http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$pkgver/PyQt5_gpl-$pkgver.tar.gz"; pyqt-support-new-qt.patch) +sha512sums=('1c7d00dac5329296dd205eddeeecfd29495c4746791730056d143438871eb64a5d9827dcb1e28a78e8746218908e0e72374bd686a21b631b9aa1aa1c67e61eac' + 'd5a5550aa5d94a49398ef4f1e7d7f7c752d210bfa02913820d5a5db83a8ab79d0fb9cc3458a2a630cf3e46f3376f47bd4fedcd66fe0309c8a3548f23e0e04a2b') + +prepare() { + # Support new versions of Qt - don't remove, needs to be reapplied after every new Qt release + pushd PyQt5_gpl-$pkgver + # patch -p1 -i ../pyqt-support-new-qt.patch + popd + + # The additional include path was removed due to this line, I don't really know why they are doing this... + sed -i '/target_config.dbus_inc_dirs = \[\]/d' PyQt5_gpl-$pkgver/configure.py + + cp -a PyQt5_gpl-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/PyQt5_gpl-$pkgver + python configure.py \ +--confirm-license \ +--no-sip-files \ +--qsci-api \ +-q /usr/bin/qmake-qt5 + + # Thanks Gerardo for the rpath fix + find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g' + + make + + cd "$srcdir"/PyQt5_gpl-$pkgver-py2 + python2 configure.py \ +--confirm-license \ +--no-sip-files \ +--qsci-api \ +-q /usr/bin/qmake-qt5 + + # Thanks Gerardo for the rpath fix + find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g' + + make +} + +package_pyqt5-common(){ + pkgdesc="Common PyQt files shared between python-pyqt5 and python2-pyqt5" + depends=('qt5-base') + + cd PyQt5_gpl-$pkgver + install -Dm644 PyQt5.api "$pkgdir"/usr/share/qt/qsci/api/python/PyQt5.api + + install -d "$pkgdir"/usr/share/sip/PyQt5 + cp -a sip/* "$pkgdir"/usr/share/sip/PyQt5 +} + +package_python-pyqt5(){ + pkgdesc="A set of Python 3.x bindings for the Qt5 toolkit" + depends=('python-sip' 'pyqt5-common') + optdepends=('python-opengl: enable OpenGL 3D graphics in PyQt applications' + 'python-dbus: for python-dbus mainloop support' + 'qt5-multimedia: QtMultimedia, QtMultimediaWidgets' + 'qt5-tools: QtHelp, QtDesigner' + 'qt5-svg: QtSvg' + 'qt5-webkit: QtWebKit, QtWebKitWidgets' + 'qt5-xmlpatterns: QtXmlPatterns' + 'qt5-declarative: QtQml, qmlplugin' + 'qt5-serialport: QtSerialPort' + 'qt5-websockets: QtWebSockets' + 'qt5-connectivity: QtNfc, QtBluetooth' + 'qt5-webengine: QtWebEngine, QtWebEngineCore, QtWebEngineWidgets' + 'qt5-x11extras: QtX11Extras') + + cd PyQt5_gpl-$pkgver + # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR + make DESTDIR="$pkgdir" INSTALL_ROOT="$pkgdir" install + + # Provided by pyqt-common + rm "$pkgdir"/usr/share/qt/qsci/api/python/PyQt5.api +} + +package_python2-pyqt5(){ + pkgdesc="A set of Python 2.x bindings for the Qt5 toolkit" + depends=('python2-sip' 'pyqt5-common') + optdepends=('python2-opengl: enable OpenGL 3D graphics in PyQt applications' + 'python-db
[arch-commits] Commit in pyqt5/repos (6 files)
Date: Saturday, October 7, 2017 @ 09:52:14 Author: arojas Revision: 307109 archrelease: copy trunk to staging-i686, staging-x86_64 Added: pyqt5/repos/staging-i686/ pyqt5/repos/staging-i686/PKGBUILD (from rev 307108, pyqt5/trunk/PKGBUILD) pyqt5/repos/staging-i686/pyqt-support-new-qt.patch (from rev 307108, pyqt5/trunk/pyqt-support-new-qt.patch) pyqt5/repos/staging-x86_64/ pyqt5/repos/staging-x86_64/PKGBUILD (from rev 307108, pyqt5/trunk/PKGBUILD) pyqt5/repos/staging-x86_64/pyqt-support-new-qt.patch (from rev 307108, pyqt5/trunk/pyqt-support-new-qt.patch) --+ staging-i686/PKGBUILD| 126 + staging-i686/pyqt-support-new-qt.patch | 12 ++ staging-x86_64/PKGBUILD | 126 + staging-x86_64/pyqt-support-new-qt.patch | 12 ++ 4 files changed, 276 insertions(+) Copied: pyqt5/repos/staging-i686/PKGBUILD (from rev 307108, pyqt5/trunk/PKGBUILD) === --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2017-10-07 09:52:14 UTC (rev 307109) @@ -0,0 +1,126 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino +# Contributor: Yichao Yu +# Contributor: Douglas Soares de Andrade +# Contributor: riai Ben + +pkgbase=pyqt5 +pkgname=('pyqt5-common' 'python-pyqt5' 'python2-pyqt5') +pkgver=5.9 +pkgrel=2 +arch=('i686' 'x86_64') +url="http://riverbankcomputing.co.uk/software/pyqt/intro"; +license=('GPL') +makedepends=('python-sip' 'python2-sip' 'python-opengl' 'python2-opengl' + 'python2-dbus' 'python-dbus' 'qt5-connectivity' + 'qt5-multimedia' 'qt5-tools' 'qt5-serialport' 'qt5-svg' + 'qt5-webengine' 'qt5-webkit' 'qt5-websockets' 'qt5-x11extras') +source=("http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$pkgver/PyQt5_gpl-$pkgver.tar.gz"; pyqt-support-new-qt.patch) +sha512sums=('6e925dee751d6b2ab97b3614b0150f305798b89920e11db7a2cbef579e4c21839a38f4ad7eee5828a0c2894255715a265e043004ee7838d376025d32e4aa' + 'd5a5550aa5d94a49398ef4f1e7d7f7c752d210bfa02913820d5a5db83a8ab79d0fb9cc3458a2a630cf3e46f3376f47bd4fedcd66fe0309c8a3548f23e0e04a2b') + +prepare() { + # Support new versions of Qt - don't remove, needs to be reapplied after every new Qt release + pushd PyQt5_gpl-$pkgver + patch -p1 -i ../pyqt-support-new-qt.patch + popd + + # The additional include path was removed due to this line, I don't really know why they are doing this... + sed -i '/target_config.dbus_inc_dirs = \[\]/d' PyQt5_gpl-$pkgver/configure.py + + cp -a PyQt5_gpl-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/PyQt5_gpl-$pkgver + python configure.py \ +--confirm-license \ +--no-sip-files \ +--qsci-api \ +-q /usr/bin/qmake-qt5 + + # Thanks Gerardo for the rpath fix + find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g' + + make + + cd "$srcdir"/PyQt5_gpl-$pkgver-py2 + python2 configure.py \ +--confirm-license \ +--no-sip-files \ +--qsci-api \ +-q /usr/bin/qmake-qt5 + + # Thanks Gerardo for the rpath fix + find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g' + + make +} + +package_pyqt5-common(){ + pkgdesc="Common PyQt files shared between python-pyqt5 and python2-pyqt5" + depends=('qt5-base') + + cd PyQt5_gpl-$pkgver + install -Dm644 PyQt5.api "$pkgdir"/usr/share/qt/qsci/api/python/PyQt5.api + + install -d "$pkgdir"/usr/share/sip/PyQt5 + cp -a sip/* "$pkgdir"/usr/share/sip/PyQt5 +} + +package_python-pyqt5(){ + pkgdesc="A set of Python 3.x bindings for the Qt5 toolkit" + depends=('python-sip' 'pyqt5-common') + optdepends=('python-opengl: enable OpenGL 3D graphics in PyQt applications' + 'python-dbus: for python-dbus mainloop support' + 'qt5-multimedia: QtMultimedia, QtMultimediaWidgets' + 'qt5-tools: QtHelp, QtDesigner' + 'qt5-svg: QtSvg' + 'qt5-webkit: QtWebKit, QtWebKitWidgets' + 'qt5-xmlpatterns: QtXmlPatterns' + 'qt5-declarative: QtQml, qmlplugin' + 'qt5-serialport: QtSerialPort' + 'qt5-websockets: QtWebSockets' + 'qt5-connectivity: QtNfc, QtBluetooth' + 'qt5-webengine: QtWebEngine, QtWebEngineCore, QtWebEngineWidgets' + 'qt5-x11extras: QtX11Extras') + + cd PyQt5_gpl-$pkgver + # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR + make DESTDIR="$pkgdir" INSTALL_ROOT="$pkgdir" install + + # Provided by pyqt-common + rm "$pkgdir"/usr/share/qt/qsci/api/python/PyQt5.api +} + +package_python2-pyqt5(){ + pkgdesc="A set of Python 2.x bindings for the Qt5 toolkit" + depends=('python2-sip' 'pyqt5-common') + optdepends=('python2-opengl: enable OpenGL 3D graphics in PyQt applications' + 'python-dbus:
[arch-commits] Commit in pyqt5/repos (6 files)
Date: Thursday, July 6, 2017 @ 06:10:31 Author: arojas Revision: 299744 archrelease: copy trunk to testing-i686, testing-x86_64 Added: pyqt5/repos/testing-i686/ pyqt5/repos/testing-i686/PKGBUILD (from rev 299743, pyqt5/trunk/PKGBUILD) pyqt5/repos/testing-i686/pyqt-support-new-qt.patch (from rev 299743, pyqt5/trunk/pyqt-support-new-qt.patch) pyqt5/repos/testing-x86_64/ pyqt5/repos/testing-x86_64/PKGBUILD (from rev 299743, pyqt5/trunk/PKGBUILD) pyqt5/repos/testing-x86_64/pyqt-support-new-qt.patch (from rev 299743, pyqt5/trunk/pyqt-support-new-qt.patch) --+ testing-i686/PKGBUILD| 126 + testing-i686/pyqt-support-new-qt.patch | 12 ++ testing-x86_64/PKGBUILD | 126 + testing-x86_64/pyqt-support-new-qt.patch | 12 ++ 4 files changed, 276 insertions(+) Copied: pyqt5/repos/testing-i686/PKGBUILD (from rev 299743, pyqt5/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2017-07-06 06:10:31 UTC (rev 299744) @@ -0,0 +1,126 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino +# Contributor: Yichao Yu +# Contributor: Douglas Soares de Andrade +# Contributor: riai Ben + +pkgbase=pyqt5 +pkgname=('pyqt5-common' 'python-pyqt5' 'python2-pyqt5') +pkgver=5.9 +pkgrel=1 +arch=('i686' 'x86_64') +url="http://riverbankcomputing.co.uk/software/pyqt/intro"; +license=('GPL') +makedepends=('python-sip' 'python2-sip' 'python-opengl' 'python2-opengl' + 'python2-dbus' 'python-dbus' 'qt5-connectivity' + 'qt5-multimedia' 'qt5-tools' 'qt5-serialport' 'qt5-svg' + 'qt5-webengine' 'qt5-webkit' 'qt5-websockets' 'qt5-x11extras') +source=("http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$pkgver/PyQt5_gpl-$pkgver.tar.gz"; pyqt-support-new-qt.patch) +sha512sums=('6e925dee751d6b2ab97b3614b0150f305798b89920e11db7a2cbef579e4c21839a38f4ad7eee5828a0c2894255715a265e043004ee7838d376025d32e4aa' + '5b0793b281ec7136670fe1b8785704a09d71f79ac4d6479c966a3ec43a76cb3e225311a121a34e3a274a627bd929be2a6e8d108a12a10967f8d1cf888be5030f') + +prepare() { + # Support new versions of Qt - don't remove, needs to be reapplied after every new Qt release +# pushd PyQt5_gpl-$pkgver +# patch -p1 -i ../pyqt-support-new-qt.patch +# popd + + # The additional include path was removed due to this line, I don't really know why they are doing this... + sed -i '/target_config.dbus_inc_dirs = \[\]/d' PyQt5_gpl-$pkgver/configure.py + + cp -a PyQt5_gpl-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/PyQt5_gpl-$pkgver + python configure.py \ +--confirm-license \ +--no-sip-files \ +--qsci-api \ +-q /usr/bin/qmake-qt5 + + # Thanks Gerardo for the rpath fix + find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g' + + make + + cd "$srcdir"/PyQt5_gpl-$pkgver-py2 + python2 configure.py \ +--confirm-license \ +--no-sip-files \ +--qsci-api \ +-q /usr/bin/qmake-qt5 + + # Thanks Gerardo for the rpath fix + find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g' + + make +} + +package_pyqt5-common(){ + pkgdesc="Common PyQt files shared between python-pyqt5 and python2-pyqt5" + depends=('qt5-base') + + cd PyQt5_gpl-$pkgver + install -Dm644 PyQt5.api "$pkgdir"/usr/share/qt/qsci/api/python/PyQt5.api + + install -d "$pkgdir"/usr/share/sip/PyQt5 + cp -a sip/* "$pkgdir"/usr/share/sip/PyQt5 +} + +package_python-pyqt5(){ + pkgdesc="A set of Python 3.x bindings for the Qt5 toolkit" + depends=('python-sip' 'pyqt5-common') + optdepends=('python-opengl: enable OpenGL 3D graphics in PyQt applications' + 'python-dbus: for python-dbus mainloop support' + 'qt5-multimedia: QtMultimedia, QtMultimediaWidgets' + 'qt5-tools: QtHelp, QtDesigner' + 'qt5-svg: QtSvg' + 'qt5-webkit: QtWebKit, QtWebKitWidgets' + 'qt5-xmlpatterns: QtXmlPatterns' + 'qt5-declarative: QtQml, qmlplugin' + 'qt5-serialport: QtSerialPort' + 'qt5-websockets: QtWebSockets' + 'qt5-connectivity: QtNfc, QtBluetooth' + 'qt5-webengine: QtWebEngine, QtWebEngineCore, QtWebEngineWidgets' + 'qt5-x11extras: QtX11Extras') + + cd PyQt5_gpl-$pkgver + # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR + make DESTDIR="$pkgdir" INSTALL_ROOT="$pkgdir" install + + # Provided by pyqt-common + rm "$pkgdir"/usr/share/qt/qsci/api/python/PyQt5.api +} + +package_python2-pyqt5(){ + pkgdesc="A set of Python 2.x bindings for the Qt5 toolkit" + depends=('python2-sip' 'pyqt5-common') + optdepends=('python2-opengl: enable OpenGL 3D graphics in PyQt applications' + 'python-dbus:
[arch-commits] Commit in pyqt5/repos (6 files)
Date: Sunday, July 2, 2017 @ 06:31:00 Author: arojas Revision: 299533 archrelease: copy trunk to testing-i686, testing-x86_64 Added: pyqt5/repos/testing-i686/ pyqt5/repos/testing-i686/PKGBUILD (from rev 299532, pyqt5/trunk/PKGBUILD) pyqt5/repos/testing-i686/pyqt-support-new-qt.patch (from rev 299532, pyqt5/trunk/pyqt-support-new-qt.patch) pyqt5/repos/testing-x86_64/ pyqt5/repos/testing-x86_64/PKGBUILD (from rev 299532, pyqt5/trunk/PKGBUILD) pyqt5/repos/testing-x86_64/pyqt-support-new-qt.patch (from rev 299532, pyqt5/trunk/pyqt-support-new-qt.patch) --+ testing-i686/PKGBUILD| 126 + testing-i686/pyqt-support-new-qt.patch | 12 ++ testing-x86_64/PKGBUILD | 126 + testing-x86_64/pyqt-support-new-qt.patch | 12 ++ 4 files changed, 276 insertions(+) Copied: pyqt5/repos/testing-i686/PKGBUILD (from rev 299532, pyqt5/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2017-07-02 06:31:00 UTC (rev 299533) @@ -0,0 +1,126 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino +# Contributor: Yichao Yu +# Contributor: Douglas Soares de Andrade +# Contributor: riai Ben + +pkgbase=pyqt5 +pkgname=('pyqt5-common' 'python-pyqt5' 'python2-pyqt5') +pkgver=5.8.2 +pkgrel=3 +arch=('i686' 'x86_64') +url="http://riverbankcomputing.co.uk/software/pyqt/intro"; +license=('GPL') +makedepends=('python-sip' 'python2-sip' 'python-opengl' 'python2-opengl' + 'python2-dbus' 'python-dbus' 'qt5-connectivity' + 'qt5-multimedia' 'qt5-tools' 'qt5-serialport' 'qt5-svg' + 'qt5-webengine' 'qt5-webkit' 'qt5-websockets' 'qt5-x11extras') +source=("http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$pkgver/PyQt5_gpl-$pkgver.tar.gz"; pyqt-support-new-qt.patch) +sha512sums=('8b765b9ae6210b7312a2dc6ed94d2664ae569625fe8a27443bae4230d9d9c00e0cf3b4be6904c66ebceff5cd5bbd19a5a9794a0b3222c8098a55f0b94fc8d89b' + '5b0793b281ec7136670fe1b8785704a09d71f79ac4d6479c966a3ec43a76cb3e225311a121a34e3a274a627bd929be2a6e8d108a12a10967f8d1cf888be5030f') + +prepare() { + # Support new versions of Qt - don't remove, needs to be reapplied after every new Qt release + pushd PyQt5_gpl-$pkgver + patch -p1 -i ../pyqt-support-new-qt.patch + popd + + # The additional include path was removed due to this line, I don't really know why they are doing this... + sed -i '/target_config.dbus_inc_dirs = \[\]/d' PyQt5_gpl-$pkgver/configure.py + + cp -a PyQt5_gpl-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/PyQt5_gpl-$pkgver + python configure.py \ +--confirm-license \ +--no-sip-files \ +--qsci-api \ +-q /usr/bin/qmake-qt5 + + # Thanks Gerardo for the rpath fix + find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g' + + make + + cd "$srcdir"/PyQt5_gpl-$pkgver-py2 + python2 configure.py \ +--confirm-license \ +--no-sip-files \ +--qsci-api \ +-q /usr/bin/qmake-qt5 + + # Thanks Gerardo for the rpath fix + find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g' + + make +} + +package_pyqt5-common(){ + pkgdesc="Common PyQt files shared between python-pyqt5 and python2-pyqt5" + depends=('qt5-base') + + cd PyQt5_gpl-$pkgver + install -Dm644 PyQt5.api "$pkgdir"/usr/share/qt/qsci/api/python/PyQt5.api + + install -d "$pkgdir"/usr/share/sip/PyQt5 + cp -a sip/* "$pkgdir"/usr/share/sip/PyQt5 +} + +package_python-pyqt5(){ + pkgdesc="A set of Python 3.x bindings for the Qt5 toolkit" + depends=('python-sip' 'pyqt5-common') + optdepends=('python-opengl: enable OpenGL 3D graphics in PyQt applications' + 'python-dbus: for python-dbus mainloop support' + 'qt5-multimedia: QtMultimedia, QtMultimediaWidgets' + 'qt5-tools: QtHelp, QtDesigner' + 'qt5-svg: QtSvg' + 'qt5-webkit: QtWebKit, QtWebKitWidgets' + 'qt5-xmlpatterns: QtXmlPatterns' + 'qt5-declarative: QtQml, qmlplugin' + 'qt5-serialport: QtSerialPort' + 'qt5-websockets: QtWebSockets' + 'qt5-connectivity: QtNfc, QtBluetooth' + 'qt5-webengine: QtWebEngine, QtWebEngineCore, QtWebEngineWidgets' + 'qt5-x11extras: QtX11Extras') + + cd PyQt5_gpl-$pkgver + # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR + make DESTDIR="$pkgdir" INSTALL_ROOT="$pkgdir" install + + # Provided by pyqt-common + rm "$pkgdir"/usr/share/qt/qsci/api/python/PyQt5.api +} + +package_python2-pyqt5(){ + pkgdesc="A set of Python 2.x bindings for the Qt5 toolkit" + depends=('python2-sip' 'pyqt5-common') + optdepends=('python2-opengl: enable OpenGL 3D graphics in PyQt applications' + 'python-dbus: fo
[arch-commits] Commit in pyqt5/repos (6 files)
Date: Wednesday, May 31, 2017 @ 21:42:51 Author: arojas Revision: 297026 archrelease: copy trunk to staging-i686, staging-x86_64 Added: pyqt5/repos/staging-i686/ pyqt5/repos/staging-i686/PKGBUILD (from rev 297025, pyqt5/trunk/PKGBUILD) pyqt5/repos/staging-i686/pyqt-support-new-qt.patch (from rev 297025, pyqt5/trunk/pyqt-support-new-qt.patch) pyqt5/repos/staging-x86_64/ pyqt5/repos/staging-x86_64/PKGBUILD (from rev 297025, pyqt5/trunk/PKGBUILD) pyqt5/repos/staging-x86_64/pyqt-support-new-qt.patch (from rev 297025, pyqt5/trunk/pyqt-support-new-qt.patch) --+ staging-i686/PKGBUILD| 125 + staging-i686/pyqt-support-new-qt.patch | 12 ++ staging-x86_64/PKGBUILD | 125 + staging-x86_64/pyqt-support-new-qt.patch | 12 ++ 4 files changed, 274 insertions(+) Copied: pyqt5/repos/staging-i686/PKGBUILD (from rev 297025, pyqt5/trunk/PKGBUILD) === --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2017-05-31 21:42:51 UTC (rev 297026) @@ -0,0 +1,125 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino +# Contributor: Yichao Yu +# Contributor: Douglas Soares de Andrade +# Contributor: riai Ben + +pkgbase=pyqt5 +pkgname=('pyqt5-common' 'python-pyqt5' 'python2-pyqt5') +pkgver=5.8.2 +pkgrel=3 +arch=('i686' 'x86_64') +url="http://riverbankcomputing.co.uk/software/pyqt/intro"; +license=('GPL') +makedepends=('python-sip' 'python2-sip' 'python-opengl' 'python2-opengl' + 'python2-dbus' 'python-dbus' 'qt5-connectivity' + 'qt5-multimedia' 'qt5-tools' 'qt5-serialport' 'qt5-svg' + 'qt5-webengine' 'qt5-webkit' 'qt5-websockets' 'qt5-x11extras') +source=("http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$pkgver/PyQt5_gpl-$pkgver.tar.gz";) +sha512sums=('8b765b9ae6210b7312a2dc6ed94d2664ae569625fe8a27443bae4230d9d9c00e0cf3b4be6904c66ebceff5cd5bbd19a5a9794a0b3222c8098a55f0b94fc8d89b') + +prepare() { + # Support new versions of Qt - don't remove, needs to be reapplied after every new Qt release + # pushd PyQt5_gpl-$pkgver + # patch -p1 -i ../pyqt-support-new-qt.patch + # popd + + # The additional include path was removed due to this line, I don't really know why they are doing this... + sed -i '/target_config.dbus_inc_dirs = \[\]/d' PyQt5_gpl-$pkgver/configure.py + + cp -a PyQt5_gpl-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/PyQt5_gpl-$pkgver + python configure.py \ +--confirm-license \ +--no-sip-files \ +--qsci-api \ +-q /usr/bin/qmake-qt5 + + # Thanks Gerardo for the rpath fix + find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g' + + make + + cd "$srcdir"/PyQt5_gpl-$pkgver-py2 + python2 configure.py \ +--confirm-license \ +--no-sip-files \ +--qsci-api \ +-q /usr/bin/qmake-qt5 + + # Thanks Gerardo for the rpath fix + find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g' + + make +} + +package_pyqt5-common(){ + pkgdesc="Common PyQt files shared between python-pyqt5 and python2-pyqt5" + depends=('qt5-base') + + cd PyQt5_gpl-$pkgver + install -Dm644 PyQt5.api "$pkgdir"/usr/share/qt/qsci/api/python/PyQt5.api + + install -d "$pkgdir"/usr/share/sip/PyQt5 + cp -a sip/* "$pkgdir"/usr/share/sip/PyQt5 +} + +package_python-pyqt5(){ + pkgdesc="A set of Python 3.x bindings for the Qt5 toolkit" + depends=('python-sip' 'pyqt5-common') + optdepends=('python-opengl: enable OpenGL 3D graphics in PyQt applications' + 'python-dbus: for python-dbus mainloop support' + 'qt5-multimedia: QtMultimedia, QtMultimediaWidgets' + 'qt5-tools: QtHelp, QtDesigner' + 'qt5-svg: QtSvg' + 'qt5-webkit: QtWebKit, QtWebKitWidgets' + 'qt5-xmlpatterns: QtXmlPatterns' + 'qt5-declarative: QtQml, qmlplugin' + 'qt5-serialport: QtSerialPort' + 'qt5-websockets: QtWebSockets' + 'qt5-connectivity: QtNfc, QtBluetooth' + 'qt5-webengine: QtWebEngine, QtWebEngineCore, QtWebEngineWidgets' + 'qt5-x11extras: QtX11Extras') + + cd PyQt5_gpl-$pkgver + # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR + make DESTDIR="$pkgdir" INSTALL_ROOT="$pkgdir" install + + # Provided by pyqt-common + rm "$pkgdir"/usr/share/qt/qsci/api/python/PyQt5.api +} + +package_python2-pyqt5(){ + pkgdesc="A set of Python 2.x bindings for the Qt5 toolkit" + depends=('python2-sip' 'pyqt5-common') + optdepends=('python2-opengl: enable OpenGL 3D graphics in PyQt applications' + 'python-dbus: for python-dbus mainloop support' + 'qt5-multimedia: QtMultimedia, QtMultimediaWidgets' + 'qt5-tools: QtHelp, QtDesigner' + 'q
[arch-commits] Commit in pyqt5/repos (6 files)
Date: Wednesday, March 29, 2017 @ 07:47:52 Author: felixonmars Revision: 291775 archrelease: copy trunk to testing-i686, testing-x86_64 Added: pyqt5/repos/testing-i686/ pyqt5/repos/testing-i686/PKGBUILD (from rev 291774, pyqt5/trunk/PKGBUILD) pyqt5/repos/testing-i686/pyqt-support-new-qt.patch (from rev 291774, pyqt5/trunk/pyqt-support-new-qt.patch) pyqt5/repos/testing-x86_64/ pyqt5/repos/testing-x86_64/PKGBUILD (from rev 291774, pyqt5/trunk/PKGBUILD) pyqt5/repos/testing-x86_64/pyqt-support-new-qt.patch (from rev 291774, pyqt5/trunk/pyqt-support-new-qt.patch) --+ testing-i686/PKGBUILD| 123 + testing-i686/pyqt-support-new-qt.patch | 12 ++ testing-x86_64/PKGBUILD | 123 + testing-x86_64/pyqt-support-new-qt.patch | 12 ++ 4 files changed, 270 insertions(+) Copied: pyqt5/repos/testing-i686/PKGBUILD (from rev 291774, pyqt5/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2017-03-29 07:47:52 UTC (rev 291775) @@ -0,0 +1,123 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino +# Contributor: Yichao Yu +# Contributor: Douglas Soares de Andrade +# Contributor: riai Ben + +pkgbase=pyqt5 +pkgname=('pyqt5-common' 'python-pyqt5' 'python2-pyqt5') +pkgver=5.8.1 +pkgrel=1 +arch=('i686' 'x86_64') +url="http://riverbankcomputing.co.uk/software/pyqt/intro"; +license=('GPL') +makedepends=('python-sip' 'python2-sip' 'python-opengl' 'python2-opengl' + 'python2-dbus' 'python-dbus' 'qt5-connectivity' + 'qt5-multimedia' 'qt5-tools' 'qt5-serialport' 'qt5-svg' + 'qt5-webengine' 'qt5-webkit' 'qt5-websockets' 'qt5-x11extras') +source=("http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$pkgver/PyQt5_gpl-$pkgver.tar.gz";) +sha512sums=('56607263f6782409a2088b986954e973fdeea681fe3d6e3708b4946477da1431c33814454ad14e758de7c46b1dac660f3204aae2e1087249d13be6d80ddd6458') + +prepare() { + # Support new versions of Qt - don't remove, needs to be reapplied after every new Qt release + # patch -p1 -i ../pyqt-support-new-qt.patch + + # The additional include path was removed due to this line, I don't really know why they are doing this... + sed -i '/target_config.dbus_inc_dirs = \[\]/d' PyQt5_gpl-$pkgver/configure.py + + cp -a PyQt5_gpl-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/PyQt5_gpl-$pkgver + python configure.py \ +--confirm-license \ +--no-sip-files \ +--qsci-api \ +-q /usr/bin/qmake-qt5 + + # Thanks Gerardo for the rpath fix + find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g' + + make + + cd "$srcdir"/PyQt5_gpl-$pkgver-py2 + python2 configure.py \ +--confirm-license \ +--no-sip-files \ +--qsci-api \ +-q /usr/bin/qmake-qt5 + + # Thanks Gerardo for the rpath fix + find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g' + + make +} + +package_pyqt5-common(){ + pkgdesc="Common PyQt files shared between python-pyqt5 and python2-pyqt5" + depends=('qt5-base') + + cd PyQt5_gpl-$pkgver + install -Dm644 PyQt5.api "$pkgdir"/usr/share/qt/qsci/api/python/PyQt5.api + + install -d "$pkgdir"/usr/share/sip/PyQt5 + cp -a sip/* "$pkgdir"/usr/share/sip/PyQt5 +} + +package_python-pyqt5(){ + pkgdesc="A set of Python 3.x bindings for the Qt5 toolkit" + depends=('python-sip' 'pyqt5-common') + optdepends=('python-opengl: enable OpenGL 3D graphics in PyQt applications' + 'python-dbus: for python-dbus mainloop support' + 'qt5-multimedia: QtMultimedia, QtMultimediaWidgets' + 'qt5-tools: QtHelp, QtDesigner' + 'qt5-svg: QtSvg' + 'qt5-webkit: QtWebKit, QtWebKitWidgets' + 'qt5-xmlpatterns: QtXmlPatterns' + 'qt5-declarative: QtQml, qmlplugin' + 'qt5-serialport: QtSerialPort' + 'qt5-websockets: QtWebSockets' + 'qt5-connectivity: QtNfc, QtBluetooth' + 'qt5-webengine: QtWebEngine, QtWebEngineCore, QtWebEngineWidgets' + 'qt5-x11extras: QtX11Extras') + + cd PyQt5_gpl-$pkgver + # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR + make DESTDIR="$pkgdir" INSTALL_ROOT="$pkgdir" install + + # Provided by pyqt-common + rm "$pkgdir"/usr/share/qt/qsci/api/python/PyQt5.api +} + +package_python2-pyqt5(){ + pkgdesc="A set of Python 2.x bindings for the Qt5 toolkit" + depends=('python2-sip' 'pyqt5-common') + optdepends=('python2-opengl: enable OpenGL 3D graphics in PyQt applications' + 'python-dbus: for python-dbus mainloop support' + 'qt5-multimedia: QtMultimedia, QtMultimediaWidgets' + 'qt5-tools: QtHelp, QtDesigner' + 'qt5-svg: QtSvg' + 'q
[arch-commits] Commit in pyqt5/repos (6 files)
Date: Monday, March 20, 2017 @ 14:16:38 Author: jelle Revision: 291109 archrelease: copy trunk to community-i686, community-x86_64 Added: pyqt5/repos/community-i686/ pyqt5/repos/community-i686/PKGBUILD (from rev 291108, pyqt5/trunk/PKGBUILD) pyqt5/repos/community-i686/pyqt-5.8-segfault.patch (from rev 291108, pyqt5/trunk/pyqt-5.8-segfault.patch) pyqt5/repos/community-x86_64/ pyqt5/repos/community-x86_64/PKGBUILD (from rev 291108, pyqt5/trunk/PKGBUILD) pyqt5/repos/community-x86_64/pyqt-5.8-segfault.patch (from rev 291108, pyqt5/trunk/pyqt-5.8-segfault.patch) --+ community-i686/PKGBUILD | 119 + community-i686/pyqt-5.8-segfault.patch | 62 +++ community-x86_64/PKGBUILD| 119 + community-x86_64/pyqt-5.8-segfault.patch | 62 +++ 4 files changed, 362 insertions(+) Copied: pyqt5/repos/community-i686/PKGBUILD (from rev 291108, pyqt5/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2017-03-20 14:16:38 UTC (rev 291109) @@ -0,0 +1,119 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino +# Contributor: Yichao Yu +# Contributor: Douglas Soares de Andrade +# Contributor: riai Ben + +pkgbase=pyqt5 +pkgname=('pyqt5-common' 'python-pyqt5' 'python2-pyqt5') +pkgver=5.8 +_pkgver=$pkgver +pkgrel=2 +arch=('i686' 'x86_64') +url="http://riverbankcomputing.co.uk/software/pyqt/intro"; +license=('GPL') +makedepends=('python-sip' 'python2-sip' 'python-opengl' 'python2-opengl' + 'python2-dbus' 'python-dbus' 'qt5-connectivity' + 'qt5-multimedia' 'qt5-tools' 'qt5-serialport' 'qt5-svg' + 'qt5-webengine' 'qt5-webkit' 'qt5-websockets' 'qt5-x11extras') +source=("http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$pkgver/PyQt5_gpl-$pkgver.tar.gz"; "pyqt-5.8-segfault.patch") +md5sums=('ac04c0bfc1f05f5a1c2a1edd2640235c' + 'de7b2781874ff0c7c0d710f718cfa01a') + +prepare() { + pushd PyQt5_gpl-${_pkgver} + patch -Np1 -i "${srcdir}/pyqt-5.8-segfault.patch" + popd + + + # The additional include path was removed due to this line, I don't really know why they are doing this... + sed -i '/target_config.dbus_inc_dirs = \[\]/d' PyQt5_gpl-${_pkgver}/configure.py + + cp -a PyQt5_gpl-${_pkgver}{,-py2} +} + +build() { + cd "$srcdir"/PyQt5_gpl-${_pkgver} + python configure.py \ +--confirm-license \ +--no-sip-files \ +--qsci-api \ +-q /usr/bin/qmake-qt5 + + # Thanks Gerardo for the rpath fix + find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g' + + make + + cd "$srcdir"/PyQt5_gpl-${_pkgver}-py2 + python2 configure.py \ +--confirm-license \ +--no-sip-files \ +--qsci-api \ +-q /usr/bin/qmake-qt5 + + # Thanks Gerardo for the rpath fix + find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g' + + make +} + +package_pyqt5-common(){ + pkgdesc="Common PyQt files shared between python-pyqt5 and python2-pyqt5" + depends=('qt5-base') + + cd PyQt5_gpl-${_pkgver} + install -Dm644 PyQt5.api "${pkgdir}"/usr/share/qt/qsci/api/python/PyQt5.api + + install -d "${pkgdir}"/usr/share/sip/PyQt5 + cp -a sip/* "${pkgdir}"/usr/share/sip/PyQt5 +} + +package_python-pyqt5(){ + pkgdesc="A set of Python 3.x bindings for the Qt5 toolkit" + depends=('python-sip' 'pyqt5-common') + optdepends=('python-opengl: enable OpenGL 3D graphics in PyQt applications' + 'python-dbus: for python-dbus mainloop support' + 'qt5-multimedia: QtMultimedia, QtMultimediaWidgets' + 'qt5-tools: QtHelp, QtDesigner' + 'qt5-svg: QtSvg' + 'qt5-webkit: QtWebKit, QtWebKitWidgets' + 'qt5-xmlpatterns: QtXmlPatterns' + 'qt5-declarative: QtQml, qmlplugin' + 'qt5-serialport: QtSerialPort') + + cd PyQt5_gpl-${_pkgver} + # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR + make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install + + # Provided by pyqt-common + rm "${pkgdir}"/usr/share/qt/qsci/api/python/PyQt5.api +} + +package_python2-pyqt5(){ + pkgdesc="A set of Python 2.x bindings for the Qt5 toolkit" + depends=('python2-sip' 'pyqt5-common') + optdepends=('python2-opengl: enable OpenGL 3D graphics in PyQt applications' + 'python-dbus: for python-dbus mainloop support' + 'qt5-multimedia: QtMultimedia, QtMultimediaWidgets' + 'qt5-tools: QtHelp, QtDesigner' + 'qt5-svg: QtSvg' + 'qt5-webkit: QtWebKit, QtWebKitWidgets' + 'qt5-xmlpatterns: QtXmlPatterns' + 'qt5-declarative: QtQml, qmlplugin' + 'qt5-serialport: QtSerialPort') + + cd PyQt5_gpl-${_pkgver}-py2 + # INSTALL_R
[arch-commits] Commit in pyqt5/repos (6 files)
Date: Thursday, February 16, 2017 @ 18:23:48 Author: arojas Revision: 289070 archrelease: copy trunk to testing-i686, testing-x86_64 Added: pyqt5/repos/testing-i686/ pyqt5/repos/testing-i686/PKGBUILD (from rev 289069, pyqt5/trunk/PKGBUILD) pyqt5/repos/testing-i686/pyqt-qt5.8.patch (from rev 289069, pyqt5/trunk/pyqt-qt5.8.patch) pyqt5/repos/testing-x86_64/ pyqt5/repos/testing-x86_64/PKGBUILD (from rev 289069, pyqt5/trunk/PKGBUILD) pyqt5/repos/testing-x86_64/pyqt-qt5.8.patch (from rev 289069, pyqt5/trunk/pyqt-qt5.8.patch) -+ testing-i686/PKGBUILD | 118 ++ testing-i686/pyqt-qt5.8.patch | 12 +++ testing-x86_64/PKGBUILD | 118 ++ testing-x86_64/pyqt-qt5.8.patch | 12 +++ 4 files changed, 260 insertions(+) Copied: pyqt5/repos/testing-i686/PKGBUILD (from rev 289069, pyqt5/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2017-02-16 18:23:48 UTC (rev 289070) @@ -0,0 +1,118 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino +# Contributor: Yichao Yu +# Contributor: Douglas Soares de Andrade +# Contributor: riai Ben + +pkgbase=pyqt5 +pkgname=('pyqt5-common' 'python-pyqt5' 'python2-pyqt5') +pkgver=5.8 +_pkgver=$pkgver +pkgrel=1 +arch=('i686' 'x86_64') +url="http://riverbankcomputing.co.uk/software/pyqt/intro"; +license=('GPL') +makedepends=('python-sip' 'python2-sip' 'python-opengl' 'python2-opengl' + 'python2-dbus' 'python-dbus' 'qt5-connectivity' + 'qt5-multimedia' 'qt5-tools' 'qt5-serialport' 'qt5-svg' + 'qt5-webengine' 'qt5-webkit' 'qt5-websockets' 'qt5-x11extras') +source=("http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$pkgver/PyQt5_gpl-$pkgver.tar.gz";) +md5sums=('ac04c0bfc1f05f5a1c2a1edd2640235c') + +prepare() { + pushd PyQt5_gpl-${_pkgver} + # Support Qt 5.8 + # patch -p1 -i ../pyqt-qt5.8.patch + popd + + # The additional include path was removed due to this line, I don't really know why they are doing this... + sed -i '/target_config.dbus_inc_dirs = \[\]/d' PyQt5_gpl-${_pkgver}/configure.py + + cp -a PyQt5_gpl-${_pkgver}{,-py2} +} + +build() { + cd "$srcdir"/PyQt5_gpl-${_pkgver} + python configure.py \ +--confirm-license \ +--no-sip-files \ +--qsci-api \ +-q /usr/bin/qmake-qt5 + + # Thanks Gerardo for the rpath fix + find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g' + + make + + cd "$srcdir"/PyQt5_gpl-${_pkgver}-py2 + python2 configure.py \ +--confirm-license \ +--no-sip-files \ +--qsci-api \ +-q /usr/bin/qmake-qt5 + + # Thanks Gerardo for the rpath fix + find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g' + + make +} + +package_pyqt5-common(){ + pkgdesc="Common PyQt files shared between python-pyqt5 and python2-pyqt5" + depends=('qt5-base') + + cd PyQt5_gpl-${_pkgver} + install -Dm644 PyQt5.api "${pkgdir}"/usr/share/qt/qsci/api/python/PyQt5.api + + install -d "${pkgdir}"/usr/share/sip/PyQt5 + cp -a sip/* "${pkgdir}"/usr/share/sip/PyQt5 +} + +package_python-pyqt5(){ + pkgdesc="A set of Python 3.x bindings for the Qt5 toolkit" + depends=('python-sip' 'pyqt5-common' 'python' 'python') + optdepends=('python-opengl: enable OpenGL 3D graphics in PyQt applications' + 'python-dbus: for python-dbus mainloop support' + 'qt5-multimedia: QtMultimedia, QtMultimediaWidgets' + 'qt5-tools: QtHelp, QtDesigner' + 'qt5-svg: QtSvg' + 'qt5-webkit: QtWebKit, QtWebKitWidgets' + 'qt5-xmlpatterns: QtXmlPatterns' + 'qt5-declarative: QtQml, qmlplugin' + 'qt5-serialport: QtSerialPort') + + cd PyQt5_gpl-${_pkgver} + # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR + make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install + + # Provided by pyqt-common + rm "${pkgdir}"/usr/share/qt/qsci/api/python/PyQt5.api +} + +package_python2-pyqt5(){ + pkgdesc="A set of Python 2.x bindings for the Qt5 toolkit" + depends=('python2-sip' 'pyqt5-common' 'python2') + optdepends=('python2-opengl: enable OpenGL 3D graphics in PyQt applications' + 'python-dbus: for python-dbus mainloop support' + 'qt5-multimedia: QtMultimedia, QtMultimediaWidgets' + 'qt5-tools: QtHelp, QtDesigner' + 'qt5-svg: QtSvg' + 'qt5-webkit: QtWebKit, QtWebKitWidgets' + 'qt5-xmlpatterns: QtXmlPatterns' + 'qt5-declarative: QtQml, qmlplugin' + 'qt5-serialport: QtSerialPort') + + cd PyQt5_gpl-${_pkgver}-py2 + # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR + make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" insta
[arch-commits] Commit in pyqt5/repos (6 files)
Date: Monday, January 23, 2017 @ 11:12:16 Author: felixonmars Revision: 287193 archrelease: copy trunk to extra-i686, extra-x86_64 Added: pyqt5/repos/extra-i686/PKGBUILD (from rev 287192, pyqt5/trunk/PKGBUILD) pyqt5/repos/extra-x86_64/PKGBUILD (from rev 287192, pyqt5/trunk/PKGBUILD) Deleted: pyqt5/repos/extra-i686/PKGBUILD pyqt5/repos/extra-i686/pyqt-qt5.7.1.patch pyqt5/repos/extra-x86_64/PKGBUILD pyqt5/repos/extra-x86_64/pyqt-qt5.7.1.patch -+ /PKGBUILD | 226 ++ extra-i686/PKGBUILD | 116 --- extra-i686/pyqt-qt5.7.1.patch | 12 -- extra-x86_64/PKGBUILD | 116 --- extra-x86_64/pyqt-qt5.7.1.patch | 12 -- 5 files changed, 226 insertions(+), 256 deletions(-) Deleted: extra-i686/PKGBUILD === --- extra-i686/PKGBUILD 2017-01-23 11:11:30 UTC (rev 287192) +++ extra-i686/PKGBUILD 2017-01-23 11:12:16 UTC (rev 287193) @@ -1,116 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan -# Contributor: Andrea Scarpino -# Contributor: Yichao Yu -# Contributor: Douglas Soares de Andrade -# Contributor: riai Ben - -pkgbase=pyqt5 -pkgname=('pyqt5-common' 'python-pyqt5' 'python2-pyqt5') -pkgver=5.7 -_pkgver=$pkgver -pkgrel=3 -arch=('i686' 'x86_64') -url="http://riverbankcomputing.co.uk/software/pyqt/intro"; -license=('GPL') -makedepends=('python-sip' 'python2-sip' 'python-opengl' 'python2-opengl' - 'python2-dbus' 'python-dbus' 'qt5-connectivity' - 'qt5-multimedia' 'qt5-tools' 'qt5-serialport' 'qt5-svg' - 'qt5-webengine' 'qt5-webkit' 'qt5-websockets' 'qt5-x11extras') -source=("http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$pkgver/PyQt5_gpl-$pkgver.tar.gz"; pyqt-qt5.7.1.patch) -md5sums=('e3dc21f31fd714659f0688e1eb31bacf' - '6f00ffd5def3ccb853c5e0d794f897b2') - -prepare() { - # The additional include path was removed due to this line, I don't really know why they are doing this... - sed -i '/target_config.dbus_inc_dirs = \[\]/d' PyQt5_gpl-${_pkgver}/configure.py - # support Qt 5.7.1 - patch -p0 -i pyqt-qt5.7.1.patch - - cp -a PyQt5_gpl-${_pkgver}{,-py2} -} - -build() { - cd "$srcdir"/PyQt5_gpl-${_pkgver} - python configure.py \ ---confirm-license \ ---no-sip-files \ ---qsci-api \ --q /usr/bin/qmake-qt5 - - # Thanks Gerardo for the rpath fix - find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g' - - make - - cd "$srcdir"/PyQt5_gpl-${_pkgver}-py2 - python2 configure.py \ ---confirm-license \ ---no-sip-files \ ---qsci-api \ --q /usr/bin/qmake-qt5 - - # Thanks Gerardo for the rpath fix - find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g' - - make -} - -package_pyqt5-common(){ - pkgdesc="Common PyQt files shared between python-pyqt5 and python2-pyqt5" - depends=('qt5-base') - - cd PyQt5_gpl-${_pkgver} - install -Dm644 PyQt5.api "${pkgdir}"/usr/share/qt/qsci/api/python/PyQt5.api - - install -d "${pkgdir}"/usr/share/sip/PyQt5 - cp -a sip/* "${pkgdir}"/usr/share/sip/PyQt5 -} - -package_python-pyqt5(){ - pkgdesc="A set of Python 3.x bindings for the Qt5 toolkit" - depends=('python-sip' 'pyqt5-common' 'python' 'python') - optdepends=('python-opengl: enable OpenGL 3D graphics in PyQt applications' - 'python-dbus: for python-dbus mainloop support' - 'qt5-multimedia: QtMultimedia, QtMultimediaWidgets' - 'qt5-tools: QtHelp, QtDesigner' - 'qt5-svg: QtSvg' - 'qt5-webkit: QtWebKit, QtWebKitWidgets' - 'qt5-xmlpatterns: QtXmlPatterns' - 'qt5-declarative: QtQml, qmlplugin' - 'qt5-serialport: QtSerialPort') - - cd PyQt5_gpl-${_pkgver} - # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR - make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install - - # Provided by pyqt-common - rm "${pkgdir}"/usr/share/qt/qsci/api/python/PyQt5.api -} - -package_python2-pyqt5(){ - pkgdesc="A set of Python 2.x bindings for the Qt5 toolkit" - depends=('python2-sip' 'pyqt5-common' 'python2') - optdepends=('python2-opengl: enable OpenGL 3D graphics in PyQt applications' - 'python-dbus: for python-dbus mainloop support' - 'qt5-multimedia: QtMultimedia, QtMultimediaWidgets' - 'qt5-tools: QtHelp, QtDesigner' - 'qt5-svg: QtSvg' - 'qt5-webkit: QtWebKit, QtWebKitWidgets' - 'qt5-xmlpatterns: QtXmlPatterns' - 'qt5-declarative: QtQml, qmlplugin' - 'qt5-serialport: QtSerialPort') - - cd PyQt5_gpl-${_pkgver}-py2 - # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR - make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install - - # Fix conflicts with python-pyqt5 - mv "${pkgdir}"/usr/bin/{,pyt
[arch-commits] Commit in pyqt5/repos (6 files)
Date: Monday, December 26, 2016 @ 10:13:37 Author: felixonmars Revision: 284799 archrelease: copy trunk to staging-i686, staging-x86_64 Added: pyqt5/repos/staging-i686/ pyqt5/repos/staging-i686/PKGBUILD (from rev 284798, pyqt5/trunk/PKGBUILD) pyqt5/repos/staging-i686/pyqt-qt5.7.1.patch (from rev 284798, pyqt5/trunk/pyqt-qt5.7.1.patch) pyqt5/repos/staging-x86_64/ pyqt5/repos/staging-x86_64/PKGBUILD (from rev 284798, pyqt5/trunk/PKGBUILD) pyqt5/repos/staging-x86_64/pyqt-qt5.7.1.patch (from rev 284798, pyqt5/trunk/pyqt-qt5.7.1.patch) ---+ staging-i686/PKGBUILD | 116 staging-i686/pyqt-qt5.7.1.patch | 12 +++ staging-x86_64/PKGBUILD | 116 staging-x86_64/pyqt-qt5.7.1.patch | 12 +++ 4 files changed, 256 insertions(+) Copied: pyqt5/repos/staging-i686/PKGBUILD (from rev 284798, pyqt5/trunk/PKGBUILD) === --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2016-12-26 10:13:37 UTC (rev 284799) @@ -0,0 +1,116 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino +# Contributor: Yichao Yu +# Contributor: Douglas Soares de Andrade +# Contributor: riai Ben + +pkgbase=pyqt5 +pkgname=('pyqt5-common' 'python-pyqt5' 'python2-pyqt5') +pkgver=5.7 +_pkgver=$pkgver +pkgrel=3 +arch=('i686' 'x86_64') +url="http://riverbankcomputing.co.uk/software/pyqt/intro"; +license=('GPL') +makedepends=('python-sip' 'python2-sip' 'python-opengl' 'python2-opengl' + 'python2-dbus' 'python-dbus' 'qt5-connectivity' + 'qt5-multimedia' 'qt5-tools' 'qt5-serialport' 'qt5-svg' + 'qt5-webengine' 'qt5-webkit' 'qt5-websockets' 'qt5-x11extras') +source=("http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$pkgver/PyQt5_gpl-$pkgver.tar.gz"; pyqt-qt5.7.1.patch) +md5sums=('e3dc21f31fd714659f0688e1eb31bacf' + '6f00ffd5def3ccb853c5e0d794f897b2') + +prepare() { + # The additional include path was removed due to this line, I don't really know why they are doing this... + sed -i '/target_config.dbus_inc_dirs = \[\]/d' PyQt5_gpl-${_pkgver}/configure.py + # support Qt 5.7.1 + patch -p0 -i pyqt-qt5.7.1.patch + + cp -a PyQt5_gpl-${_pkgver}{,-py2} +} + +build() { + cd "$srcdir"/PyQt5_gpl-${_pkgver} + python configure.py \ +--confirm-license \ +--no-sip-files \ +--qsci-api \ +-q /usr/bin/qmake-qt5 + + # Thanks Gerardo for the rpath fix + find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g' + + make + + cd "$srcdir"/PyQt5_gpl-${_pkgver}-py2 + python2 configure.py \ +--confirm-license \ +--no-sip-files \ +--qsci-api \ +-q /usr/bin/qmake-qt5 + + # Thanks Gerardo for the rpath fix + find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g' + + make +} + +package_pyqt5-common(){ + pkgdesc="Common PyQt files shared between python-pyqt5 and python2-pyqt5" + depends=('qt5-base') + + cd PyQt5_gpl-${_pkgver} + install -Dm644 PyQt5.api "${pkgdir}"/usr/share/qt/qsci/api/python/PyQt5.api + + install -d "${pkgdir}"/usr/share/sip/PyQt5 + cp -a sip/* "${pkgdir}"/usr/share/sip/PyQt5 +} + +package_python-pyqt5(){ + pkgdesc="A set of Python 3.x bindings for the Qt5 toolkit" + depends=('python-sip' 'pyqt5-common' 'python' 'python') + optdepends=('python-opengl: enable OpenGL 3D graphics in PyQt applications' + 'python-dbus: for python-dbus mainloop support' + 'qt5-multimedia: QtMultimedia, QtMultimediaWidgets' + 'qt5-tools: QtHelp, QtDesigner' + 'qt5-svg: QtSvg' + 'qt5-webkit: QtWebKit, QtWebKitWidgets' + 'qt5-xmlpatterns: QtXmlPatterns' + 'qt5-declarative: QtQml, qmlplugin' + 'qt5-serialport: QtSerialPort') + + cd PyQt5_gpl-${_pkgver} + # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR + make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install + + # Provided by pyqt-common + rm "${pkgdir}"/usr/share/qt/qsci/api/python/PyQt5.api +} + +package_python2-pyqt5(){ + pkgdesc="A set of Python 2.x bindings for the Qt5 toolkit" + depends=('python2-sip' 'pyqt5-common' 'python2') + optdepends=('python2-opengl: enable OpenGL 3D graphics in PyQt applications' + 'python-dbus: for python-dbus mainloop support' + 'qt5-multimedia: QtMultimedia, QtMultimediaWidgets' + 'qt5-tools: QtHelp, QtDesigner' + 'qt5-svg: QtSvg' + 'qt5-webkit: QtWebKit, QtWebKitWidgets' + 'qt5-xmlpatterns: QtXmlPatterns' + 'qt5-declarative: QtQml, qmlplugin' + 'qt5-serialport: QtSerialPort') + + cd PyQt5_gpl-${_pkgver}-py2 + # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR + make DESTDIR="