From 62a3ff07b4e21d60f4ec95a850cdaebac3c28aa3 Mon Sep 17 00:00:00 2001 From: Mehdi Chinoune Date: Fri, 14 Jan 2022 10:01:15 +0100 Subject: [PATCH] pyside2: update to 5.15.2.1 --- mingw-w64-pyside2-qt5/PKGBUILD | 14 +++++++------- mingw-w64-shiboken2-qt5/PKGBUILD | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/mingw-w64-pyside2-qt5/PKGBUILD b/mingw-w64-pyside2-qt5/PKGBUILD index 61b8e2431a..a28a89fa0a 100644 --- a/mingw-w64-pyside2-qt5/PKGBUILD +++ b/mingw-w64-pyside2-qt5/PKGBUILD @@ -5,8 +5,8 @@ _realname=pyside2 pkgbase=mingw-w64-${_realname}-qt5 pkgname=(${MINGW_PACKAGE_PREFIX}-${_realname}-qt5) pkgdesc="Provides LGPL Qt5 bindings for Python and related tools for binding generation (mingw-w64)" -pkgver=5.15.2 -pkgrel=7 +pkgver=5.15.2.1 +pkgrel=1 arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32') url="https://doc.qt.io/qtforpython-5/" @@ -59,13 +59,13 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cmake" "${MINGW_PACKAGE_PREFIX}-qt5-gamepad") options=('staticlibs' 'strip') _pkgfqn=pyside-setup-opensource-src-$pkgver -source=(https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-${pkgver}-src/${_pkgfqn}.tar.xz +source=(https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-${pkgver}-src/${_pkgfqn}.tar.gz 001-pyside.patch) -sha256sums=('b306504b0b8037079a8eab772ee774b9e877a2d84bab2dbefbe4fa6f83941418' +sha256sums=('91e78e4e3b31ebb0053c2e4f1029703e578615695450c0dd03072248d713b391' 'a941b8e289b9825be086b83c326ded18b64ac78c094e013fd1e7fa56d976b3c1') prepare() { - cd "${srcdir}"/$_pkgfqn + cd "${srcdir}"/${_pkgfqn%.*} patch -p1 -i ${srcdir}/001-pyside.patch } @@ -81,7 +81,7 @@ build() { -DBUILD_TESTS=OFF \ ${_conf} \ -DPYTHON_EXECUTABLE=${MINGW_PREFIX}/bin/python.exe \ - ../${_pkgfqn}/sources/pyside2 + ../${_pkgfqn%.*}/sources/pyside2 MSYS2_ARG_CONV_EXCL="--include-paths=;--typesystem-paths=" \ ${MINGW_PREFIX}/bin/cmake.exe --build ./ @@ -101,7 +101,7 @@ package() { done # Install egg-info - cd "${srcdir}"/$_pkgfqn + cd "${srcdir}"/${_pkgfqn%.*} ${MINGW_PREFIX}/bin/python setup.py egg_info --build-type=pyside2 _pythonpath=`${MINGW_PREFIX}/bin/python -c "from sysconfig import get_path; print(get_path('platlib'))"` cp -r pyside2.egg-info "$pkgdir"/$(cygpath ${_pythonpath}) diff --git a/mingw-w64-shiboken2-qt5/PKGBUILD b/mingw-w64-shiboken2-qt5/PKGBUILD index f9492f4e30..cc23313c7c 100644 --- a/mingw-w64-shiboken2-qt5/PKGBUILD +++ b/mingw-w64-shiboken2-qt5/PKGBUILD @@ -5,8 +5,8 @@ _realname=shiboken2 pkgbase=mingw-w64-${_realname}-qt5 pkgname=(${MINGW_PACKAGE_PREFIX}-${_realname}-qt5) pkgdesc="CPython bindings generator for C++ libraries (mingw-w64)" -pkgver=5.15.2 -pkgrel=8 +pkgver=5.15.2.1 +pkgrel=1 arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32') url="https://doc.qt.io/qtforpython-5/" @@ -24,17 +24,17 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cmake" "${MINGW_PACKAGE_PREFIX}-cc") options=('staticlibs' 'strip') _pkgfqn=pyside-setup-opensource-src-$pkgver -source=(https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-${pkgver}-src/${_pkgfqn}.tar.xz +source=(https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-${pkgver}-src/${_pkgfqn}.tar.gz 001-shiboken.patch 002-cmake-relative-paths.patch 003-llvm-paths.patch) -sha256sums=('b306504b0b8037079a8eab772ee774b9e877a2d84bab2dbefbe4fa6f83941418' +sha256sums=('91e78e4e3b31ebb0053c2e4f1029703e578615695450c0dd03072248d713b391' 'd7150cd5c554e5da68f5a53e08b46af02e45c5fc3481e99a1289b194e3220015' 'e8fce91fee692a3ef906c841575e53e141a58c0c97c63fd1d94bed5a823190f9' '0cb712ba34d9951b0c29dc3b71f9c82882064331bd54a4cf0f4c792837932497') prepare() { - cd "${srcdir}"/$_pkgfqn + cd "${srcdir}"/${_pkgfqn%.*} patch -p1 -i ${srcdir}/001-shiboken.patch patch -p1 -i ${srcdir}/002-cmake-relative-paths.patch patch -p1 -i ${srcdir}/003-llvm-paths.patch @@ -54,7 +54,7 @@ build() { -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTS=OFF \ -DPYTHON_EXECUTABLE=${MINGW_PREFIX}/bin/python.exe \ - ../${_pkgfqn}/sources/shiboken2 + ../${_pkgfqn%.*}/sources/shiboken2 ${MINGW_PREFIX}/bin/cmake.exe --build ./ } @@ -73,7 +73,7 @@ package() { done # Install egg-info - cd "${srcdir}"/$_pkgfqn + cd "${srcdir}"/${_pkgfqn%.*} ${MINGW_PREFIX}/bin/python setup.py egg_info --build-type=shiboken2 _pythonpath=`${MINGW_PREFIX}/bin/python -c "from sysconfig import get_path; print(get_path('platlib'))"` cp -r shiboken2.egg-info "$pkgdir"/$(cygpath ${_pythonpath})