Bert Peters pushed to branch main at Arch Linux / Packaging / Packages / python-wcag-contrast-ratio
Commits: 16aed87c by loqs at 2026-02-23T20:47:39+00:00 Use PEP 517 for building Related https://archlinux.org/todo/use-pep-517-for-building-if-supported/. - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -7,7 +7,10 @@ pkgbase = python-wcag-contrast-ratio license = MIT checkdepends = python-pytest checkdepends = python-hypothesis + makedepends = python-build + makedepends = python-installer makedepends = python-setuptools + makedepends = python-wheel depends = python source = https://github.com/gsnedders/wcag-contrast-ratio/archive/0.9/python-wcag-contrast-ratio-0.9.tar.gz sha256sums = 5263b7b2d0f5a8de2eb409421284947df6229b67bca0055fa10da38153835815 ===================================== PKGBUILD ===================================== @@ -9,14 +9,14 @@ arch=('any') url="https://github.com/gsnedders/wcag-contrast-ratio" license=('MIT') depends=('python') -makedepends=('python-setuptools') +makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') checkdepends=('python-pytest' 'python-hypothesis') source=(https://github.com/gsnedders/wcag-contrast-ratio/archive/$pkgver/$pkgname-$pkgver.tar.gz) sha256sums=('5263b7b2d0f5a8de2eb409421284947df6229b67bca0055fa10da38153835815') build() { cd $_name-$pkgver - python setup.py build + python -m build --wheel --no-isolation } check() { @@ -26,7 +26,7 @@ check() { package() { cd $_name-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build + python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-wcag-contrast-ratio/-/commit/16aed87c14b2bfaaaf83eac3d809fd748b306656 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-wcag-contrast-ratio/-/commit/16aed87c14b2bfaaaf83eac3d809fd748b306656 You're receiving this email because of your account on gitlab.archlinux.org. Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications | Help: https://gitlab.archlinux.org/help
