[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2020-11-20 Thread Antonio Rojas via arch-commits
Date: Friday, November 20, 2020 @ 10:52:54
  Author: arojas
Revision: 401523

python 3.9 rebuild

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-20 10:51:15 UTC (rev 401522)
+++ PKGBUILD2020-11-20 10:52:54 UTC (rev 401523)
@@ -6,7 +6,7 @@
 _qtver=5.15.2
 _clangver=11.0.0
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 url='https://www.qt.io'
 license=(GPL2 LGPL)


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2020-11-20 Thread Antonio Rojas via arch-commits
Date: Friday, November 20, 2020 @ 10:51:03
  Author: arojas
Revision: 401521

Update to 5.15.2

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |   21 +++--
 1 file changed, 7 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-20 10:44:48 UTC (rev 401520)
+++ PKGBUILD2020-11-20 10:51:03 UTC (rev 401521)
@@ -3,10 +3,10 @@
 
 pkgbase=shiboken2
 pkgname=(shiboken2 python-shiboken2)
-_qtver=5.15.1
+_qtver=5.15.2
 _clangver=11.0.0
 pkgver=${_qtver/-/}
-pkgrel=4
+pkgrel=1
 arch=(x86_64)
 url='https://www.qt.io'
 license=(GPL2 LGPL)
@@ -14,26 +14,20 @@
 makedepends=(clang llvm cmake libxslt qt5-xmlpatterns python-sphinx)
 _pkgfqn=pyside-setup-opensource-src-$_qtver
 
source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz;)
-sha256sums=('f175c1d8813257904cf0efeb58e44f68d53b9916f73adaf9ce19514c0271c3fa')
+sha256sums=('b306504b0b8037079a8eab772ee774b9e877a2d84bab2dbefbe4fa6f83941418')
 
-prepare() {
-  mkdir -p build
-}
-
 build() {
-  cd build
-  cmake ../${_pkgfqn}/sources/shiboken2 \
+  cmake -B build -S ${_pkgfqn}/sources/shiboken2 \
 -DCMAKE_INSTALL_PREFIX=/usr \
 -DBUILD_TESTS=OFF \
 -DUSE_PYTHON_VERSION=3
-  make
+  cmake --build build
 }
 
 package_shiboken2() {
   depends=(clang=$_clangver llvm libxslt qt5-xmlpatterns)
 
-  cd build
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" cmake --install build
 # Provided in python-shiboken2
   rm -r "$pkgdir"/usr/lib/{python*,libshiboken*}
 }
@@ -41,8 +35,7 @@
 package_python-shiboken2() {
   depends=(python)
 
-  cd build
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" cmake --install build
 # Provided in shiboken2
   rm -r "$pkgdir"/usr/{bin,include,lib/{cmake,pkgconfig}}
 }


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2020-11-12 Thread Evangelos Foutras via arch-commits
Date: Thursday, November 12, 2020 @ 12:03:29
  Author: foutrelis
Revision: 400508

upgpkg: shiboken2 5.15.1-4: Python 3.9 rebuild

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-12 12:03:10 UTC (rev 400507)
+++ PKGBUILD2020-11-12 12:03:29 UTC (rev 400508)
@@ -6,7 +6,7 @@
 _qtver=5.15.1
 _clangver=11.0.0
 pkgver=${_qtver/-/}
-pkgrel=3
+pkgrel=4
 arch=(x86_64)
 url='https://www.qt.io'
 license=(GPL2 LGPL)


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2020-11-09 Thread Felix Yan via arch-commits
Date: Monday, November 9, 2020 @ 18:20:55
  Author: felixonmars
Revision: 399886

upgpkg: shiboken2 5.15.1-3: Python 3.9 rebuild

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-09 18:20:24 UTC (rev 399885)
+++ PKGBUILD2020-11-09 18:20:55 UTC (rev 399886)
@@ -6,7 +6,7 @@
 _qtver=5.15.1
 _clangver=11.0.0
 pkgver=${_qtver/-/}
-pkgrel=2
+pkgrel=3
 arch=(x86_64)
 url='https://www.qt.io'
 license=(GPL2 LGPL)


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2020-10-13 Thread Antonio Rojas via arch-commits
Date: Tuesday, October 13, 2020 @ 08:53:11
  Author: arojas
Revision: 398109

LLVM/clang 11 rebuild

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-10-13 08:49:28 UTC (rev 398108)
+++ PKGBUILD2020-10-13 08:53:11 UTC (rev 398109)
@@ -4,9 +4,9 @@
 pkgbase=shiboken2
 pkgname=(shiboken2 python-shiboken2)
 _qtver=5.15.1
-_clangver=10.0.1
+_clangver=11.0.0
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 url='https://www.qt.io'
 license=(GPL2 LGPL)


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2020-09-10 Thread Antonio Rojas via arch-commits
Date: Thursday, September 10, 2020 @ 14:18:37
  Author: arojas
Revision: 395689

Update to 5.15.1

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-09-10 14:07:28 UTC (rev 395688)
+++ PKGBUILD2020-09-10 14:18:37 UTC (rev 395689)
@@ -3,10 +3,10 @@
 
 pkgbase=shiboken2
 pkgname=(shiboken2 python-shiboken2)
-_qtver=5.15.0
+_qtver=5.15.1
 _clangver=10.0.1
 pkgver=${_qtver/-/}
-pkgrel=2
+pkgrel=1
 arch=(x86_64)
 url='https://www.qt.io'
 license=(GPL2 LGPL)
@@ -14,7 +14,7 @@
 makedepends=(clang llvm cmake libxslt qt5-xmlpatterns python-sphinx)
 _pkgfqn=pyside-setup-opensource-src-$_qtver
 
