Date: Wednesday, November 16, 2022 @ 22:08:29 Author: dvzrv Revision: 1349278
upgpkg: python-sphinx-argparse 0.4.0-1: Upgrade to 0.4.0. Modified: python-sphinx-argparse/trunk/PKGBUILD ----------+ PKGBUILD | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-11-16 22:04:43 UTC (rev 1349277) +++ PKGBUILD 2022-11-16 22:08:29 UTC (rev 1349278) @@ -1,8 +1,9 @@ # Maintainer: David Runge <[email protected]> _name=sphinx-argparse +_pypi_name=sphinx_argparse pkgname=python-sphinx-argparse -pkgver=0.3.2 +pkgver=0.4.0 pkgrel=1 pkgdesc="Sphinx extension that automatically documents argparse commands and options" arch=(any) @@ -12,22 +13,22 @@ makedepends=(python-build python-installer python-poetry-core python-wheel) checkdepends=(python-pytest) optdepends=('python-commonmark: markdown support') -source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz) -sha512sums=('5029b5ce0f79f37e134b36a800713bbbc1fd24c2013447ed0e0656b41527a2f709ce6b4201138dae678ceb9d03e288a42353bfec1bf5868e9f7881e563906c05') -b2sums=('dbd96475ebb2857a536eb075cee6cd54f08897beb8dd37e6e6a2f098c9758a8e13e0a54d96ff7f9e84dadc6b6ff1af38766cae0c7951cc4b27e3f6f753a81971') +source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_pypi_name-$pkgver.tar.gz) +sha512sums=('b96050da6c02f87c54f9dc9146bed955e99258df740b467575a2b3e9919fa8c4c6d30a736dab24360086bfc0d7d09c4bc7a818700af2c7846eed3a3b99053d65') +b2sums=('73118f56ff82d52f04066b9d500aebc77eb5a0fecd03fa69f382c0f2afc0cbffdd395da707cf37b59f039e93935f8d5c3fe0e0f7a2820d3b6509dd78b37b0d74') build() { - cd $_name-$pkgver + cd $_pypi_name-$pkgver python -m build --wheel --no-isolation } check() { - cd $_name-$pkgver + cd $_pypi_name-$pkgver pytest -vv } package() { - cd $_name-$pkgver + cd $_pypi_name-$pkgver python -m installer --destdir="$pkgdir" dist/*.whl install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" }
