Morten Linderud pushed to branch main at Arch Linux / Packaging / Packages / python-xlib
Commits: a5a1e25d by loqs at 2026-01-09T21:01:16+00:00 Use PEP 517 workflow https://archlinux.org/todo/use-pep-517-for-building-if-supported/ - - - - - 28925793 by loqs at 2026-01-09T21:06:18+00:00 SPDX License identifier - https://github.com/python-xlib/python-xlib/blob/0.33/LICENSE - https://github.com/python-xlib/python-xlib/blob/0.33/setup.cfg#L20 - - - - - a32c8269 by loqs at 2026-01-09T21:17:16+00:00 Replace in checkdepends python-nose with python-pytest - Specify none standard test locations to match nose. - Related https://gitlab.archlinux.org/archlinux/packaging/packages/python-nose/-/issues/2. - - - - - c2e3e339 by Morten Linderud at 2026-02-09T23:15:36+01:00 Merge remote-tracking branch 'origin/merge-requests/1' * origin/merge-requests/1: Replace in checkdepends python-nose with python-pytest SPDX License identifier Use PEP 517 workflow - - - - - df2ab363 by Morten Linderud at 2026-02-09T23:16:40+01:00 upgpkg: 0.33-6 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,14 +1,17 @@ pkgbase = python-xlib pkgdesc = A fully functional X client library for Python programs pkgver = 0.33 - pkgrel = 5 + pkgrel = 6 url = https://github.com/python-xlib/python-xlib arch = any - license = LGPL + license = LGPL-2.1-or-later checkdepends = xorg-xauth checkdepends = xorg-server-xvfb - checkdepends = python-nose + checkdepends = python-pytest + makedepends = python-build + makedepends = python-installer makedepends = python-setuptools-scm + makedepends = python-wheel depends = python-six source = python-xlib-0.33.tar.gz::https://github.com/python-xlib/python-xlib/archive/0.33.tar.gz source = mock.patch ===================================== PKGBUILD ===================================== @@ -5,14 +5,14 @@ pkgname=python-xlib pkgver=0.33 -pkgrel=5 +pkgrel=6 pkgdesc="A fully functional X client library for Python programs" url="https://github.com/python-xlib/python-xlib" arch=('any') -license=('LGPL') +license=('LGPL-2.1-or-later') depends=('python-six') -makedepends=('python-setuptools-scm') -checkdepends=('xorg-xauth' 'xorg-server-xvfb' 'python-nose') +makedepends=('python-build' 'python-installer' 'python-setuptools-scm' 'python-wheel') +checkdepends=('xorg-xauth' 'xorg-server-xvfb' 'python-pytest') source=("$pkgname-$pkgver.tar.gz::https://github.com/python-xlib/python-xlib/archive/$pkgver.tar.gz" "mock.patch") sha256sums=('e10d1b49655800bffe0fbb5eb31eeef915a4421952ef006d468d53d34901f6f8' @@ -25,15 +25,15 @@ prepare() { build(){ cd "$pkgname-$pkgver" - python setup.py build + python -m build --wheel --no-isolation } check(){ cd "$pkgname-$pkgver" - python ./runtests.py + xvfb-run pytest -v examples/run_examples.py test/ } package_python-xlib() { cd "$pkgname-$pkgver" - python setup.py install --root="$pkgdir" --optimize=1 --skip-build + python -m installer --destdir="$pkgdir" dist/*.whl } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-xlib/-/compare/47d121e819d42dfe1b994a4776cc97e84d725f8a...df2ab363deca026629966c5a9a03e0ae75844943 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-xlib/-/compare/47d121e819d42dfe1b994a4776cc97e84d725f8a...df2ab363deca026629966c5a9a03e0ae75844943 You're receiving this email because of your account on gitlab.archlinux.org.