source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz;)
-sha256sums=('f1cdee53de3b76e22c1117a014a91ed95ac16e4760776f4f12dc38cd5a7b6b68')
+sha256sums=('f175c1d8813257904cf0efeb58e44f68d53b9916f73adaf9ce19514c0271c3fa')
 
 prepare() {
   mkdir -p build


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2020-07-22 Thread Evangelos Foutras via arch-commits
Date: Wednesday, July 22, 2020 @ 21:29:31
  Author: foutrelis
Revision: 392400

upgpkg: shiboken2 5.15.0-2: clang 10.0.1 rebuild

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-22 21:29:30 UTC (rev 392399)
+++ PKGBUILD2020-07-22 21:29:31 UTC (rev 392400)
@@ -4,9 +4,9 @@
 pkgbase=shiboken2
 pkgname=(shiboken2 python-shiboken2)
 _qtver=5.15.0
-_clangver=10.0.0
+_clangver=10.0.1
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 url='https://www.qt.io'
 license=(GPL2 LGPL)


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2020-05-27 Thread Antonio Rojas via arch-commits
Date: Wednesday, May 27, 2020 @ 13:04:10
  Author: arojas
Revision: 387710

Update to 5.15.0

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-05-27 12:22:01 UTC (rev 387709)
+++ PKGBUILD2020-05-27 13:04:10 UTC (rev 387710)
@@ -3,18 +3,18 @@
 
 pkgbase=shiboken2
 pkgname=(shiboken2 python-shiboken2)
-_qtver=5.14.2.1
+_qtver=5.15.0
 _clangver=10.0.0
 pkgver=${_qtver/-/}
-pkgrel=2
+pkgrel=1
 arch=(x86_64)
 url='https://www.qt.io'
 license=(GPL2 LGPL)
 pkgdesc='Generates bindings for C++ libraries using CPython source code'
 makedepends=(clang llvm cmake libxslt qt5-xmlpatterns python-sphinx)
-_pkgfqn=pyside-setup-opensource-src-${_qtver%.*}
+_pkgfqn=pyside-setup-opensource-src-$_qtver
 
source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz;)
-sha256sums=('11f48956208a487dabf6f531e60fb88ad0e48f2979cfc9e79c1c986387c491fa')
+sha256sums=('f1cdee53de3b76e22c1117a014a91ed95ac16e4760776f4f12dc38cd5a7b6b68')
 
 prepare() {
   mkdir -p build


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2020-04-24 Thread Antonio Rojas via arch-commits
Date: Friday, April 24, 2020 @ 11:15:32
  Author: arojas
Revision: 381480

Update to 5.14.2.1

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-24 11:12:57 UTC (rev 381479)
+++ PKGBUILD2020-04-24 11:15:32 UTC (rev 381480)
@@ -3,7 +3,7 @@
 
 pkgbase=shiboken2
 pkgname=(shiboken2 python-shiboken2)
-_qtver=5.14.2
+_qtver=5.14.2.1
 _clangver=10.0.0
 pkgver=${_qtver/-/}
 pkgrel=2
@@ -12,9 +12,9 @@
 license=(GPL2 LGPL)
 pkgdesc='Generates bindings for C++ libraries using CPython source code'
 makedepends=(clang llvm cmake libxslt qt5-xmlpatterns python-sphinx)
-_pkgfqn=pyside-setup-opensource-src-${_qtver}
+_pkgfqn=pyside-setup-opensource-src-${_qtver%.*}
 
source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz;)
-sha256sums=('7c7af33792de57255dbdc165c808e1f03a2520295c5922d9897aca8ad1be92b3')
+sha256sums=('11f48956208a487dabf6f531e60fb88ad0e48f2979cfc9e79c1c986387c491fa')
 
 prepare() {
   mkdir -p build


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2020-04-11 Thread Antonio Rojas via arch-commits
Date: Saturday, April 11, 2020 @ 21:30:40
  Author: arojas
Revision: 380132

clang/LLVM 10 rebuild

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-11 21:28:32 UTC (rev 380131)
+++ PKGBUILD2020-04-11 21:30:40 UTC (rev 380132)
@@ -4,9 +4,9 @@
 pkgbase=shiboken2
 pkgname=(shiboken2 python-shiboken2)
 _qtver=5.14.2
-_clangver=9.0.1
+_clangver=10.0.0
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 url='https://www.qt.io'
 license=(GPL2 LGPL)


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2020-03-31 Thread Antonio Rojas via arch-commits
Date: Tuesday, March 31, 2020 @ 11:30:22
  Author: arojas
Revision: 378903

Update to 5.14.2

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-03-31 11:23:35 UTC (rev 378902)
+++ PKGBUILD2020-03-31 11:30:22 UTC (rev 378903)
@@ -3,7 +3,7 @@
 
 pkgbase=shiboken2
 pkgname=(shiboken2 python-shiboken2)
-_qtver=5.14.1
+_qtver=5.14.2
 _clangver=9.0.1
 pkgver=${_qtver/-/}
 pkgrel=1
@@ -14,7 +14,7 @@
 makedepends=(clang llvm cmake libxslt qt5-xmlpatterns python-sphinx)
 _pkgfqn=pyside-setup-opensource-src-${_qtver}
 
source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz;)
-sha256sums=('41ce931695567639c92acb68a9d66ed5609f067011af9a94b53fc0d697ad1d1c')
+sha256sums=('7c7af33792de57255dbdc165c808e1f03a2520295c5922d9897aca8ad1be92b3')
 
 prepare() {
   mkdir -p build
@@ -44,5 +44,5 @@
   cd build
   make DESTDIR="$pkgdir" install
 # Provided in shiboken2
-  rm -r "$pkgdir"/usr/{bin,include,lib/{cmake,pkgconfig},share}
+  rm -r "$pkgdir"/usr/{bin,include,lib/{cmake,pkgconfig}}
 }


[arch-commits] Commit in shiboken2/trunk (PKGBUILD shiboken-fix-falkon.patch)

2020-01-30 Thread Antonio Rojas via arch-commits
Date: Thursday, January 30, 2020 @ 11:47:24
  Author: arojas
Revision: 374327

Update to 5.14.1

Modified:
  shiboken2/trunk/PKGBUILD
Deleted:
  shiboken2/trunk/shiboken-fix-falkon.patch

---+
 PKGBUILD  |   13 +++-
 shiboken-fix-falkon.patch |   46 
 2 files changed, 4 insertions(+), 55 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-01-30 11:17:12 UTC (rev 374326)
+++ PKGBUILD2020-01-30 11:47:24 UTC (rev 374327)
@@ -3,10 +3,10 @@
 
 pkgbase=shiboken2
 pkgname=(shiboken2 python-shiboken2)
-_qtver=5.14.0
+_qtver=5.14.1
 _clangver=9.0.1
 pkgver=${_qtver/-/}
-pkgrel=3
+pkgrel=1
 arch=(x86_64)
 url='https://www.qt.io'
 license=(GPL2 LGPL)
@@ -13,16 +13,11 @@
 pkgdesc='Generates bindings for C++ libraries using CPython source code'
 makedepends=(clang llvm cmake libxslt qt5-xmlpatterns python-sphinx)
 _pkgfqn=pyside-setup-opensource-src-${_qtver}
