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

2020-11-20 Thread Antonio Rojas via arch-commits
Date: Friday, November 20, 2020 @ 11:36:12
  Author: arojas
Revision: 401533

python 3.9 rebuild

Modified:
  pyside2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-11-20 11:00:20 UTC (rev 401532)
+++ PKGBUILD2020-11-20 11:36:12 UTC (rev 401533)
@@ -4,7 +4,7 @@
 pkgname=pyside2
 _qtver=5.15.2
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 url='https://www.qt.io'
 license=(LGPL)


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

2020-11-20 Thread Antonio Rojas via arch-commits
Date: Friday, November 20, 2020 @ 11:00:11
  Author: arojas
Revision: 401531

Update to 5.15.2

Modified:
  pyside2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-11-20 10:56:32 UTC (rev 401530)
+++ PKGBUILD2020-11-20 11:00:11 UTC (rev 401531)
@@ -2,9 +2,9 @@
 # Maintainer: Felix Yan 
 
 pkgname=pyside2
-_qtver=5.15.1
+_qtver=5.15.2
 pkgver=${_qtver/-/}
-pkgrel=3
+pkgrel=1
 arch=(x86_64)
 url='https://www.qt.io'
 license=(LGPL)
@@ -35,23 +35,16 @@
 replaces=(python-pyside2)
 _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/pyside2 \
+  cmake -B build -S ${_pkgfqn}/sources/pyside2 \
 -DCMAKE_INSTALL_PREFIX=/usr \
 -DBUILD_TESTS=OFF \
 -DPYTHON_EXECUTABLE=/usr/bin/python
-  make
+  cmake --build build
 }
 
 package() {
-  cd build
-
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" cmake --install build
 }


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

2020-11-12 Thread Felix Yan via arch-commits
Date: Thursday, November 12, 2020 @ 13:29:15
  Author: felixonmars
Revision: 400562

upgpkg: pyside2 5.15.1-3: Python 3.9 rebuild

Modified:
  pyside2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-11-12 13:26:08 UTC (rev 400561)
+++ PKGBUILD2020-11-12 13:29:15 UTC (rev 400562)
@@ -4,7 +4,7 @@
 pkgname=pyside2
 _qtver=5.15.1
 pkgver=${_qtver/-/}
-pkgrel=2
+pkgrel=3
 arch=(x86_64)
 url='https://www.qt.io'
 license=(LGPL)


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

2020-11-09 Thread Felix Yan via arch-commits
Date: Monday, November 9, 2020 @ 19:22:06
  Author: felixonmars
Revision: 399914

upgpkg: pyside2 5.15.1-2: Python 3.9 rebuild

Modified:
  pyside2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-11-09 18:36:27 UTC (rev 399913)
+++ PKGBUILD2020-11-09 19:22:06 UTC (rev 399914)
@@ -4,7 +4,7 @@
 pkgname=pyside2
 _qtver=5.15.1
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 url='https://www.qt.io'
 license=(LGPL)


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

2020-09-10 Thread Antonio Rojas via arch-commits
Date: Thursday, September 10, 2020 @ 14:25:31
  Author: arojas
Revision: 395691

Update to 5.15.1

Modified:
  pyside2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-10 14:18:47 UTC (rev 395690)
+++ PKGBUILD2020-09-10 14:25:31 UTC (rev 395691)
@@ -2,9 +2,9 @@
 # Maintainer: Felix Yan 
 
 pkgname=pyside2
-_qtver=5.15.0
+_qtver=5.15.1
 pkgver=${_qtver/-/}
-pkgrel=2
+pkgrel=1
 arch=(x86_64)
 url='https://www.qt.io'
 license=(LGPL)
@@ -35,7 +35,7 @@
 replaces=(python-pyside2)
 _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 pyside2/trunk (PKGBUILD)

2020-06-17 Thread Antonio Rojas via arch-commits
Date: Wednesday, June 17, 2020 @ 07:12:20
  Author: arojas
Revision: 389395

Add provides for qt5-python-bindings

Modified:
  pyside2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-06-17 07:04:49 UTC (rev 389394)
