Morten Linderud pushed to branch main at Arch Linux / Packaging / Packages / python-guzzle-sphinx-theme
Commits: d07c0378 by loqs at 2026-02-07T21:39:14+00:00 SPDX license identifier https://github.com/guzzle/guzzle_sphinx_theme/blob/0.7.11/LICENSE - - - - - 70ebeea1 by loqs at 2026-02-07T21:41:47+00:00 Use PEP 517 for building Related https://archlinux.org/todo/use-pep-517-for-building-if-supported/. - - - - - f1609e88 by Morten Linderud at 2026-02-09T23:09:19+01:00 Merge remote-tracking branch 'origin/merge-requests/1' * origin/merge-requests/1: Use PEP 517 for building SPDX license identifier - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -4,8 +4,11 @@ pkgbase = python-guzzle-sphinx-theme pkgrel = 15 url = https://github.com/guzzle/guzzle_sphinx_theme arch = any - license = custom + license = MIT + makedepends = python-build + makedepends = python-installer makedepends = python-setuptools + makedepends = python-wheel depends = python depends = python-sphinx>=1.1.3 source = guzzle_sphinx_theme-0.7.11.tar.gz::https://github.com/guzzle/guzzle_sphinx_theme/archive/0.7.11.tar.gz ===================================== PKGBUILD ===================================== @@ -8,20 +8,20 @@ pkgrel=15 pkgdesc='Sphinx theme used by Guzzle' arch=('any') url="https://github.com/guzzle/${_pkgname}" -license=('custom') -makedepends=('python-setuptools') +license=('MIT') +makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') depends=('python' 'python-sphinx>=1.1.3') source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") sha256sums=('f5f0e3d541c09ace912e0fa75dafd46f5a54314a929913c7de9709e677d5aa09') build() { cd "${_pkgname}-$pkgver" - python setup.py build + python -m build --wheel --no-isolation } package() { cd "${_pkgname}-$pkgver" - python setup.py install --root="${pkgdir}" --optimize=1 + python -m installer --destdir="${pkgdir}" dist/*.whl install -Dpm644 'README.rst' 'requirements.txt' -t "${pkgdir}/usr/share/doc/${pkgname}/" install -Dpm644 'LICENSE' "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-guzzle-sphinx-theme/-/compare/199474a4bb2e691f264e0f58c903955f9e94f75b...f1609e88bec21296d3c519de42b3efaf93fc7b3c -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-guzzle-sphinx-theme/-/compare/199474a4bb2e691f264e0f58c903955f9e94f75b...f1609e88bec21296d3c519de42b3efaf93fc7b3c You're receiving this email because of your account on gitlab.archlinux.org.
