Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / python-textdistance
Commits: 0f1f2ef2 by loqs at 2024-04-12T22:35:46+01:00 Change to a PEP 517 based workflow - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -15,7 +15,12 @@ depends=( python-levenshtein python-pyxdameraulevenshtein ) -makedepends=(python-setuptools) +makedepends=( + python-build + python-installer + python-setuptools + python-wheel +) checkdepends=( python-pytest python-hypothesis @@ -31,7 +36,7 @@ sha256sums=('80de4a8b9a4dec554ec3f3611124ca7decf317f038a5483d8c00c93d3b919924') build() { cd ${_pkg}-${pkgver} - python setup.py build + python -m build --wheel --no-isolation } check() { @@ -42,6 +47,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 -t "${pkgdir}"/usr/share/licenses/${pkgname} } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-textdistance/-/commit/0f1f2ef29186691acfab33b5306023e651ff3479 -- This project does not include diff previews in email notifications. View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-textdistance/-/commit/0f1f2ef29186691acfab33b5306023e651ff3479 You're receiving this email because of your account on gitlab.archlinux.org.