+++ PKGBUILD2020-06-17 07:12:20 UTC (rev 389395)
@@ -4,7 +4,7 @@
 pkgname=pyside2
 _qtver=5.15.0
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 url='https://www.qt.io'
 license=(LGPL)
@@ -31,7 +31,7 @@
 'qt5-quickcontrols2: QtQuickControls2 bindings')
 groups=(qt qt5)
 conflicts=(python-pyside2)
-provides=(python-pyside2)
+provides=(python-pyside2 qt5-python-bindings)
 replaces=(python-pyside2)
 _pkgfqn=pyside-setup-opensource-src-$_qtver
 
source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz;)


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

2020-05-27 Thread Antonio Rojas via arch-commits
Date: Wednesday, May 27, 2020 @ 13:16:31
  Author: arojas
Revision: 387712

Update to 5.15.0

Modified:
  pyside2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-05-27 13:04:33 UTC (rev 387711)
+++ PKGBUILD2020-05-27 13:16:31 UTC (rev 387712)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=pyside2
-_qtver=5.14.2.1
+_qtver=5.15.0
 pkgver=${_qtver/-/}
 pkgrel=1
 arch=(x86_64)
@@ -12,7 +12,8 @@
 depends=(python-shiboken2 qt5-declarative)
 makedepends=(shiboken2 cmake
  qt5-multimedia qt5-tools qt5-sensors qt5-charts qt5-webengine 
qt5-datavis3d
- qt5-websockets qt5-speech qt5-3d qt5-svg qt5-script qt5-scxml 
qt5-x11extras qt5-remoteobjects)
+ qt5-websockets qt5-speech qt5-3d qt5-svg qt5-script qt5-scxml 
qt5-x11extras
+ qt5-quickcontrols2 qt5-serialport qt5-remoteobjects)
 optdepends=('qt5-svg: QtSvg bindings'
 'qt5-script: QtScript bindings'
 'qt5-speech: QtTextToSpeech bindings'
@@ -25,14 +26,16 @@
 'qt5-x11extras: QtX11Extras bindings'
 'qt5-charts: QtCharts bindings'
 'qt5-tools: QtHelp bindings'
-'qt5-remoteobjects: QtRemoteObjects bindings')
+'qt5-remoteobjects: QtRemoteObjects bindings'
+'qt5-serialport: QtSerialPort bindings'
+'qt5-quickcontrols2: QtQuickControls2 bindings')
 groups=(qt qt5)
 conflicts=(python-pyside2)
 provides=(python-pyside2)
 replaces=(python-pyside2)
-_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 pyside2/trunk (PKGBUILD)

2020-04-24 Thread Antonio Rojas via arch-commits
Date: Friday, April 24, 2020 @ 11:58:18
  Author: arojas
Revision: 381483

Update to 5.14.2.1

Modified:
  pyside2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-24 11:53:00 UTC (rev 381482)
+++ PKGBUILD2020-04-24 11:58:18 UTC (rev 381483)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=pyside2
-_qtver=5.14.2
+_qtver=5.14.2.1
 pkgver=${_qtver/-/}
 pkgrel=1
 arch=(x86_64)
@@ -30,9 +30,9 @@
 conflicts=(python-pyside2)
 provides=(python-pyside2)
 replaces=(python-pyside2)
-_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 pyside2/trunk (PKGBUILD)

2020-03-31 Thread Antonio Rojas via arch-commits
Date: Tuesday, March 31, 2020 @ 11:44:19
  Author: arojas
Revision: 378905

Update to 5.14.2

Modified:
  pyside2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-03-31 11:30:43 UTC (rev 378904)
+++ PKGBUILD2020-03-31 11:44:19 UTC (rev 378905)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=pyside2
-_qtver=5.14.1
+_qtver=5.14.2
 pkgver=${_qtver/-/}
 pkgrel=1
 arch=(x86_64)
@@ -32,7 +32,7 @@
 replaces=(python-pyside2)
 _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


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

2020-01-30 Thread Antonio Rojas via arch-commits
Date: Thursday, January 30, 2020 @ 11:58:38
  Author: arojas
Revision: 374329

