Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / python-pallets-sphinx-themes
Commits: 439e78c5 by Antonio Rojas at 2024-05-04T19:08:40+02:00 upgpkg: 2.1.3-1: Update to 2.1.3 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,16 +1,18 @@ pkgbase = python-pallets-sphinx-themes pkgdesc = Sphinx themes for Pallets and related projects - pkgver = 2.1.0 - pkgrel = 2 + pkgver = 2.1.3 + pkgrel = 1 url = https://github.com/pallets/pallets-sphinx-themes arch = any license = BSD - makedepends = python-setuptools + makedepends = python-build + makedepends = python-installer + makedepends = python-flit-core depends = python depends = python-sphinx depends = python-importlib-metadata - source = https://github.com/pallets/pallets-sphinx-themes/archive/2.1.0/pallets-sphinx-themes-2.1.0.tar.gz - sha512sums = 6525646a75cd4033cd495fb65036d27c600b8152596f6d0e0df4bab24cf97ea21f61b4c6d56a722e5444d7bc4421584fc9ec4213e3b6733ef09e81a45f085774 - b2sums = 456e3e42b5b7850bf4cb02212ed0ec0629e49a7e491ed77f34038f37220a236b52c1b7c8ae1da0c9a80910262a6759d1e82f7f1c8ff730f8a6d224573ae25d9a + source = https://github.com/pallets/pallets-sphinx-themes/archive/2.1.3/pallets-sphinx-themes-2.1.3.tar.gz + sha512sums = e80b409b5854ae879a64cf6a0660bd7d2e7123a281bb3dd9fb1b838057dc51811d287e20ccb135e25d893e33bc520e026f0d6762a0d86df408e266cab1ee9a0c + b2sums = bdf4ad6ab02bafc2d5f8eb98bc7d23db0bcbd118ab95f97456c2a5ab7f8103a4c116c726abd705bb5582d27aab2a65eaac49476ea80c06ebcf9427e9b3c97e8e pkgname = python-pallets-sphinx-themes ===================================== PKGBUILD ===================================== @@ -2,28 +2,28 @@ pkgname=python-pallets-sphinx-themes _pyname=${pkgname/python-/} -pkgver=2.1.0 -pkgrel=2 +pkgver=2.1.3 +pkgrel=1 pkgdesc='Sphinx themes for Pallets and related projects' url='https://github.com/pallets/pallets-sphinx-themes' arch=('any') license=('BSD') depends=('python' 'python-sphinx' 'python-importlib-metadata') -makedepends=('python-setuptools') +makedepends=('python-build' 'python-installer' 'python-flit-core') source=(https://github.com/pallets/pallets-sphinx-themes/archive/${pkgver}/${_pyname}-${pkgver}.tar.gz) -sha512sums=('6525646a75cd4033cd495fb65036d27c600b8152596f6d0e0df4bab24cf97ea21f61b4c6d56a722e5444d7bc4421584fc9ec4213e3b6733ef09e81a45f085774') -b2sums=('456e3e42b5b7850bf4cb02212ed0ec0629e49a7e491ed77f34038f37220a236b52c1b7c8ae1da0c9a80910262a6759d1e82f7f1c8ff730f8a6d224573ae25d9a') +sha512sums=('e80b409b5854ae879a64cf6a0660bd7d2e7123a281bb3dd9fb1b838057dc51811d287e20ccb135e25d893e33bc520e026f0d6762a0d86df408e266cab1ee9a0c') +b2sums=('bdf4ad6ab02bafc2d5f8eb98bc7d23db0bcbd118ab95f97456c2a5ab7f8103a4c116c726abd705bb5582d27aab2a65eaac49476ea80c06ebcf9427e9b3c97e8e') build() { cd ${_pyname}-${pkgver} - python setup.py build + python -m build --wheel --no-isolation } package() { cd ${_pyname}-${pkgver} - python setup.py install -O1 --root="${pkgdir}" --skip-build - install -Dm 644 LICENSE.rst -t "${pkgdir}/usr/share/licenses/${pkgname}" - install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}" + python -m installer --destdir="${pkgdir}" dist/*.whl + install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" } # vim: ts=2 sw=2 et: View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-pallets-sphinx-themes/-/commit/439e78c5a76ae917b32fe98a91f31b9c26b61f40 -- This project does not include diff previews in email notifications. View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-pallets-sphinx-themes/-/commit/439e78c5a76ae917b32fe98a91f31b9c26b61f40 You're receiving this email because of your account on gitlab.archlinux.org.