[arch-commits] Commit in pyqt5/repos (3 files)

2018-07-19 Thread Evangelos Foutras via arch-commits
Date: Thursday, July 19, 2018 @ 08:03:20
  Author: foutrelis
Revision: 329032

archrelease: copy trunk to staging-x86_64

Added:
  pyqt5/repos/staging-x86_64/
  pyqt5/repos/staging-x86_64/PKGBUILD
(from rev 329031, pyqt5/trunk/PKGBUILD)
  pyqt5/repos/staging-x86_64/pyqt-support-new-qt.patch
(from rev 329031, pyqt5/trunk/pyqt-support-new-qt.patch)

---+
 PKGBUILD  |  118 
 pyqt-support-new-qt.patch |   12 
 2 files changed, 130 insertions(+)

Copied: pyqt5/repos/staging-x86_64/PKGBUILD (from rev 329031, 
pyqt5/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-07-19 08:03:20 UTC (rev 329032)
@@ -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.11.2
+pkgrel=2
+arch=('x86_64')
+url="http://riverbankcomputing.co.uk/software/pyqt/intro;
+license=('GPL')
+makedepends=('python-sip-pyqt5' 'python2-sip-pyqt5' 'sip' 'python-opengl' 
'python2-opengl' 'python2-enum34'
+ 'python2-dbus' 'python-dbus' 'qt5-connectivity' 'qt5-multimedia' 
'qt5-tools' 'qt5-serialport' 'qt5-svg'
+ 'qt5-webengine' 'qt5-webkit' 'qt5-websockets' 'qt5-x11extras' 
'qt5-networkauth')
+source=("http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$pkgver/PyQt5_gpl-$pkgver.tar.gz;
 pyqt-support-new-qt.patch)
+sha512sums=('fc60246b5e1ca0d8aeef829fe20de9dd28b77e3c151532f9dbcd92c0deec12d8308cc799901aeec3f84af745e735053d2aaad2866ef64a2426cba343e08bc2c0'
+
'b94b707e4265ff8e84d52214cea7b70db33aa436440c74e4918c165a7dfae8949bf3e91491d300e68c1715b26b693ba69eca114cf42ce6114dab1b99d69d417e')
+
+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
+
+  cp -a PyQt5_gpl-$pkgver{,-py2}
+# Remove check for sip from py2, it doesn't work since sip doesn't install 
__init__.py
+  sed -e 's|from PyQt5 import sip|pass|g' -i PyQt5_gpl-$pkgver-py2/configure.py
+}
+
+build() {
+  cd "$srcdir"/PyQt5_gpl-$pkgver
+  python configure.py \
+--confirm-license \
+--no-sip-files \
+--no-dist-info \
+--qsci-api
+  make
+
+  cd "$srcdir"/PyQt5_gpl-$pkgver-py2
+  python2 configure.py \
+--confirm-license \
+--no-sip-files \
+--no-dist-info \
+--qsci-api
+  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' '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'
+  'qt5-networkauth: QtNetworkAuth')
+
+  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' 'pyqt5-common' 'python2-enum34')
+  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'
+  'qt5-websockets: QtWebSockets'
+  'qt5-connectivity: QtNfc, QtBluetooth'
+  'qt5-webengine: QtWebEngine, QtWebEngineCore, QtWebEngineWidgets'
+ 

[arch-commits] Commit in pyqt5/repos (3 files)

2018-07-08 Thread Antonio Rojas via arch-commits
Date: Sunday, July 8, 2018 @ 18:15:44
  Author: arojas
Revision: 328105

archrelease: copy trunk to testing-x86_64

Added:
  pyqt5/repos/testing-x86_64/
  pyqt5/repos/testing-x86_64/PKGBUILD
(from rev 328104, pyqt5/trunk/PKGBUILD)
  pyqt5/repos/testing-x86_64/pyqt-support-new-qt.patch
(from rev 328104, pyqt5/trunk/pyqt-support-new-qt.patch)

---+
 PKGBUILD  |  118 
 pyqt-support-new-qt.patch |   12 
 2 files changed, 130 insertions(+)