Update to 5.14.1

Modified:
  pyside2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-01-30 11:47:42 UTC (rev 374328)
+++ PKGBUILD2020-01-30 11:58:38 UTC (rev 374329)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=pyside2
-_qtver=5.14.0
+_qtver=5.14.1
 pkgver=${_qtver/-/}
 pkgrel=1
 arch=(x86_64)
@@ -32,7 +32,7 @@
 replaces=(python-pyside2)
 _pkgfqn=pyside-setup-opensource-src-${_qtver}
 
source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz;)
-sha256sums=('8c2ad1901a99165ed7bac8f522ee351ae3ebadd580024248f5a1db52e4a94b30')
+sha256sums=('41ce931695567639c92acb68a9d66ed5609f067011af9a94b53fc0d697ad1d1c')
 
 prepare() {
   mkdir -p build


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

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

Update to 5.14.0

Modified:
  pyside2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-12-19 15:33:08 UTC (rev 371853)
+++ PKGBUILD2019-12-19 15:50:25 UTC (rev 371854)
@@ -2,9 +2,9 @@
 # Maintainer: Felix Yan 
 
 pkgname=pyside2
-_qtver=5.13.2
+_qtver=5.14.0
 pkgver=${_qtver/-/}
-pkgrel=2
+pkgrel=1
 arch=(x86_64)
 url='https://www.qt.io'
 license=(LGPL)
@@ -32,7 +32,7 @@
 replaces=(python-pyside2)
 _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


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

2019-11-01 Thread Antonio Rojas via arch-commits
Date: Friday, November 1, 2019 @ 15:48:19
  Author: arojas
Revision: 366406

python 3.8 rebuild

Modified:
  pyside2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-11-01 15:42:09 UTC (rev 366405)
+++ PKGBUILD2019-11-01 15:48:19 UTC (rev 366406)
@@ -4,7 +4,7 @@
 pkgname=pyside2
 _qtver=5.13.2
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 url='https://www.qt.io'
 license=(LGPL)


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

2019-11-01 Thread Antonio Rojas via arch-commits
Date: Friday, November 1, 2019 @ 15:41:49
  Author: arojas
Revision: 366404

Update to 5.13.2

Modified:
  pyside2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-11-01 15:30:54 UTC (rev 366403)
+++ PKGBUILD2019-11-01 15:41:49 UTC (rev 366404)
@@ -2,9 +2,9 @@
 # Maintainer: Felix Yan 
 
 pkgname=pyside2
-_qtver=5.13.1
+_qtver=5.13.2
 pkgver=${_qtver/-/}
-pkgrel=2
+pkgrel=1
 arch=(x86_64)
 url='https://www.qt.io'
 license=(LGPL)
@@ -30,9 +30,9 @@
 conflicts=(python-pyside2)
 provides=(python-pyside2)
 replaces=(python-pyside2)
-_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 pyside2/trunk (PKGBUILD)

2019-10-30 Thread Antonio Rojas via arch-commits
Date: Wednesday, October 30, 2019 @ 06:57:44
  Author: arojas
Revision: 366084

qt5-declarative is a hard dependency (FS#64323)

Modified:
  pyside2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-10-29 22:16:26 UTC (rev 366083)
+++ PKGBUILD2019-10-30 06:57:44 UTC (rev 366084)
@@ -9,7 +9,7 @@
 url='https://www.qt.io'
 license=(LGPL)
 pkgdesc='Enables the use of Qt5 APIs in Python applications'
-depends=(python-shiboken2 qt5-base)
+depends=(python-shiboken2 qt5-declarative)
 makedepends=(shiboken2 cmake
  qt5-multimedia qt5-tools qt5-sensors qt5-charts qt5-webengine 
qt5-datavis3d
  qt5-websockets qt5-speech qt5-3d qt5-svg qt5-script qt5-scxml 
qt5-x11extras qt5-remoteobjects)


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

2019-10-26 Thread Evangelos Foutras via arch-commits
Date: Saturday, October 26, 2019 @ 16:19:30
  Author: foutrelis
Revision: 365876

Python 3.8 rebuild

Modified:
  pyside2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-10-26 16:04:27 UTC (rev 365875)
+++ PKGBUILD2019-10-26 16:19:30 UTC (rev 365876)
@@ -4,7 +4,7 @@
 pkgname=pyside2
 _qtver=5.13.1
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 url='https://www.qt.io'
 license=(LGPL)


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

2019-09-05 Thread Antonio Rojas via arch-commits
Date: Thursday, September 5, 2019 @ 17:49:25
  Author: arojas
Revision: 361953

Update to 5.13.1

Modified:
  pyside2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-09-05 17:37:52 UTC (rev 361952)
+++ PKGBUILD2019-09-05 17:49:25 UTC (rev 361953)
@@ -2,9 +2,9 @@
 # Maintainer: Felix Yan 
 
 pkgname=pyside2
-_qtver=5.13.0
+_qtver=5.13.1
 pkgver=${_qtver/-/}
-pkgrel=2
+pkgrel=1
 arch=(x86_64)
 url='https://www.qt.io'
 license=(LGPL)
@@ -31,16 +31,11 @@
 provides=(python-pyside2)
 replaces=(python-pyside2)
 _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 pyside2/trunk (PKGBUILD)

2019-07-11 Thread Antonio Rojas via arch-commits
Date: Thursday, July 11, 2019 @ 17:52:55
  Author: arojas
Revision: 357766

Revert commit that crashes QCoreApplication

Modified:
  pyside2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-07-11 17:45:16 UTC (rev 357765)
+++ PKGBUILD2019-07-11 17:52:55 UTC (rev 357766)
@@ -4,7 +4,7 @@
 pkgname=pyside2
 _qtver=5.13.0
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 url='https://www.qt.io'
 license=(LGPL)
@@ -31,11 +31,16 @@
 provides=(python-pyside2)
 replaces=(python-pyside2)
 _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=80a6f91c;)
+sha256sums=('8e47e778a6c8ee86e9bc7dbf56371cf607e9f3c1a03a7d6df9e34f8dba555782'
+'7d36bfc604f4759f593e8d599e04e9ef713b35b3e0c373c12868b32913564303')
 
 prepare() {
   mkdir -p build
+
+  cd $_pkgfqn
+  patch -Rp1 -i ../qcoreapplication-crash.patch # Revert commit that makes 
QCoreApplication import crash
 }
 
 build() {


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

2019-06-27 Thread Antonio Rojas via arch-commits
Date: Thursday, June 27, 2019 @ 10:06:36
  Author: arojas
Revision: 356950

Update to 5.13.0

Modified:
  pyside2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-06-27 09:53:38 UTC (rev 356949)
+++ PKGBUILD2019-06-27 10:06:36 UTC (rev 356950)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=pyside2
-_qtver=5.12.4
+_qtver=5.13.0
 pkgver=${_qtver/-/}
 pkgrel=1
 arch=(x86_64)
@@ -32,7 +32,7 @@
 replaces=(python-pyside2)
 _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 pyside2/trunk (PKGBUILD)

2019-06-20 Thread Antonio Rojas via arch-commits
Date: Thursday, June 20, 2019 @ 10:50:16
  Author: arojas
Revision: 356597

Update to 5.12.4

Modified:
  pyside2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-06-20 10:29:35 UTC (rev 356596)
+++ PKGBUILD2019-06-20 10:50:16 UTC (rev 356597)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=pyside2
-_qtver=5.12.3
+_qtver=5.12.4
 pkgver=${_qtver/-/}
 pkgrel=1
 arch=(x86_64)
@@ -32,7 +32,7 @@
 replaces=(python-pyside2)
 _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
@@ -43,8 +43,7 @@
   cmake ../${_pkgfqn}/sources/pyside2 \
 -DCMAKE_INSTALL_PREFIX=/usr \
 -DBUILD_TESTS=OFF \
--DPYTHON_EXECUTABLE=/usr/bin/python \
--DCMAKE_BUILD_TYPE=None # https://bugreports.qt.io/browse/PYSIDE-980
+-DPYTHON_EXECUTABLE=/usr/bin/python
   make
 }
 


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

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

Update to 5.12.3

Modified:
  pyside2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-04-29 15:20:27 UTC (rev 352234)
+++ PKGBUILD2019-04-29 15:30:22 UTC (rev 352235)
@@ -2,9 +2,9 @@
 # Maintainer: Felix Yan 
 
 pkgname=pyside2
-_qtver=5.12.2
+_qtver=5.12.3
 pkgver=${_qtver/-/}
-pkgrel=2
+pkgrel=1
 arch=(x86_64)
 url='https://www.qt.io'
 license=(LGPL)
@@ -32,7 +32,7 @@
 replaces=(python-pyside2)
 _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 pyside2/trunk (PKGBUILD)

2019-03-22 Thread Antonio Rojas via arch-commits
Date: Friday, March 22, 2019 @ 11:00:23
  Author: arojas
Revision: 348857

New tarball

Modified:
  pyside2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-03-22 10:50:13 UTC (rev 348856)
+++ PKGBUILD2019-03-22 11:00:23 UTC (rev 348857)
@@ -4,7 +4,7 @@
 pkgname=pyside2
 _qtver=5.12.2
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 url='https://www.qt.io'
 license=(LGPL)
@@ -32,7 +32,7 @@
 replaces=(python-pyside2)
 _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 pyside2/trunk (PKGBUILD)

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

Update to 5.12.2

Modified:
  pyside2/trunk/PKGBUILD

--+
 PKGBUILD |   12 +++-
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-03-21 12:02:33 UTC (rev 348791)
+++ PKGBUILD2019-03-21 12:36:21 UTC (rev 348792)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=pyside2
-_qtver=5.12.1
+_qtver=5.12.2
 pkgver=${_qtver/-/}
 pkgrel=1
 arch=(x86_64)
@@ -12,7 +12,7 @@
 depends=(python-shiboken2 qt5-base)
 makedepends=(shiboken2 cmake
  qt5-multimedia qt5-tools qt5-sensors qt5-charts qt5-webengine 
qt5-datavis3d
- qt5-websockets qt5-speech qt5-3d qt5-svg qt5-script qt5-scxml 
qt5-x11extras)
+ qt5-websockets qt5-speech qt5-3d qt5-svg qt5-script qt5-scxml 
qt5-x11extras qt5-remoteobjects)
 optdepends=('qt5-svg: QtSvg bindings'
 'qt5-script: QtScript bindings'
 'qt5-speech: QtTextToSpeech bindings'
@@ -24,7 +24,8 @@
 'qt5-3d: Qt3D bindings'
 'qt5-x11extras: QtX11Extras bindings'
 'qt5-charts: QtCharts bindings'
-'qt5-tools: QtHelp bindings')
+'qt5-tools: QtHelp bindings'
+'qt5-remoteobjects: QtRemoteObjects bindings')
 groups=(qt qt5)
 conflicts=(python-pyside2)
 provides=(python-pyside2)
