Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / python-qtpy
Commits: f0660fd0 by loqs at 2024-04-09T12:45:22+01:00 Change to a PEP 517 based workflow - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -10,7 +10,12 @@ arch=(any) url="https://github.com/spyder-ide/qtpy/" license=(MIT) depends=(python-packaging) -makedepends=(python-setuptools) +makedepends=( + python-build + python-installer + python-setuptools + python-wheel +) optdepends=('python-pyqt5: Qt5 Python bindings' 'python-pyqt6: Qt6 Python bindings' 'python-pyqt5-webengine: Qt5-WebEngine python bindings' @@ -51,7 +56,7 @@ sha256sums=('e5f3ceaf3465b453f71cc0248fc85116ae5b3dfd76cbfd491409eb345a9f9df2') build() { cd ${_pkgname}-${pkgver} - python setup.py build + python -m build --wheel --no-isolation } check() { @@ -62,6 +67,6 @@ check() { package() { cd ${_pkgname}-${pkgver} - python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build + python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}/ } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-qtpy/-/commit/f0660fd0ad0c7a72259cb74a6fb758084d6114af -- This project does not include diff previews in email notifications. View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-qtpy/-/commit/f0660fd0ad0c7a72259cb74a6fb758084d6114af You're receiving this email because of your account on gitlab.archlinux.org.