Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / python-fields
Commits: 7eb049dd by loqs at 2026-02-04T23:14:36+00:00 Use PEP 517 for building Related https://archlinux.org/packages/extra/any/python-fields/. - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -7,7 +7,10 @@ pkgbase = python-fields license = BSD-2-Clause checkdepends = python-pytest checkdepends = python-attrs + makedepends = python-build + makedepends = python-installer makedepends = python-setuptools + makedepends = python-wheel depends = python source = python-fields-5.0.0.tar.gz::https://github.com/ionelmc/python-fields/archive/v5.0.0.tar.gz source = python310.patch ===================================== PKGBUILD ===================================== @@ -9,7 +9,7 @@ pkgdesc='A totally different take on container boilerplate' url='https://github.com/ionelmc/python-fields' license=('BSD-2-Clause') depends=('python') -makedepends=('python-setuptools') +makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') checkdepends=('python-pytest' 'python-attrs') source=("$pkgbase-$pkgver.tar.gz::https://github.com/ionelmc/python-fields/archive/v$pkgver.tar.gz" python310.patch) @@ -24,7 +24,7 @@ prepare() { build() { cd "$srcdir"/python-fields-$pkgver - python setup.py build + python -m build --wheel --no-isolation } check() { @@ -35,6 +35,6 @@ check() { package_python-fields() { cd python-fields-$pkgver - python setup.py install --root "$pkgdir" --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-fields/-/commit/7eb049ddda1948aa579432682040c443e343ce12 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-fields/-/commit/7eb049ddda1948aa579432682040c443e343ce12 You're receiving this email because of your account on gitlab.archlinux.org.
