[arch-commits] Commit in pyside6/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Fri Sep 3 12:22:13 UTC 2021
Date: Friday, September 3, 2021 @ 12:22:13
Author: arojas
Revision: 423393
archrelease: copy trunk to extra-x86_64
Added:
pyside6/repos/extra-x86_64/PKGBUILD
(from rev 423392, pyside6/trunk/PKGBUILD)
Deleted:
pyside6/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-03 12:22:03 UTC (rev 423392)
+++ PKGBUILD 2021-09-03 12:22:13 UTC (rev 423393)
@@ -1,42 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=pyside6
-_qtver=6.1.2
-pkgver=${_qtver/-/}
-pkgrel=1
-arch=(x86_64)
-url='https://www.qt.io'
-license=(LGPL)
-pkgdesc='Enables the use of Qt6 APIs in Python applications'
-depends=(shiboken6 qt6-declarative)
-makedepends=(cmake python-setuptools vulkan-headers python-numpy qt6-tools qt6-quickcontrols2 qt6-svg qt6-3d qt6-scxml qt6-datavis3d qt6-charts)
-optdepends=('qt6-tools: QtHelp, QtUiTools bindings'
- 'qt6-quickcontrols2: QtQuickControls2 bindings'
- 'qt6-svg: QtSvg bindings'
- 'qt6-3d: Qt3D bindings'
- 'qt6-scxml: QtScxml bindings'
- 'qt6-datavis3d: QtDataVisualization bindings'
- 'qt6-charts: QtCharts bindings')
-_pkgfn=pyside-setup-opensource-src-$_qtver
-source=(https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-$pkgver-src/${_pkgfn}.tar.xz)
-sha256sums=('009a32182c75754cfe0f1ff761d430c7865cfbe820a3285723ed478f8a74e558')
-
-build() {
- cmake -B build -S $_pkgfn/sources/pyside6 \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DBUILD_TESTS=OFF \
- -DPYTHON_EXECUTABLE=/usr/bin/python
- 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=pyside6
- _pythonpath=`python -c "from sysconfig import get_path; print(get_path('platlib'))"`
- cp -r PySide6.egg-info "$pkgdir"/$_pythonpath
-}
Copied: pyside6/repos/extra-x86_64/PKGBUILD (from rev 423392, pyside6/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-09-03 12:22:13 UTC (rev 423393)
@@ -0,0 +1,42 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=pyside6
+_qtver=6.1.3
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=(x86_64)
+url='https://www.qt.io'
+license=(LGPL)
+pkgdesc='Enables the use of Qt6 APIs in Python applications'
+depends=(shiboken6 qt6-declarative)
+makedepends=(cmake python-setuptools vulkan-headers python-numpy qt6-tools qt6-quickcontrols2 qt6-svg qt6-3d qt6-scxml qt6-datavis3d qt6-charts)
+optdepends=('qt6-tools: QtHelp, QtUiTools bindings'
+ 'qt6-quickcontrols2: QtQuickControls2 bindings'
+ 'qt6-svg: QtSvg bindings'
+ 'qt6-3d: Qt3D bindings'
+ 'qt6-scxml: QtScxml bindings'
+ 'qt6-datavis3d: QtDataVisualization bindings'
+ 'qt6-charts: QtCharts bindings')
+_pkgfn=pyside-setup-opensource-src-$_qtver
+source=(https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-$pkgver-src/${_pkgfn}.tar.xz)
+sha256sums=('33badd9f01b72c9f69f988c47c64111e7b50a47c30841d5957a11a5c4e9821bb')
+
+build() {
+ cmake -B build -S $_pkgfn/sources/pyside6 \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_TESTS=OFF \
+ -DPYTHON_EXECUTABLE=/usr/bin/python
+ 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=pyside6
+ _pythonpath=`python -c "from sysconfig import get_path; print(get_path('platlib'))"`
+ cp -r PySide6.egg-info "$pkgdir"/$_pythonpath
+}
More information about the arch-commits
mailing list