Date: Wednesday, May 12, 2021 @ 17:02:36 Author: arojas Revision: 415064
archrelease: copy trunk to extra-x86_64 Added: shiboken6/repos/extra-x86_64/PKGBUILD (from rev 415063, shiboken6/trunk/PKGBUILD) Deleted: shiboken6/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 72 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-05-12 17:02:16 UTC (rev 415063) +++ PKGBUILD 2021-05-12 17:02:36 UTC (rev 415064) @@ -1,36 +0,0 @@ -# Maintainer: Antonio Rojas <aro...@archlinux.org> -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=shiboken6 -_qtver=6.0.4 -_clangver=11.1.0 -pkgver=${_qtver/-/} -pkgrel=1 -arch=(x86_64) -url='https://www.qt.io' -license=(GPL2 LGPL) -pkgdesc='Generates bindings for C++ libraries using CPython source code' -depends=(clang=$_clangver llvm libxslt qt6-base) -makedepends=(cmake python-sphinx) -optdepends=('python: Python bindings') -_pkgfn=pyside-setup-opensource-src-$_qtver -source=("https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-$pkgver-src/$_pkgfn.tar.xz") -sha256sums=('0a076dd9f28aabe947739986a47431fa5bece1dccfd8ea90d2c9048ddede6303') - -build() { - cmake -B build -S $_pkgfn/sources/shiboken6 \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DBUILD_TESTS=OFF - cmake --build build -} - -package() { - DESTDIR="$pkgdir" cmake --install build - -# Install egg-info - export PATH="/usr/lib/qt6/bin:$PATH" - cd $_pkgfn - python setup.py egg_info --build-type=shiboken6 - _pythonpath=`python -c "from sysconfig import get_path; print(get_path('platlib'))"` - cp -r shiboken6.egg-info "$pkgdir"/$_pythonpath -} Copied: shiboken6/repos/extra-x86_64/PKGBUILD (from rev 415063, shiboken6/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-05-12 17:02:36 UTC (rev 415064) @@ -0,0 +1,36 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=shiboken6 +_qtver=6.1.0 +_clangver=11.1.0 +pkgver=${_qtver/-/} +pkgrel=1 +arch=(x86_64) +url='https://www.qt.io' +license=(GPL2 LGPL) +pkgdesc='Generates bindings for C++ libraries using CPython source code' +depends=(clang=$_clangver llvm libxslt qt6-base) +makedepends=(cmake python-sphinx python-numpy) +optdepends=('python: Python bindings') +_pkgfn=pyside-setup-opensource-src-$_qtver +source=(https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-$pkgver-src/$_pkgfn.tar.xz) +sha256sums=('95074814a06105b927abebe645eb7f477076a2ff8846b99fc47933b685e23354') + +build() { + cmake -B build -S $_pkgfn/sources/shiboken6 \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUILD_TESTS=OFF + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build + +# Install egg-info + export PATH="/usr/lib/qt6/bin:$PATH" + cd $_pkgfn + python setup.py egg_info --build-type=shiboken6 + _pythonpath=`python -c "from sysconfig import get_path; print(get_path('platlib'))"` + cp -r shiboken6.egg-info "$pkgdir"/$_pythonpath +}