@@ -31,7 +32,7 @@
 replaces=(python-pyside2)
 _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
@@ -42,7 +43,8 @@
   cmake ../${_pkgfqn}/sources/pyside2 \
 -DCMAKE_INSTALL_PREFIX=/usr \
 -DBUILD_TESTS=OFF \
--DUSE_PYTHON_VERSION=3
+-DPYTHON_EXECUTABLE=/usr/bin/python \
+-DCMAKE_BUILD_TYPE=None # https://bugreports.qt.io/browse/PYSIDE-980
   make
 }
 


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

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

Update to 5.12.1

Modified:
  pyside2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-02-02 11:00:32 UTC (rev 345064)
+++ PKGBUILD2019-02-02 11:32:32 UTC (rev 345065)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=pyside2
-_qtver=5.12.0
+_qtver=5.12.1
 pkgver=${_qtver/-/}
 pkgrel=1
 arch=(x86_64)
@@ -31,7 +31,7 @@
 replaces=(python-pyside2)
 _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 pyside2/trunk (PKGBUILD)

2018-12-17 Thread Antonio Rojas via arch-commits
Date: Monday, December 17, 2018 @ 16:30:53
  Author: arojas
Revision: 342433

Update to 5.12.0

Modified:
  pyside2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-12-17 16:05:16 UTC (rev 342432)