-source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz;
- shiboken-fix-falkon.patch)
-sha256sums=('8c2ad1901a99165ed7bac8f522ee351ae3ebadd580024248f5a1db52e4a94b30'
-'3093d8d9e76bffce4e9fc16a620f9401749efff8b4d7e26c57d09f5342040627')
+source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz;)
+sha256sums=('41ce931695567639c92acb68a9d66ed5609f067011af9a94b53fc0d697ad1d1c')
 
 prepare() {
   mkdir -p build
-
-  cd $_pkgfqn
-  patch -p1 -i ../shiboken-fix-falkon.patch # Fix loading Falkon plugins
 }
 
 build() {

Deleted: shiboken-fix-falkon.patch
===
--- shiboken-fix-falkon.patch   2020-01-30 11:17:12 UTC (rev 374326)
+++ shiboken-fix-falkon.patch   2020-01-30 11:47:24 UTC (rev 374327)
@@ -1,46 +0,0 @@
-From 92944434452d185ef0b023abd5eec224aea7eeb2 Mon Sep 17 00:00:00 2001
-From: Christian Tismer 
-Date: Wed, 13 Nov 2019 19:12:16 +0100
-Subject: [PATCH] WIP: qApp: Ensure QtCore import when embedded QApplication 
subclass is used
-
-The qApp machinery works great with Python.
-When using embedding, things are different because there
-is no longer a wrapper layer.
-
-Unfortunately, many extension modules use C++ to derive a
-QApplication class.
-
-This has the side effect that when a foreign C++ module gets
-imported, the qApp machinery does not see it as it would
-in Python.
-
-Instead of a complex analysis, we always make sure that QtCore
-is imported. It will report the right instance, anyway.
-
-XXX make sure that this assumption is really true...
-
-Change-Id: Ie9c56ac75e6c0ae3ace615dfc26c6d218ff4efea
-Fixes: PYSIDE-1135

-
-diff --git a/sources/shiboken2/libshiboken/qapp_macro.cpp 
b/sources/shiboken2/libshiboken/qapp_macro.cpp
-index 306f53b..c2018bd 100644
 a/sources/shiboken2/libshiboken/qapp_macro.cpp
-+++ b/sources/shiboken2/libshiboken/qapp_macro.cpp
-@@ -246,7 +246,14 @@
-  * qApp_contents variable and assigns the instance, instead of vice-versa.
-  */
- PyObject *coreDict = qApp_moduledicts[1];
--if (qApp != nullptr && coreDict != nullptr) {
-+if (coreDict == nullptr) {
-+// PYSIDE-1135: Make sure that at least QtCore gets imported.
-+// That problem exists when a derived instance is created in C++.
-+qApp_moduledicts[1] = Py_None; // anything != nullptr during import
-+coreDict = PyImport_ImportModule("PySide2.QtCore");
-+qApp_moduledicts[1] = coreDict;
-+}
-+if (qApp != nullptr && coreDict != nullptr && coreDict != Py_None) {
- PyObject *coreApp = PyDict_GetItemString(coreDict, 
"QCoreApplication");
- if (coreApp != nullptr) {
- qApp_content = PyObject_CallMethod(coreApp, "instance", "");
-


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2019-12-29 Thread Evangelos Foutras via arch-commits
Date: Sunday, December 29, 2019 @ 23:28:29
  Author: foutrelis
Revision: 372354

upgpkg: shiboken2 5.14.0-3: clang 9.0.1 rebuild

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-12-29 23:26:36 UTC (rev 372353)
+++ PKGBUILD2019-12-29 23:28:29 UTC (rev 372354)
@@ -4,9 +4,9 @@
 pkgbase=shiboken2
 pkgname=(shiboken2 python-shiboken2)
 _qtver=5.14.0
-_clangver=9.0.0
+_clangver=9.0.1
 pkgver=${_qtver/-/}
-pkgrel=2
+pkgrel=3
 arch=(x86_64)
 url='https://www.qt.io'
 license=(GPL2 LGPL)


[arch-commits] Commit in shiboken2/trunk (PKGBUILD shiboken-fix-falkon.patch)

2019-12-19 Thread Antonio Rojas via arch-commits
Date: Thursday, December 19, 2019 @ 21:39:22
  Author: arojas
Revision: 371942

Fix plugin loading in Falkon

Added:
  shiboken2/trunk/shiboken-fix-falkon.patch
Modified:
  shiboken2/trunk/PKGBUILD

---+
 PKGBUILD  |   11 +++---
 shiboken-fix-falkon.patch |   46 
 2 files changed, 54 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-12-19 20:51:54 UTC (rev 371941)
+++ PKGBUILD2019-12-19 21:39:22 UTC (rev 371942)
@@ -6,7 +6,7 @@
 _qtver=5.14.0
 _clangver=9.0.0
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 url='https://www.qt.io'
 license=(GPL2 LGPL)
@@ -13,11 +13,16 @@
 pkgdesc='Generates bindings for C++ libraries using CPython source code'
 makedepends=(clang llvm cmake libxslt qt5-xmlpatterns python-sphinx)
 _pkgfqn=pyside-setup-opensource-src-${_qtver}
-source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz;)
-sha256sums=('8c2ad1901a99165ed7bac8f522ee351ae3ebadd580024248f5a1db52e4a94b30')
+source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz;
+ shiboken-fix-falkon.patch)
+sha256sums=('8c2ad1901a99165ed7bac8f522ee351ae3ebadd580024248f5a1db52e4a94b30'
+'3093d8d9e76bffce4e9fc16a620f9401749efff8b4d7e26c57d09f5342040627')
 
 prepare() {
   mkdir -p build
+
+  cd $_pkgfqn
+  patch -p1 -i ../shiboken-fix-falkon.patch # Fix loading Falkon plugins
 }
 
 build() {

Added: shiboken-fix-falkon.patch
===
--- shiboken-fix-falkon.patch   (rev 0)
+++ shiboken-fix-falkon.patch   2019-12-19 21:39:22 UTC (rev 371942)
@@ -0,0 +1,46 @@
+From 92944434452d185ef0b023abd5eec224aea7eeb2 Mon Sep 17 00:00:00 2001
+From: Christian Tismer 
+Date: Wed, 13 Nov 2019 19:12:16 +0100
+Subject: [PATCH] WIP: qApp: Ensure QtCore import when embedded QApplication 
subclass is used
+
+The qApp machinery works great with Python.
+When using embedding, things are different because there
+is no longer a wrapper layer.
+
+Unfortunately, many extension modules use C++ to derive a
+QApplication class.
+
+This has the side effect that when a foreign C++ module gets
+imported, the qApp machinery does not see it as it would
+in Python.
+
+Instead of a complex analysis, we always make sure that QtCore
+is imported. It will report the right instance, anyway.
+
+XXX make sure that this assumption is really true...
+
+Change-Id: Ie9c56ac75e6c0ae3ace615dfc26c6d218ff4efea
+Fixes: PYSIDE-1135
+---
+
+diff --git a/sources/shiboken2/libshiboken/qapp_macro.cpp 
b/sources/shiboken2/libshiboken/qapp_macro.cpp
+index 306f53b..c2018bd 100644
+--- a/sources/shiboken2/libshiboken/qapp_macro.cpp
 b/sources/shiboken2/libshiboken/qapp_macro.cpp
+@@ -246,7 +246,14 @@
+  * qApp_contents variable and assigns the instance, instead of vice-versa.
+  */
+ PyObject *coreDict = qApp_moduledicts[1];
+-if (qApp != nullptr && coreDict != nullptr) {
++if (coreDict == nullptr) {
++// PYSIDE-1135: Make sure that at least QtCore gets imported.
++// That problem exists when a derived instance is created in C++.
++qApp_moduledicts[1] = Py_None; // anything != nullptr during import
++coreDict = PyImport_ImportModule("PySide2.QtCore");
++qApp_moduledicts[1] = coreDict;
++}
++if (qApp != nullptr && coreDict != nullptr && coreDict != Py_None) {
+ PyObject *coreApp = PyDict_GetItemString(coreDict, 
"QCoreApplication");
+ if (coreApp != nullptr) {
+ qApp_content = PyObject_CallMethod(coreApp, "instance", "");
+


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2019-12-19 Thread Antonio Rojas via arch-commits
Date: Thursday, December 19, 2019 @ 15:32:50
  Author: arojas
Revision: 371852

Reset pkgrel

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-12-19 15:29:20 UTC (rev 371851)
+++ PKGBUILD2019-12-19 15:32:50 UTC (rev 371852)
@@ -6,7 +6,7 @@
 _qtver=5.14.0
 _clangver=9.0.0
 pkgver=${_qtver/-/}
-pkgrel=4
+pkgrel=1
 arch=(x86_64)
 url='https://www.qt.io'
 license=(GPL2 LGPL)


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2019-12-19 Thread Antonio Rojas via arch-commits
Date: Thursday, December 19, 2019 @ 15:28:57
  Author: arojas
Revision: 371850

Update to 5.14.0

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |8 +++-
 1 file changed, 3 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-12-19 14:45:58 UTC (rev 371849)
+++ PKGBUILD2019-12-19 15:28:57 UTC (rev 371850)
@@ -3,10 +3,10 @@
 
 pkgbase=shiboken2
 pkgname=(shiboken2 python-shiboken2)
-_qtver=5.13.2
+_qtver=5.14.0
 _clangver=9.0.0
 pkgver=${_qtver/-/}
-pkgrel=3
+pkgrel=4
 arch=(x86_64)
 url='https://www.qt.io'
 license=(GPL2 LGPL)
@@ -14,12 +14,10 @@
 makedepends=(clang llvm cmake libxslt qt5-xmlpatterns python-sphinx)
 _pkgfqn=pyside-setup-opensource-src-${_qtver}
 
source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz;)
-sha256sums=('3e255d64df08880d0281ebe86009d5ea45f24332b308954d967c33995f75e543')
+sha256sums=('8c2ad1901a99165ed7bac8f522ee351ae3ebadd580024248f5a1db52e4a94b30')
 
 prepare() {
   mkdir -p build
-
-  sed -e 's|0307|0308|' -i 
$_pkgfqn/sources/shiboken2/libshiboken/pep384impl.h # Support python 3.8
 }
 
 build() {


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2019-11-06 Thread Antonio Rojas via arch-commits
Date: Wednesday, November 6, 2019 @ 22:31:03
  Author: arojas
Revision: 366891

Pretend to support python 3.8

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-06 21:05:56 UTC (rev 366890)
+++ PKGBUILD2019-11-06 22:31:03 UTC (rev 366891)
@@ -6,7 +6,7 @@
 _qtver=5.13.2
 _clangver=9.0.0
 pkgver=${_qtver/-/}
-pkgrel=2
+pkgrel=3
 arch=(x86_64)
 url='https://www.qt.io'
 license=(GPL2 LGPL)
@@ -18,6 +18,8 @@
 
 prepare() {
   mkdir -p build
+
+  sed -e 's|0307|0308|' -i 
$_pkgfqn/sources/shiboken2/libshiboken/pep384impl.h # Support python 3.8
 }
 
 build() {


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2019-11-01 Thread Antonio Rojas via arch-commits
Date: Friday, November 1, 2019 @ 15:27:33
  Author: arojas
Revision: 366400

python 3.8 rebuild

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-01 15:25:22 UTC (rev 366399)
+++ PKGBUILD2019-11-01 15:27:33 UTC (rev 366400)
@@ -6,7 +6,7 @@
 _qtver=5.13.2
 _clangver=9.0.0
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 url='https://www.qt.io'
 license=(GPL2 LGPL)


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2019-11-01 Thread Antonio Rojas via arch-commits
Date: Friday, November 1, 2019 @ 15:25:03
  Author: arojas
Revision: 366398

Update to 5.13.2

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-01 15:06:10 UTC (rev 366397)
+++ PKGBUILD2019-11-01 15:25:03 UTC (rev 366398)
@@ -3,18 +3,18 @@
 
 pkgbase=shiboken2
 pkgname=(shiboken2 python-shiboken2)
-_qtver=5.13.1
+_qtver=5.13.2
 _clangver=9.0.0
 pkgver=${_qtver/-/}
-pkgrel=3
+pkgrel=1
 arch=(x86_64)
 url='https://www.qt.io'
 license=(GPL2 LGPL)
 pkgdesc='Generates bindings for C++ libraries using CPython source code'
 makedepends=(clang llvm cmake libxslt qt5-xmlpatterns python-sphinx)
-_pkgfqn=pyside-setup-everywhere-src-${_qtver}
+_pkgfqn=pyside-setup-opensource-src-${_qtver}
 
source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz;)
-sha256sums=('c57c71ddece90b29d0934cf5fac1e1634719484637b56dcbe49eb277c1c01536')
+sha256sums=('3e255d64df08880d0281ebe86009d5ea45f24332b308954d967c33995f75e543')
 
 prepare() {
   mkdir -p build


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2019-10-26 Thread Evangelos Foutras via arch-commits
Date: Saturday, October 26, 2019 @ 15:12:30
  Author: foutrelis
Revision: 365866

Python 3.8 rebuild

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-26 15:10:53 UTC (rev 365865)
+++ PKGBUILD2019-10-26 15:12:30 UTC (rev 365866)
@@ -6,7 +6,7 @@
 _qtver=5.13.1
 _clangver=9.0.0
 pkgver=${_qtver/-/}
-pkgrel=2
+pkgrel=3
 arch=(x86_64)
 url='https://www.qt.io'
 license=(GPL2 LGPL)


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2019-10-04 Thread Antonio Rojas via arch-commits
Date: Friday, October 4, 2019 @ 16:55:04
  Author: arojas
Revision: 363799

clang 9.0.0 rebuild

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-04 16:52:33 UTC (rev 363798)
+++ PKGBUILD2019-10-04 16:55:04 UTC (rev 363799)
@@ -4,9 +4,9 @@
 pkgbase=shiboken2
 pkgname=(shiboken2 python-shiboken2)
 _qtver=5.13.1
-_clangver=8.0.1
+_clangver=9.0.0
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 url='https://www.qt.io'
 license=(GPL2 LGPL)


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2019-09-05 Thread Antonio Rojas via arch-commits
Date: Thursday, September 5, 2019 @ 17:37:29
  Author: arojas
Revision: 361951

Update to 5.13.1

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |   13 -
 1 file changed, 4 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-09-05 16:47:40 UTC (rev 361950)
+++ PKGBUILD2019-09-05 17:37:29 UTC (rev 361951)
@@ -3,10 +3,10 @@
 
 pkgbase=shiboken2
 pkgname=(shiboken2 python-shiboken2)
-_qtver=5.13.0
+_qtver=5.13.1
 _clangver=8.0.1
 pkgver=${_qtver/-/}
-pkgrel=4
+pkgrel=1
 arch=(x86_64)
 url='https://www.qt.io'
 license=(GPL2 LGPL)
@@ -13,16 +13,11 @@
 pkgdesc='Generates bindings for C++ libraries using CPython source code'
 makedepends=(clang llvm cmake libxslt qt5-xmlpatterns python-sphinx)
 _pkgfqn=pyside-setup-everywhere-src-${_qtver}
-source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz;
- 
qcoreapplication-crash.patch::"https://code.qt.io/cgit/pyside/pyside-setup.git/patch/?id=80a6f91c;)
-sha256sums=('8e47e778a6c8ee86e9bc7dbf56371cf607e9f3c1a03a7d6df9e34f8dba555782'
-'7d36bfc604f4759f593e8d599e04e9ef713b35b3e0c373c12868b32913564303')
+source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz;)
+sha256sums=('c57c71ddece90b29d0934cf5fac1e1634719484637b56dcbe49eb277c1c01536')
 
 prepare() {
   mkdir -p build
-
-  cd $_pkgfqn
-  patch -Rp1 -i ../qcoreapplication-crash.patch # Revert commit that makes 
QCoreApplication import crash
 }
 
 build() {


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2019-07-20 Thread Evangelos Foutras via arch-commits
Date: Saturday, July 20, 2019 @ 14:15:48
  Author: foutrelis
Revision: 358443

clang 8.0.1 rebuild

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-07-20 14:15:46 UTC (rev 358442)
+++ PKGBUILD2019-07-20 14:15:48 UTC (rev 358443)
@@ -4,9 +4,9 @@
 pkgbase=shiboken2
 pkgname=(shiboken2 python-shiboken2)
 _qtver=5.13.0
-_clangver=8.0.0
+_clangver=8.0.1
 pkgver=${_qtver/-/}
-pkgrel=3
+pkgrel=4
 arch=(x86_64)
 url='https://www.qt.io'
 license=(GPL2 LGPL)


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2019-07-11 Thread Antonio Rojas via arch-commits
Date: Thursday, July 11, 2019 @ 17:44:54
  Author: arojas
Revision: 357764

Revert commit that crashes QCoreApplication

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-07-11 17:39:09 UTC (rev 357763)
+++ PKGBUILD2019-07-11 17:44:54 UTC (rev 357764)
@@ -6,7 +6,7 @@
 _qtver=5.13.0
 _clangver=8.0.0
 pkgver=${_qtver/-/}
-pkgrel=2
+pkgrel=3
 arch=(x86_64)
 url='https://www.qt.io'
 license=(GPL2 LGPL)
@@ -14,15 +14,15 @@
 makedepends=(clang llvm cmake libxslt qt5-xmlpatterns python-sphinx)
 _pkgfqn=pyside-setup-everywhere-src-${_qtver}
 
source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz;
- 
qcoreapplication-crash.patch::"https://code.qt.io/cgit/pyside/pyside-setup.git/patch/?id=5376a134;)
+ 
qcoreapplication-crash.patch::"https://code.qt.io/cgit/pyside/pyside-setup.git/patch/?id=80a6f91c;)
 sha256sums=('8e47e778a6c8ee86e9bc7dbf56371cf607e9f3c1a03a7d6df9e34f8dba555782'
-'d315c773f19e341b3c7faa3faf61fef70375c711e1beed395c4aded9d12fd94f')
+'7d36bfc604f4759f593e8d599e04e9ef713b35b3e0c373c12868b32913564303')
 
 prepare() {
   mkdir -p build
 
   cd $_pkgfqn
-  patch -p1 -i ../qcoreapplication-crash.patch # Fix crash with importing 
QCoreApplication
+  patch -Rp1 -i ../qcoreapplication-crash.patch # Revert commit that makes 
QCoreApplication import crash
 }
 
 build() {


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2019-07-07 Thread Antonio Rojas via arch-commits
Date: Sunday, July 7, 2019 @ 11:32:37
  Author: arojas
Revision: 357397

Fix crash when importing QCoreApplication

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |   11 ---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-07-07 10:35:17 UTC (rev 357396)
+++ PKGBUILD2019-07-07 11:32:37 UTC (rev 357397)
@@ -6,7 +6,7 @@
 _qtver=5.13.0
 _clangver=8.0.0
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 url='https://www.qt.io'
 license=(GPL2 LGPL)
@@ -13,11 +13,16 @@
 pkgdesc='Generates bindings for C++ libraries using CPython source code'
 makedepends=(clang llvm cmake libxslt qt5-xmlpatterns python-sphinx)
 _pkgfqn=pyside-setup-everywhere-src-${_qtver}
-source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz;)
-sha256sums=('8e47e778a6c8ee86e9bc7dbf56371cf607e9f3c1a03a7d6df9e34f8dba555782')
+source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz;
+ 
qcoreapplication-crash.patch::"https://code.qt.io/cgit/pyside/pyside-setup.git/patch/?id=5376a134;)
+sha256sums=('8e47e778a6c8ee86e9bc7dbf56371cf607e9f3c1a03a7d6df9e34f8dba555782'
+'d315c773f19e341b3c7faa3faf61fef70375c711e1beed395c4aded9d12fd94f')
 
 prepare() {
   mkdir -p build
+
+  cd $_pkgfqn
+  patch -p1 -i ../qcoreapplication-crash.patch # Fix crash with importing 
QCoreApplication
 }
 
 build() {


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2019-06-27 Thread Antonio Rojas via arch-commits
Date: Thursday, June 27, 2019 @ 09:53:11
  Author: arojas
Revision: 356948

Update to 5.13.0

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-06-26 20:50:20 UTC (rev 356947)
+++ PKGBUILD2019-06-27 09:53:11 UTC (rev 356948)
@@ -3,7 +3,7 @@
 
 pkgbase=shiboken2
 pkgname=(shiboken2 python-shiboken2)
-_qtver=5.12.4
+_qtver=5.13.0
 _clangver=8.0.0
 pkgver=${_qtver/-/}
 pkgrel=1
@@ -14,7 +14,7 @@
 makedepends=(clang llvm cmake libxslt qt5-xmlpatterns python-sphinx)
 _pkgfqn=pyside-setup-everywhere-src-${_qtver}
 
source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz;)
-sha256sums=('4a64ed11eb22af46db02615f9b1f597de0feaf8555cf41f355ec2b366d5bc2b4')
+sha256sums=('8e47e778a6c8ee86e9bc7dbf56371cf607e9f3c1a03a7d6df9e34f8dba555782')
 
 prepare() {
   mkdir -p build


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2019-06-20 Thread Antonio Rojas via arch-commits
Date: Thursday, June 20, 2019 @ 10:22:30
  Author: arojas
Revision: 356595

Update to 5.12.4

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-06-20 08:37:38 UTC (rev 356594)
+++ PKGBUILD2019-06-20 10:22:30 UTC (rev 356595)
@@ -3,10 +3,10 @@
 
 pkgbase=shiboken2
 pkgname=(shiboken2 python-shiboken2)
-_qtver=5.12.3
+_qtver=5.12.4
 _clangver=8.0.0
 pkgver=${_qtver/-/}
-pkgrel=3
+pkgrel=1
 arch=(x86_64)
 url='https://www.qt.io'
 license=(GPL2 LGPL)
@@ -14,7 +14,7 @@
 makedepends=(clang llvm cmake libxslt qt5-xmlpatterns python-sphinx)
 _pkgfqn=pyside-setup-everywhere-src-${_qtver}
 
source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz;)
-sha256sums=('4f7aab7d4bbaf1b3573cc989d704e87b0de55cce656ae5e23418a88baa4c6842')
+sha256sums=('4a64ed11eb22af46db02615f9b1f597de0feaf8555cf41f355ec2b366d5bc2b4')
 
 prepare() {
   mkdir -p build


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2019-04-29 Thread Antonio Rojas via arch-commits
Date: Monday, April 29, 2019 @ 15:13:15
  Author: arojas
Revision: 352231

Update to 5.12.3

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-04-29 13:32:40 UTC (rev 352230)
+++ PKGBUILD2019-04-29 15:13:15 UTC (rev 352231)
@@ -3,7 +3,7 @@
 
 pkgbase=shiboken2
 pkgname=(shiboken2 python-shiboken2)
-_qtver=5.12.2
+_qtver=5.12.3
 _clangver=8.0.0
 pkgver=${_qtver/-/}
 pkgrel=3
@@ -14,7 +14,7 @@
 makedepends=(clang llvm cmake libxslt qt5-xmlpatterns python-sphinx)
 _pkgfqn=pyside-setup-everywhere-src-${_qtver}
 
source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz;)
-sha256sums=('ed974c0592019cbbcd4e4db3b18cf4f2af2c399cc1650e5c526be3efd7562bc1')
+sha256sums=('4f7aab7d4bbaf1b3573cc989d704e87b0de55cce656ae5e23418a88baa4c6842')
 
 prepare() {
   mkdir -p build


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2019-03-25 Thread Evangelos Foutras via arch-commits
Date: Tuesday, March 26, 2019 @ 03:06:53
  Author: foutrelis
Revision: 349221

upgpkg: shiboken2 5.12.2-3

LLVM 8 rebuild.

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-03-26 03:03:00 UTC (rev 349220)
+++ PKGBUILD2019-03-26 03:06:53 UTC (rev 349221)
@@ -4,9 +4,9 @@
 pkgbase=shiboken2
 pkgname=(shiboken2 python-shiboken2)
 _qtver=5.12.2
-_clangver=7.0.1
+_clangver=8.0.0
 pkgver=${_qtver/-/}
-pkgrel=2
+pkgrel=3
 arch=(x86_64)
 url='https://www.qt.io'
 license=(GPL2 LGPL)


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2019-03-22 Thread Antonio Rojas via arch-commits
Date: Friday, March 22, 2019 @ 10:49:47
  Author: arojas
Revision: 348855

New tarball

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-03-22 10:45:42 UTC (rev 348854)
+++ PKGBUILD2019-03-22 10:49:47 UTC (rev 348855)
@@ -6,7 +6,7 @@
 _qtver=5.12.2
 _clangver=7.0.1
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 url='https://www.qt.io'
 license=(GPL2 LGPL)
@@ -14,7 +14,7 @@
 makedepends=(clang llvm cmake libxslt qt5-xmlpatterns python-sphinx)
 _pkgfqn=pyside-setup-everywhere-src-${_qtver}
 
source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz;)
-sha256sums=('96f2cb04f860654492a99522ef8e1cf4fa251ec32e00b42a299092f29684afff')
+sha256sums=('ed974c0592019cbbcd4e4db3b18cf4f2af2c399cc1650e5c526be3efd7562bc1')
 
 prepare() {
   mkdir -p build


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2019-03-21 Thread Antonio Rojas via arch-commits
Date: Thursday, March 21, 2019 @ 12:02:10
  Author: arojas
Revision: 348790

Update to 5.12.2

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-03-21 11:25:57 UTC (rev 348789)
+++ PKGBUILD2019-03-21 12:02:10 UTC (rev 348790)
@@ -3,7 +3,7 @@
 
 pkgbase=shiboken2
 pkgname=(shiboken2 python-shiboken2)
-_qtver=5.12.1
+_qtver=5.12.2
 _clangver=7.0.1
 pkgver=${_qtver/-/}
 pkgrel=1
@@ -14,7 +14,7 @@
 makedepends=(clang llvm cmake libxslt qt5-xmlpatterns python-sphinx)
 _pkgfqn=pyside-setup-everywhere-src-${_qtver}
 
source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz;)
-sha256sums=('6e26b6240b97558b8bf3c97810e950ef4121a03a1ebdecfb649992a505f18059')
+sha256sums=('96f2cb04f860654492a99522ef8e1cf4fa251ec32e00b42a299092f29684afff')
 
 prepare() {
   mkdir -p build


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2019-02-02 Thread Antonio Rojas via arch-commits
Date: Saturday, February 2, 2019 @ 11:00:05
  Author: arojas
Revision: 345063

Update to 5.12.1

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-02-02 04:47:09 UTC (rev 345062)
+++ PKGBUILD2019-02-02 11:00:05 UTC (rev 345063)
@@ -3,7 +3,7 @@
 
 pkgbase=shiboken2
 pkgname=(shiboken2 python-shiboken2)
-_qtver=5.12.0
+_qtver=5.12.1
 _clangver=7.0.1
 pkgver=${_qtver/-/}
 pkgrel=1
@@ -14,7 +14,7 @@
 makedepends=(clang llvm cmake libxslt qt5-xmlpatterns python-sphinx)
 _pkgfqn=pyside-setup-everywhere-src-${_qtver}
 
source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz;)
-sha256sums=('890149628a6c722343d6498a9f7e1906ce3c10edcaef0cc53cd682c1798bef51')
+sha256sums=('6e26b6240b97558b8bf3c97810e950ef4121a03a1ebdecfb649992a505f18059')
 
 prepare() {
   mkdir -p build


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2018-12-17 Thread Antonio Rojas via arch-commits
Date: Monday, December 17, 2018 @ 16:04:29
  Author: arojas
Revision: 342431

Update to 5.12.0

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-12-17 15:21:52 UTC (rev 342430)
+++ PKGBUILD2018-12-17 16:04:29 UTC (rev 342431)
@@ -3,18 +3,18 @@
 
 pkgbase=shiboken2
 pkgname=(shiboken2 python-shiboken2)
-_qtver=5.11.2
+_qtver=5.12.0
 _clangver=7.0.1
 pkgver=${_qtver/-/}
-pkgrel=3
+pkgrel=1
 arch=(x86_64)
 url='http://qt-project.org/'
 license=(GPL2 LGPL)
 pkgdesc='Generates bindings for C++ libraries using CPython source code'
-makedepends=(clang llvm cmake libxslt qt5-xmlpatterns python)
+makedepends=(clang llvm cmake libxslt qt5-xmlpatterns python-sphinx)
 _pkgfqn=pyside-setup-everywhere-src-${_qtver}
 
source=("http://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz;)
-sha256sums=('18f572f1f832e476083d30fccabab167450f2a8cbe5cd9c6e6e4fa078ccb86c2')
+sha256sums=('890149628a6c722343d6498a9f7e1906ce3c10edcaef0cc53cd682c1798bef51')
 
 prepare() {
   mkdir -p build


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2018-12-16 Thread Evangelos Foutras via arch-commits
Date: Sunday, December 16, 2018 @ 15:55:12
  Author: foutrelis
Revision: 342403

clang 7.0.1 rebuild

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-12-16 15:36:40 UTC (rev 342402)
+++ PKGBUILD2018-12-16 15:55:12 UTC (rev 342403)
@@ -4,9 +4,9 @@
 pkgbase=shiboken2
 pkgname=(shiboken2 python-shiboken2)
 _qtver=5.11.2
-_clangver=7.0.0
+_clangver=7.0.1
 pkgver=${_qtver/-/}
-pkgrel=2
+pkgrel=3
 arch=(x86_64)
 url='http://qt-project.org/'
 license=(GPL2 LGPL)


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2018-09-21 Thread Antonio Rojas via arch-commits
Date: Friday, September 21, 2018 @ 20:16:11
  Author: arojas
Revision: 335203

clang 7 rebuild

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-09-21 20:14:46 UTC (rev 335202)
+++ PKGBUILD2018-09-21 20:16:11 UTC (rev 335203)
@@ -4,9 +4,9 @@
 pkgbase=shiboken2
 pkgname=(shiboken2 python-shiboken2)
 _qtver=5.11.2
-_clangver=6.0.1
+_clangver=7.0.0
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 url='http://qt-project.org/'
 license=(GPL2 LGPL)


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2018-09-21 Thread Antonio Rojas via arch-commits
Date: Friday, September 21, 2018 @ 16:47:03
  Author: arojas
Revision: 335168

Update to 5.11.2

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-09-21 15:30:08 UTC (rev 335167)
+++ PKGBUILD2018-09-21 16:47:03 UTC (rev 335168)
@@ -3,10 +3,10 @@
 
 pkgbase=shiboken2
 pkgname=(shiboken2 python-shiboken2)
-_qtver=5.11.1
-_clangver=7.0.0
+_qtver=5.11.2
+_clangver=6.0.1
 pkgver=${_qtver/-/}
-pkgrel=3
+pkgrel=1
 arch=(x86_64)
 url='http://qt-project.org/'
 license=(GPL2 LGPL)
@@ -14,7 +14,7 @@
 makedepends=(clang llvm cmake libxslt qt5-xmlpatterns python)
 _pkgfqn=pyside-setup-everywhere-src-${_qtver}
 
source=("http://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz;)
-sha256sums=('9cbc3cbb03c6c1ddba8de7a651c84b269f87ebd4a0991a1f9acc8b2d0ccdfb83')
+sha256sums=('18f572f1f832e476083d30fccabab167450f2a8cbe5cd9c6e6e4fa078ccb86c2')
 
 prepare() {
   mkdir -p build


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2018-09-20 Thread Antonio Rojas via arch-commits
Date: Thursday, September 20, 2018 @ 06:08:56
  Author: arojas
Revision: 335063

clang 7 rebuild

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-09-20 06:07:08 UTC (rev 335062)
+++ PKGBUILD2018-09-20 06:08:56 UTC (rev 335063)
@@ -4,9 +4,9 @@
 pkgbase=shiboken2
 pkgname=(shiboken2 python-shiboken2)
 _qtver=5.11.1
-_clangver=6.0.1
+_clangver=7.0.0
 pkgver=${_qtver/-/}
-pkgrel=2
+pkgrel=3
 arch=(x86_64)
 url='http://qt-project.org/'
 license=(GPL2 LGPL)


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2018-08-17 Thread Antonio Rojas via arch-commits
Date: Friday, August 17, 2018 @ 09:11:22
  Author: arojas
Revision: 331636

Add llvm dependency to shiboken2 package, for llvm-config

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-08-17 08:30:46 UTC (rev 331635)
+++ PKGBUILD2018-08-17 09:11:22 UTC (rev 331636)
@@ -6,7 +6,7 @@
 _qtver=5.11.1
 _clangver=6.0.1
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 url='http://qt-project.org/'
 license=(GPL2 LGPL)
@@ -30,7 +30,7 @@
 }
 
 package_shiboken2() {
-  depends=(clang=$_clangver libxslt qt5-xmlpatterns)
+  depends=(clang=$_clangver llvm libxslt qt5-xmlpatterns)
 
   cd build
   make DESTDIR="$pkgdir" install


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2018-08-17 Thread Antonio Rojas via arch-commits
Date: Friday, August 17, 2018 @ 08:28:59
  Author: arojas
Revision: 331634

Update to 5.11.1

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-08-17 08:24:10 UTC (rev 331633)
+++ PKGBUILD2018-08-17 08:28:59 UTC (rev 331634)
@@ -3,10 +3,10 @@
 
 pkgbase=shiboken2
 pkgname=(shiboken2 python-shiboken2)
-_qtver=5.11.0
+_qtver=5.11.1
 _clangver=6.0.1
 pkgver=${_qtver/-/}
-pkgrel=5
+pkgrel=1
 arch=(x86_64)
 url='http://qt-project.org/'
 license=(GPL2 LGPL)
@@ -14,7 +14,7 @@
 makedepends=(clang llvm cmake libxslt qt5-xmlpatterns python)
 _pkgfqn=pyside-setup-everywhere-src-${_qtver}
 
source=("http://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz;)
-sha256sums=('fbc412c4544bca308291a08a5173a949ca530d801f00b8337902a5067e490922')
+sha256sums=('9cbc3cbb03c6c1ddba8de7a651c84b269f87ebd4a0991a1f9acc8b2d0ccdfb83')
 
 prepare() {
   mkdir -p build


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2018-07-18 Thread Felix Yan via arch-commits
Date: Wednesday, July 18, 2018 @ 06:20:07
  Author: felixonmars
Revision: 328947

Python 3.7 rebuild

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-07-18 06:18:31 UTC (rev 328946)
+++ PKGBUILD2018-07-18 06:20:07 UTC (rev 328947)
@@ -6,7 +6,7 @@
 _qtver=5.11.0
 _clangver=6.0.1
 pkgver=${_qtver/-/}
-pkgrel=4
+pkgrel=5
 arch=(x86_64)
 url='http://qt-project.org/'
 license=(GPL2 LGPL)


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2018-07-12 Thread Antonio Rojas via arch-commits
Date: Thursday, July 12, 2018 @ 06:43:28
  Author: arojas
Revision: 328300

Rebuild for clang 6.0.1

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-07-12 04:53:03 UTC (rev 328299)
+++ PKGBUILD2018-07-12 06:43:28 UTC (rev 328300)
@@ -4,8 +4,9 @@
 pkgbase=shiboken2
 pkgname=(shiboken2 python-shiboken2)
 _qtver=5.11.0
+_clangver=6.0.1
 pkgver=${_qtver/-/}
-pkgrel=3
+pkgrel=4
 arch=(x86_64)
 url='http://qt-project.org/'
 license=(GPL2 LGPL)
@@ -29,7 +30,7 @@
 }
 
 package_shiboken2() {
-  depends=(clang libxslt qt5-xmlpatterns)
+  depends=(clang=$_clangver libxslt qt5-xmlpatterns)
 
   cd build
   make DESTDIR="$pkgdir" install


[arch-commits] Commit in shiboken2/trunk (PKGBUILD)

2018-06-28 Thread Antonio Rojas via arch-commits
Date: Thursday, June 28, 2018 @ 14:10:11
  Author: arojas
Revision: 327719

Simplify packaging by not caring for python2

Modified:
  shiboken2/trunk/PKGBUILD

--+
 PKGBUILD |   32 
 1 file changed, 8 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-28 12:29:32 UTC (rev 327718)
+++ PKGBUILD2018-06-28 14:10:11 UTC (rev 327719)
@@ -2,21 +2,21 @@
 # Maintainer: Felix Yan 
 
 pkgbase=shiboken2
-pkgname=(shiboken2 python-shiboken2 python2-shiboken2)
+pkgname=(shiboken2 python-shiboken2)
 _qtver=5.11.0
 pkgver=${_qtver/-/}
-pkgrel=2
+pkgrel=3
 arch=(x86_64)
 url='http://qt-project.org/'
 license=(GPL2 LGPL)
 pkgdesc='Generates bindings for C++ libraries using CPython source code'
-makedepends=(clang llvm cmake libxslt qt5-xmlpatterns python python2)
+makedepends=(clang llvm cmake libxslt qt5-xmlpatterns python)
 _pkgfqn=pyside-setup-everywhere-src-${_qtver}
 
source=("http://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz;)
 sha256sums=('fbc412c4544bca308291a08a5173a949ca530d801f00b8337902a5067e490922')
 
 prepare() {
-  mkdir -p build{,2}
+  mkdir -p build
 }
 
 build() {
@@ -26,13 +26,6 @@
 -DBUILD_TESTS=OFF \
 -DUSE_PYTHON_VERSION=3
   make
-
-  cd ../build2
-  cmake ../${_pkgfqn}/sources/shiboken2 \
--DCMAKE_INSTALL_PREFIX=/usr \
--DBUILD_TESTS=OFF \
--DUSE_PYTHON_VERSION=2
-  make
 }
 
 package_shiboken2() {
@@ -40,8 +33,8 @@
 
   cd build
   make DESTDIR="$pkgdir" install
-# Provided in python-shiboken
-  rm -r "$pkgdir"/usr/lib/{cmake/*/*python*,python*,libshiboken*}
+# Provided in python-shiboken2
+  rm -r "$pkgdir"/usr/lib/{python*,libshiboken*}
 }
 
 package_python-shiboken2() {
@@ -49,15 +42,6 @@
 
   cd build
   make DESTDIR="$pkgdir" install
-# Provided in shiboken
-  rm -r 
"$pkgdir"/usr/{bin,include,lib/{cmake/*/Shiboken2Config{,Version}.cmake,pkgconfig},share}
+# Provided in shiboken2
+  rm -r "$pkgdir"/usr/{bin,include,lib/{cmake,pkgconfig},share}
 }
-
-package_python2-shiboken2() {
-  depends=(python2)
-
-  cd build2
-  make DESTDIR="$pkgdir" install
-# Provided in shiboken
-  rm -r 
"$pkgdir"/usr/{bin,include,lib/{cmake/*/Shiboken2Config{,Version}.cmake,pkgconfig},share}
-}