Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / python-pyscreenshot
Commits: 08927570 by loqs at 2024-04-12T23:25:11+01:00 Change to a PEP 517 based workflow - - - - - 45001f25 by loqs at 2024-04-12T23:25:13+01:00 Change to SPDX license identifier https://github.com/ponty/pyscreenshot/blob/3.1/LICENSE.txt - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -7,9 +7,9 @@ pkgrel=4 pkgdesc="Copy the contents of the screen to a PIL or Pillow image memory" arch=(any) url="https://github.com/ponty/pyscreenshot" -license=(BSD) +license=(BSD-2-Clause) depends=(python-easyprocess python-entrypoint2 python-mss python-jeepney) -makedepends=(python-setuptools) +makedepends=(python-setuptools python-wheel python-build python-installer) checkdepends=( python-pytest python-pyvirtualdisplay python-pillow python-path.py python-pygame python-xlib python-gobject python-pyqt5 python-wxpython @@ -22,7 +22,7 @@ sha256sums=('8c0e93f0aef66a6bfe55a86abfced6bd396ae4b4f6cc1e36f04a28ad2625594d') build() { cd ${_pkg}-${pkgver} - python setup.py build + python -m build --wheel --no-isolation } check() { @@ -36,6 +36,6 @@ check() { package() { cd ${_pkg}-${pkgver} - python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + 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-pyscreenshot/-/compare/d202c78decbdefcbd738ebc14592cb0267cba87a...45001f25be954037e476dea70c5a928701db0b9c -- This project does not include diff previews in email notifications. View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-pyscreenshot/-/compare/d202c78decbdefcbd738ebc14592cb0267cba87a...45001f25be954037e476dea70c5a928701db0b9c You're receiving this email because of your account on gitlab.archlinux.org.