Copied: pyqt5/repos/testing-x86_64/PKGBUILD (from rev 328104, 
pyqt5/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-07-08 18:15:44 UTC (rev 328105)
@@ -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.11.2
+pkgrel=1
+arch=('x86_64')
+url="http://riverbankcomputing.co.uk/software/pyqt/intro;
+license=('GPL')
+makedepends=('python-sip-pyqt5' 'python2-sip-pyqt5' 'sip' 'python-opengl' 
'python2-opengl' 'python2-enum34'
+ 'python2-dbus' 'python-dbus' 'qt5-connectivity' 'qt5-multimedia' 
'qt5-tools' 'qt5-serialport' 'qt5-svg'
+ 'qt5-webengine' 'qt5-webkit' 'qt5-websockets' 'qt5-x11extras' 
'qt5-networkauth')
+source=("http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$pkgver/PyQt5_gpl-$pkgver.tar.gz;
 pyqt-support-new-qt.patch)
+sha512sums=('fc60246b5e1ca0d8aeef829fe20de9dd28b77e3c151532f9dbcd92c0deec12d8308cc799901aeec3f84af745e735053d2aaad2866ef64a2426cba343e08bc2c0'
+
'b94b707e4265ff8e84d52214cea7b70db33aa436440c74e4918c165a7dfae8949bf3e91491d300e68c1715b26b693ba69eca114cf42ce6114dab1b99d69d417e')
+
+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
+
+  cp -a PyQt5_gpl-$pkgver{,-py2}
+# Remove check for sip from py2, it doesn't work since sip doesn't install 
__init__.py
+  sed -e 's|from PyQt5 import sip|pass|g' -i PyQt5_gpl-$pkgver-py2/configure.py
+}
+
+build() {
+  cd "$srcdir"/PyQt5_gpl-$pkgver
+  python configure.py \
+--confirm-license \
+--no-sip-files \
+--no-dist-info \
+--qsci-api
+  make
+
+  cd "$srcdir"/PyQt5_gpl-$pkgver-py2
+  python2 configure.py \
+--confirm-license \
+--no-sip-files \
+--no-dist-info \
+--qsci-api
+  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' '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'
+  'qt5-networkauth: QtNetworkAuth')
+
+  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' 'pyqt5-common' 'python2-enum34')
+  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'
+  'qt5-websockets: QtWebSockets'
+  'qt5-connectivity: QtNfc, QtBluetooth'
+  'qt5-webengine: QtWebEngine, QtWebEngineCore, QtWebEngineWidgets'
+  

[arch-commits] Commit in pyqt5/repos (3 files)

2018-02-27 Thread Antonio Rojas via arch-commits
Date: Tuesday, February 27, 2018 @ 22:49:26
  Author: arojas
Revision: 317609

archrelease: copy trunk to testing-x86_64

Added:
  pyqt5/repos/testing-x86_64/
  pyqt5/repos/testing-x86_64/PKGBUILD
(from rev 317608, pyqt5/trunk/PKGBUILD)
  pyqt5/repos/testing-x86_64/pyqt-support-new-qt.patch
(from rev 317608, pyqt5/trunk/pyqt-support-new-qt.patch)

---+
 PKGBUILD  |  128 
 pyqt-support-new-qt.patch |   12 
 2 files changed, 140 insertions(+)

Copied: pyqt5/repos/testing-x86_64/PKGBUILD (from rev 317608, 
pyqt5/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-02-27 22:49:26 UTC (rev 317609)
@@ -0,0 +1,128 @@
+# $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.10.1
+pkgrel=1
+arch=('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' 
'qt5-networkauth')
+source=("http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$pkgver/PyQt5_gpl-$pkgver.tar.gz;
 pyqt-support-new-qt.patch)
+sha512sums=('04cd0292f7a088f9c0d088d7c73ec96cfc40253f771dfdf194eb92be7635e6fcaf04863fa24215e9c34a096658549bb2feeb8d8fdca1e39ed87f0256ef0f790b'
+
'9e4184291c0ece0bf375da3e0cf6e3f22df33eea1ee2b981fe9e2a0ba7d625583dd513c029c49562189986c0145262ac2aa8e5aa85701a981b3ed4061f4acf36')
+
+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'
+  'qt5-networkauth: QtNetworkAuth')
+
+  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-enum34')
+  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'
+  

[arch-commits] Commit in pyqt5/repos (3 files)

2018-02-13 Thread Antonio Rojas via arch-commits
Date: Tuesday, February 13, 2018 @ 17:37:23
  Author: arojas
Revision: 316809

archrelease: copy trunk to staging-x86_64

Added:
  pyqt5/repos/staging-x86_64/
  pyqt5/repos/staging-x86_64/PKGBUILD
(from rev 316808, pyqt5/trunk/PKGBUILD)
  pyqt5/repos/staging-x86_64/pyqt-support-new-qt.patch
(from rev 316808, pyqt5/trunk/pyqt-support-new-qt.patch)

---+
 PKGBUILD  |  128 
 pyqt-support-new-qt.patch |   12 
 2 files changed, 140 insertions(+)

Copied: pyqt5/repos/staging-x86_64/PKGBUILD (from rev 316808, 
pyqt5/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-02-13 17:37:23 UTC (rev 316809)
@@ -0,0 +1,128 @@
+# $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.10
+pkgrel=3
+arch=('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' 
'qt5-networkauth')
+source=("http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$pkgver/PyQt5_gpl-$pkgver.tar.gz;
 pyqt-support-new-qt.patch)
+sha512sums=('a86520870536618857ed3ee1601af45f5a0b456de192a5d6a3f8fa734e5cf49b8ce373928c0f4aeaae365d3fa95db03b5f59ae2903bc5eb2304b7edf22198033'
+
'9e4184291c0ece0bf375da3e0cf6e3f22df33eea1ee2b981fe9e2a0ba7d625583dd513c029c49562189986c0145262ac2aa8e5aa85701a981b3ed4061f4acf36')
+
+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'
+  'qt5-networkauth: QtNetworkAuth')
+
+  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-enum34')
+  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'
+  

