Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / python-ecdsa
Commits: 210b1390 by loqs at 2026-02-01T21:35:37+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-ecdsa license = MIT checkdepends = python-pytest checkdepends = python-hypothesis + makedepends = python-build + makedepends = python-installer makedepends = python-setuptools + makedepends = python-wheel depends = python-six options = !emptydirs source = https://files.pythonhosted.org/packages/source/e/ecdsa/ecdsa-0.19.1.tar.gz ===================================== PKGBUILD ===================================== @@ -9,7 +9,7 @@ arch=('any') url="https://github.com/tlsfuzzer/python-ecdsa" license=('MIT') depends=('python-six') -makedepends=('python-setuptools') +makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') checkdepends=('python-pytest' 'python-hypothesis') options=(!emptydirs) source=("https://files.pythonhosted.org/packages/source/e/ecdsa/ecdsa-$pkgver.tar.gz") @@ -19,6 +19,11 @@ prepare() { cd ecdsa-$pkgver } +build() { + cd ecdsa-$pkgver + python -m build --wheel --no-isolation +} + check() { cd ecdsa-$pkgver python -m pytest @@ -26,6 +31,6 @@ check() { package() { cd ecdsa-$pkgver - python setup.py install --root="$pkgdir/" --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-ecdsa/-/commit/210b1390557b89cb6ecb1d38671063a2d14f3234 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-ecdsa/-/commit/210b1390557b89cb6ecb1d38671063a2d14f3234 You're receiving this email because of your account on gitlab.archlinux.org.
