backports/py3-{pyqt6-sip, qt6, sip}: new aport #554
3 changed files with 133 additions and 0 deletions
36
backports/py3-pyqt6-sip/APKBUILD
Normal file
36
backports/py3-pyqt6-sip/APKBUILD
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Contributor: Rosie K Languet <rkl@rosiesworkshop.net>
|
||||
# Maintainer: Rosie K Languet <rkl@rosiesworkshop.net>
|
||||
pkgname=py3-pyqt6-sip
|
||||
pkgver=13.6.0
|
||||
pkgrel=1
|
||||
pkgdesc="The sip module support for PyQt6"
|
||||
url="https://riverbankcomputing.com/software/sip"
|
||||
arch="all"
|
||||
license="custom:sip"
|
||||
depends="python3"
|
||||
makedepends="
|
||||
py3-gpep517
|
||||
py3-setuptools
|
||||
py3-wheel
|
||||
python3-dev
|
||||
"
|
||||
source="https://pypi.python.org/packages/source/P/PyQt6-sip/PyQt6_sip-$pkgver.tar.gz"
|
||||
options="!check" # No tests
|
||||
builddir="$srcdir/PyQt6_sip-$pkgver"
|
||||
|
||||
build() {
|
||||
export CFLAGS="$CFLAGS -O2 -flto=auto"
|
||||
export CXXFLAGS="$CXXFLAGS -O2 -flto=auto"
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir .dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 -m installer -d "$pkgdir" \
|
||||
.dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
bd2fa70d64544d8104d3477cb650a0e6bcefa0008680afcf7d187ba3fb1117871c0237d3a7f047144c8a8a8eeb8da941a3b206f8ee0601cb2cc734243cdb9d46 PyQt6_sip-13.6.0.tar.gz
|
||||
"
|
59
backports/py3-qt6/APKBUILD
Normal file
59
backports/py3-qt6/APKBUILD
Normal file
|
@ -0,0 +1,59 @@
|
|||
# Contributor: Rosie K Languet <rkl@rosiesworkshop.net>
|
||||
# Maintainer: Rosie K Languet <rkl@rosiesworkshop.net>
|
||||
pkgname=py3-qt6
|
||||
pkgver=6.7.1
|
||||
pkgrel=0
|
||||
pkgdesc="Python 3 bindings for the Qt toolkit"
|
||||
url="https://www.riverbankcomputing.com/software/pyqt/"
|
||||
arch="all"
|
||||
license="GPL-3.0-only"
|
||||
depends="
|
||||
py3-pyqt6-sip
|
||||
python3
|
||||
"
|
||||
makedepends="
|
||||
libx11-dev
|
||||
py3-dbus-dev
|
||||
py3-opengl
|
||||
py3-pyqt-builder
|
||||
py3-sip
|
||||
python3-dev
|
||||
qt6-qtbase-dev
|
||||
qt6-qtconnectivity-dev
|
||||
qt6-qtdeclarative-dev
|
||||
qt6-qtmultimedia-dev
|
||||
qt6-qtserialport-dev
|
||||
qt6-qtsvg-dev
|
||||
qt6-qttools-dev
|
||||
qt6-qtwebchannel-dev
|
||||
qt6-qtwebsockets-dev
|
||||
"
|
||||
|
||||
subpackages="$pkgname-pyc"
|
||||
source="https://pypi.python.org/packages/source/P/PyQt6/PyQt6-$pkgver.tar.gz"
|
||||
builddir="$srcdir/PyQt6-$pkgver"
|
||||
|
||||
build() {
|
||||
export CFLAGS="$CFLAGS -O2 -flto=auto"
|
||||
export CXXFLAGS="$CXXFLAGS -O2 -flto=auto"
|
||||
sip-build \
|
||||
--confirm-license \
|
||||
--qmake /usr/lib/qt6/bin/qmake \
|
||||
--api-dir /usr/share/qt6/qsci/api/python \
|
||||
--pep484-pyi \
|
||||
--no-make
|
||||
make -C build
|
||||
}
|
||||
|
||||
check() {
|
||||
make -C build check
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" INSTALL_ROOT="$pkgdir" -C build install -j1
|
||||
python3 -m compileall -j 0 "$pkgdir"/usr/lib/python3*
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
1e0fec009e1823b06460fd96eddc00ed31388c20f6d832aa0ebaa130baf06d83514df43af7961c3cb2872570d27e539d6db7bf6143ccdfd61a19da7521be2c7e PyQt6-6.7.1.tar.gz
|
||||
"
|
38
backports/py3-sip/APKBUILD
Normal file
38
backports/py3-sip/APKBUILD
Normal file
|
@ -0,0 +1,38 @@
|
|||
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
||||
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
||||
pkgname=py3-sip
|
||||
pkgver=6.8.6
|
||||
pkgrel=0
|
||||
pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries"
|
||||
options="!check" # No testsuite
|
||||
url="https://www.riverbankcomputing.com/software/sip/"
|
||||
arch="all"
|
||||
license="custom:sip"
|
||||
depends="
|
||||
py3-packaging
|
||||
py3-ply
|
||||
py3-setuptools
|
||||
py3-toml
|
||||
"
|
||||
makedepends="python3-dev py3-gpep517 py3-wheel"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="https://pypi.python.org/packages/source/s/sip/sip-$pkgver.tar.gz"
|
||||
builddir="$srcdir/sip-$pkgver"
|
||||
|
||||
replaces="py-sip" # Backwards comptibility
|
||||
provides="py-sip=$pkgver-r$pkgrel" # Backwards comptibility
|
||||
|
||||
build() {
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir .dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 -m installer -d "$pkgdir" \
|
||||
.dist/sip-*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
c884c58fc51708e2dd247453f2214e6b01d7e1a9a0166b4228feb5d996310ace2665238dde26af34907e596a0a1c710fc130ae79297f430f73f639a3eb781a50 sip-6.8.6.tar.gz
|
||||
"
|
Loading…
Reference in a new issue