+++ PKGBUILD2018-12-17 16:30:53 UTC (rev 342433)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=pyside2
-_qtver=5.11.2
+_qtver=5.12.0
 pkgver=${_qtver/-/}
 pkgrel=1
 arch=(x86_64)
@@ -31,7 +31,7 @@
 replaces=(python-pyside2)
 _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 pyside2/trunk (PKGBUILD)

2018-09-21 Thread Antonio Rojas via arch-commits
Date: Friday, September 21, 2018 @ 19:47:37
  Author: arojas
Revision: 335198

Update to 5.11.2

Modified:
  pyside2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-09-21 18:47:16 UTC (rev 335197)
+++ PKGBUILD2018-09-21 19:47:37 UTC (rev 335198)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=pyside2
-_qtver=5.11.1
+_qtver=5.11.2
 pkgver=${_qtver/-/}
 pkgrel=1
 arch=(x86_64)
@@ -31,7 +31,7 @@
 replaces=(python-pyside2)
 _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 pyside2/trunk (PKGBUILD)

2018-08-17 Thread Antonio Rojas via arch-commits
Date: Friday, August 17, 2018 @ 09:35:27
  Author: arojas
Revision: 331638

Update to 5.11.1

Modified:
  pyside2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-08-17 09:11:49 UTC (rev 331637)
