Date: Tuesday, March 28, 2023 @ 17:21:07 Author: polyzen Revision: 1430036
upgpkg: python-sphinx-autoapi 2.1.0-1 Modified: python-sphinx-autoapi/trunk/PKGBUILD ----------+ PKGBUILD | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-03-28 17:14:57 UTC (rev 1430035) +++ PKGBUILD 2023-03-28 17:21:07 UTC (rev 1430036) @@ -3,7 +3,7 @@ _name=sphinx-autoapi pkgname=python-sphinx-autoapi -pkgver=2.0.1 +pkgver=2.1.0 pkgrel=1 pkgdesc="A new approach to API documentation in Sphinx." arch=(any) @@ -15,9 +15,9 @@ checkdepends=(python-pytest) # TODO: package python-go and python-dotnet # optdepends=(python-go python-dotnet) -source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz) -sha256sums=('cdf47968c20852f4feb0ccefd09e414bb820af8af8f82fab15a24b09a3d1baba') -b2sums=('d584618f11addb94816660643392b6b4884b8540d046a1914b7362d87cf308e27bfc9f6e78b0444e94771fdee516678c2f4592aca09cb4590c19efd05f6a69fa') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") +sha256sums=('5b5c58064214d5a846c9c81d23f00990a64654b9bca10213231db54a241bc50f') +b2sums=('3148c01d87a42930bc5cd89569cc58c081aeaf018bc78809ab9134492c42508549d123588bca4333f67c42f130d78ede0747d7754f1e6111473d4a87ad372e80') build() { cd $_name-$pkgver @@ -26,17 +26,12 @@ check() { local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") - local deselected=( - --deselect tests/python/test_pyintegration.py::TestPy3Module::test_annotations - --deselect tests/python/test_pyintegration.py::TestAnnotationCommentsModule::test_integration - --deselect tests/python/test_pyintegration.py::TestPositionalOnlyArgumentsModule::test_integration - ) cd $_name-$pkgver # install to temporary location, as importlib is used python -m installer --destdir=test_dir dist/*.whl export PYTHONPATH="test_dir/$site_packages:$PYTHONPATH" - pytest -v "${deselected[@]}" + pytest -v } package() {