[arch-commits] Commit in pyqt5/repos (3 files)

2018-01-23 Thread Antonio Rojas via arch-commits
Date: Tuesday, January 23, 2018 @ 19:57:19
  Author: arojas
Revision: 315326

archrelease: copy trunk to testing-x86_64

Added:
  pyqt5/repos/testing-x86_64/
  pyqt5/repos/testing-x86_64/PKGBUILD
(from rev 315325, pyqt5/trunk/PKGBUILD)
  pyqt5/repos/testing-x86_64/pyqt-support-new-qt.patch
(from rev 315325, pyqt5/trunk/pyqt-support-new-qt.patch)

---+
 PKGBUILD  |  128 
 pyqt-support-new-qt.patch |   12 
 2 files changed, 140 insertions(+)

Copied: pyqt5/repos/testing-x86_64/PKGBUILD (from rev 315325, 
pyqt5/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-01-23 19:57:19 UTC (rev 315326)
@@ -0,0 +1,128 @@
+# $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.10
+pkgrel=1
+arch=('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' 
'qt5-networkauth')
+source=("http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$pkgver/PyQt5_gpl-$pkgver.tar.gz;
 pyqt-support-new-qt.patch)
+sha512sums=('a86520870536618857ed3ee1601af45f5a0b456de192a5d6a3f8fa734e5cf49b8ce373928c0f4aeaae365d3fa95db03b5f59ae2903bc5eb2304b7edf22198033'
+
'5b4d03609dcc889c0cd3ca72b64295653130b63010c124b4fa32d7a8e7a11fe2d4a8eebee23eee89fac4e2220f64fe121c6de32154640a20d3611e61d3300ce1')
+
+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'
+  'qt5-networkauth: QtNetworkAuth')
+
+  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'
+  

[arch-commits] Commit in pyqt5/repos (3 files)

2017-12-07 Thread Antonio Rojas via arch-commits
Date: Thursday, December 7, 2017 @ 12:03:07
  Author: arojas
Revision: 311768

archrelease: copy trunk to staging-x86_64

Added:
  pyqt5/repos/staging-x86_64/
  pyqt5/repos/staging-x86_64/PKGBUILD
(from rev 311767, pyqt5/trunk/PKGBUILD)
  pyqt5/repos/staging-x86_64/pyqt-support-new-qt.patch
(from rev 311767, pyqt5/trunk/pyqt-support-new-qt.patch)

---+
 PKGBUILD  |  126 
 pyqt-support-new-qt.patch |   12 
 2 files changed, 138 insertions(+)

Copied: pyqt5/repos/staging-x86_64/PKGBUILD (from rev 311767, 
pyqt5/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2017-12-07 12:03:07 UTC (rev 311768)
@@ -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.2
+pkgrel=2
+arch=('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=('5af2e65addaed7dd02d8dbf7a7c63767e565fc8edeb7b51e5991a00cda29f75b666529097646e821aaff556f350a929fd451f548bba76e97355b7fe10bd913bc'
+
'5b4d03609dcc889c0cd3ca72b64295653130b63010c124b4fa32d7a8e7a11fe2d4a8eebee23eee89fac4e2220f64fe121c6de32154640a20d3611e61d3300ce1')
+
+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'
+  'qt5-svg: QtSvg'
+  'qt5-webkit: QtWebKit, QtWebKitWidgets'
+  'qt5-xmlpatterns: 

[arch-commits] Commit in pyqt5/repos (3 files)

2017-11-22 Thread Antonio Rojas
Date: Wednesday, November 22, 2017 @ 17:16:38
  Author: arojas
Revision: 310676

archrelease: copy trunk to staging-x86_64

Added:
  pyqt5/repos/staging-x86_64/
  pyqt5/repos/staging-x86_64/PKGBUILD
(from rev 310675, pyqt5/trunk/PKGBUILD)
  pyqt5/repos/staging-x86_64/pyqt-support-new-qt.patch
(from rev 310675, pyqt5/trunk/pyqt-support-new-qt.patch)

---+
 PKGBUILD  |  126 
 pyqt-support-new-qt.patch |   12 
 2 files changed, 138 insertions(+)

Copied: pyqt5/repos/staging-x86_64/PKGBUILD (from rev 310675, 
pyqt5/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2017-11-22 17:16:38 UTC (rev 310676)
@@ -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=2
+arch=('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'
+
'5e47d6729766365097e734e15bd23a4fa56f79a259241dab46a8f266e9f3fd18dfbe94fe3eeb229669abd41acb02b0b05087082986f835778acd6b0e7565672f')
+
+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'
+  'qt5-svg: QtSvg'
+  'qt5-webkit: QtWebKit, QtWebKitWidgets'
+  'qt5-xmlpatterns: