Maxime Gauduin pushed to branch main at Arch Linux / Packaging / Packages / python-aenum
Commits: f3a12743 by loqs at 2024-04-05T21:34:54+01:00 Change to a PEP 517 based workflow - - - - - ed4c916d by loqs at 2024-04-05T21:34:57+01:00 Change to SPDX license identifier https://github.com/ethanfurman/aenum/blob/2d72c2f8378469d8d7bc3972effed14c152d860d/aenum/LICENSE - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -8,11 +8,14 @@ pkgrel=2 pkgdesc='Advanced Enumerations for Python' arch=(any) url=https://github.com/ethanfurman/aenum -license=(BSD) +license=(BSD-3-Clause) depends=(python) makedepends=( git + python-build + python-installer python-setuptools + python-wheel ) _tag=2d72c2f8378469d8d7bc3972effed14c152d860d source=(git+https://github.com/ethanfurman/aenum.git#tag=${_tag}) @@ -29,12 +32,12 @@ pkgver() { build() { cd aenum - python setup.py build + python -m build --wheel --no-isolation } package() { cd aenum - python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + python -m installer --destdir="$pkgdir" dist/*.whl install -dm 755 "${pkgdir}"/usr/share/{doc,licenses/python-aenum} local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") mv "${pkgdir}"${site_packages}/aenum/doc "${pkgdir}"/usr/share/doc/python-aenum View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-aenum/-/compare/877f15c4f1733e72096327b5b69c6ddd28a46655...ed4c916d3bd5d7673135f6d4f54566348d3f4760 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-aenum/-/compare/877f15c4f1733e72096327b5b69c6ddd28a46655...ed4c916d3bd5d7673135f6d4f54566348d3f4760 You're receiving this email because of your account on gitlab.archlinux.org.