+++ PKGBUILD2018-08-17 09:35:27 UTC (rev 331638)
@@ -2,9 +2,9 @@
 # Maintainer: Felix Yan 
 
 pkgname=pyside2
-_qtver=5.11.0
+_qtver=5.11.1
 pkgver=${_qtver/-/}
-pkgrel=4
+pkgrel=1
 arch=(x86_64)
 url='http://qt-project.org/'
 license=(LGPL)
@@ -31,7 +31,7 @@
 replaces=(python-pyside2)
 _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 pyside2/trunk (PKGBUILD)

2018-07-19 Thread Felix Yan via arch-commits
Date: Thursday, July 19, 2018 @ 07:41:23
  Author: felixonmars
Revision: 329029

Python 3.7 rebuild

Modified:
  pyside2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-19 07:31:53 UTC (rev 329028)
+++ PKGBUILD2018-07-19 07:41:23 UTC (rev 329029)
@@ -4,7 +4,7 @@
 pkgname=pyside2
 _qtver=5.11.0
 pkgver=${_qtver/-/}
-pkgrel=3
+pkgrel=4
 arch=(x86_64)
 url='http://qt-project.org/'
 license=(LGPL)


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

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

Simplify packaging by not caring for python2

Modified:
  pyside2/trunk/PKGBUILD

--+
 PKGBUILD |   77 -
 1 file changed, 21 insertions(+), 56 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-28 14:10:40 UTC (rev 327720)
+++ PKGBUILD2018-06-28 14:28:06 UTC (rev 327721)
@@ -1,25 +1,40 @@
 # Maintainer: Antonio Rojas 
 # Maintainer: Felix Yan 
 
-pkgbase=pyside2
-pkgname=(pyside2 python-pyside2 python2-pyside2)
+pkgname=pyside2
 _qtver=5.11.0
 pkgver=${_qtver/-/}
-pkgrel=2
+pkgrel=3
 arch=(x86_64)
 url='http://qt-project.org/'
 license=(LGPL)
 pkgdesc='Enables the use of Qt5 APIs in Python applications'
