pyside2: update to 5.15.2.1
This commit is contained in:
@@ -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})
|
||||
|
||||
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user