-makedepends=(shiboken2 python-shiboken2 python2-shiboken2 cmake
+depends=(python-shiboken2 qt5-base)
+makedepends=(shiboken2 cmake
  qt5-multimedia qt5-tools qt5-sensors qt5-charts qt5-webengine 
qt5-datavis3d
  qt5-websockets qt5-speech qt5-3d qt5-svg qt5-script qt5-scxml 
qt5-x11extras)
+optdepends=('qt5-svg: QtSvg bindings'
+'qt5-script: QtScript bindings'
+'qt5-speech: QtTextToSpeech bindings'
+'qt5-websockets: QtWebSockets bindings'
+'qt5-webengine: QtWebEngine bindings'
+'qt5-datavis3d: QtDataVisualization bindings'
+'qt5-scxml: QtScxml bindings'
+'qt5-sensors: QtSensors bindings'
+'qt5-3d: Qt3D bindings'
+'qt5-x11extras: QtX11Extras bindings'
+'qt5-charts: QtCharts bindings'
+'qt5-tools: QtHelp bindings')
 groups=(qt qt5)
+conflicts=(python-pyside2)
+provides=(python-pyside2)
+replaces=(python-pyside2)
 _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() {
@@ -29,60 +44,10 @@
 -DBUILD_TESTS=OFF \
 -DUSE_PYTHON_VERSION=3
   make
-
-  cd ../build2
-  cmake ../${_pkgfqn}/sources/pyside2 \
--DCMAKE_INSTALL_PREFIX=/usr \
--DBUILD_TESTS=OFF \
--DUSE_PYTHON_VERSION=2
-  make
 }
 
-package_pyside2() {
-  depends=()
-
+package() {
   cd build
-  make DESTDIR="$pkgdir" install
-# Provided in python-pyside2
-  rm -r "$pkgdir"/usr/lib/{python*,lib*,cmake/*/*python*}
-}
 
-package_python-pyside2() {
-  depends=(python-shiboken2 qt5-base)
-  optdepends=('qt5-svg: QtSvg bindings'
-  'qt5-script: QtScript bindings'
-  'qt5-speech: QtTextToSpeech bindings'
-  'qt5-websockets: QtWebSockets bindings'
-  'qt5-webengine: QtWebEngine bindings'
-  'qt5-datavis3d: QtDataVisualization bindings'
-  'qt5-scxml: QtScxml bindings'
-  'qt5-sensors: QtSensors bindings'
-  'qt5-3d: Qt3D bindings'
-  'qt5-x11extras: QtX11Extras bindings'
-  'qt5-charts: QtCharts bindings'
-  'qt5-tools: QtHelp bindings')
-  cd build
   make DESTDIR="$pkgdir" install
-# Provided in pyside2
-  rm -r 
"$pkgdir"/usr/{include,share,lib/{pkgconfig,cmake/*/PySide2Config{.cmake,Version.cmake}}}
 }
-
-package_python2-pyside2() {
-  depends=(python2-shiboken2 qt5-base)
-  optdepends=('qt5-svg: QtSvg bindings'
-  'qt5-script: QtScript bindings'
-  'qt5-speech: QtTextToSpeech bindings'
-  'qt5-websockets: QtWebSockets bindings'
-  'qt5-webengine: QtWebEngine bindings'
-  'qt5-datavis3d: QtDataVisualization bindings'
-  'qt5-scxml: QtScxml bindings'
-  'qt5-sensors: QtSensors bindings'
-  'qt5-3d: Qt3D bindings'
-  'qt5-x11extras: QtX11Extras bindings'
-  'qt5-charts: QtCharts bindings'
-  'qt5-tools: QtHelp bindings')
-  cd build2
-  make DESTDIR="$pkgdir" install
-# Provided in pyside2
-  rm -r 
"$pkgdir"/usr/{include,share,lib/{pkgconfig,cmake/*/PySide2Config{.cmake,Version.cmake}}}
-}


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

2018-06-15 Thread Antonio Rojas via arch-commits
Date: Friday, June 15, 2018 @ 21:26:47
  Author: arojas
Revision: 327007

Build using cmake so that files are properly installed in the filesystem

Modified:
  pyside2/trunk/PKGBUILD

--+
 PKGBUILD |   68 ++---
 1 file changed, 39 insertions(+), 29 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-15 20:51:19 UTC (rev 327006)
+++ PKGBUILD2018-06-15 21:26:47 UTC (rev 327007)
@@ -2,16 +2,16 @@
 # Maintainer: Felix Yan 
 
 pkgbase=pyside2
-pkgname=(python-pyside2 python2-pyside2)
+pkgname=(pyside2 python-pyside2 python2-pyside2)
 _qtver=5.11.0
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 url='http://qt-project.org/'
-license=(GPL3 LGPL3 FDL custom)
+license=(LGPL)
 pkgdesc='Enables the use of Qt5 APIs in Python applications'
-makedepends=(python-setuptools python2-setuptools clang llvm cmake libxslt
- qt5-xmlpatterns qt5-multimedia qt5-tools qt5-sensors qt5-charts 
qt5-webengine qt5-datavis3d
+makedepends=(shiboken2 python-shiboken2 python2-shiboken2 cmake
+ qt5-multimedia qt5-tools qt5-sensors qt5-charts qt5-webengine 
qt5-datavis3d
  qt5-websockets qt5-speech qt5-3d qt5-svg qt5-script qt5-scxml 
qt5-x11extras)
 groups=(qt qt5)
 _pkgfqn=pyside-setup-everywhere-src-${_qtver}
@@ -19,21 +19,37 @@
 sha256sums=('fbc412c4544bca308291a08a5173a949ca530d801f00b8337902a5067e490922')
 
 prepare() {
-  cp -r ${_pkgfqn} ${_pkgfqn}-py2
+  mkdir -p build{,2}
 }
 
 build() {
-  cd ${_pkgfqn}
-  python setup.py build
+  cd build
+  cmake ../${_pkgfqn}/sources/pyside2 \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DBUILD_TESTS=OFF \
+-DUSE_PYTHON_VERSION=3
+  make
 
-  cd ../${_pkgfqn}-py2
-  python2 setup.py build
+  cd ../build2
+  cmake ../${_pkgfqn}/sources/pyside2 \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DBUILD_TESTS=OFF \
+-DUSE_PYTHON_VERSION=2
+  make
 }
 
+package_pyside2() {
+  depends=()
+
+  cd build
+  make DESTDIR="$pkgdir" install
+# Provided in python-pyside2
+  rm -r "$pkgdir"/usr/lib/{python*,lib*,cmake/*/*python*}
+}
+
 package_python-pyside2() {
-  depends=(python qt5-base)
-  optdepends=('clang: for shiboken'
-  'qt5-svg: QtSvg bindings'
+  depends=(python-shiboken2 qt5-base)
+  optdepends=('qt5-svg: QtSvg bindings'
   'qt5-script: QtScript bindings'
   'qt5-speech: QtTextToSpeech bindings'
   'qt5-websockets: QtWebSockets bindings'
@@ -45,17 +61,15 @@
   'qt5-x11extras: QtX11Extras bindings'
   'qt5-charts: QtCharts bindings'
   'qt5-tools: QtHelp bindings')
-  cd ${_pkgfqn}
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
-  install -d "$pkgdir"/usr/share/licenses
-  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+  cd build
+  make DESTDIR="$pkgdir" install
+# Provided in pyside2
+  rm -r 
"$pkgdir"/usr/{include,share,lib/{pkgconfig,cmake/*/PySide2Config{.cmake,Version.cmake}}}
 }
 
 package_python2-pyside2() {
-  depends=(python2 qt5-base)
-  optdepends=('clang: for shiboken'
-  'qt5-svg: QtSvg bindings'
+  depends=(python2-shiboken2 qt5-base)
+  optdepends=('qt5-svg: QtSvg bindings'
   'qt5-script: QtScript bindings'
   'qt5-speech: QtTextToSpeech bindings'
   'qt5-websockets: QtWebSockets bindings'
@@ -67,12 +81,8 @@
   'qt5-x11extras: QtX11Extras bindings'
   'qt5-charts: QtCharts bindings'
   'qt5-tools: QtHelp bindings')
-  cd ${_pkgfqn}-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
-  install -d "$pkgdir"/usr/share/licenses
-  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
-
-  # Fix conflict with python-pyside2
-  rm -r "$pkgdir"/usr/bin
+  cd build2
+  make DESTDIR="$pkgdir" install
+# Provided in pyside2
+  rm -r 
"$pkgdir"/usr/{include,share,lib/{pkgconfig,cmake/*/PySide2Config{.cmake,Version.cmake}}}
 }