aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2022-01-03 06:16:49 +0000
committerMichał Polański <michal@polanski.me>2022-01-04 23:55:45 +0000
commitdd2d3280e0ddb25a43d47e8363d076a8251223f2 (patch)
tree47ed6da90a8e478598970a7f71fa4e865ea07162
parent22c29e334fe34aee52f9fa8234160d7856b9582e (diff)
downloadaports-dd2d3280e0ddb25a43d47e8363d076a8251223f2.tar.gz
aports-dd2d3280e0ddb25a43d47e8363d076a8251223f2.tar.bz2
aports-dd2d3280e0ddb25a43d47e8363d076a8251223f2.tar.xz
testing/py3-sphinx-autodoc-typehints: upgrade to 1.13.0
-rw-r--r--testing/py3-sphinx-autodoc-typehints/APKBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/testing/py3-sphinx-autodoc-typehints/APKBUILD b/testing/py3-sphinx-autodoc-typehints/APKBUILD
index 3d44e797d4..70932abd2b 100644
--- a/testing/py3-sphinx-autodoc-typehints/APKBUILD
+++ b/testing/py3-sphinx-autodoc-typehints/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=py3-sphinx-autodoc-typehints
-_pyname=sphinx-autodoc-typehints
-pkgver=1.12.0
+_pyname=sphinx_autodoc_typehints
+pkgver=1.13.0
pkgrel=0
pkgdesc="Type hints support for the Sphinx autodoc extension"
url="https://github.com/agronholm/sphinx-autodoc-typehints"
@@ -12,7 +12,7 @@ options="net"
depends="python3 py3-sphinx py3-typing-extensions"
makedepends="py3-setuptools py3-setuptools_scm"
checkdepends="py3-pytest py3-sphobjinv"
-source="https://files.pythonhosted.org/packages/source/${_pyname%${_pyname#?}}/$_pyname/$_pyname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/s/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
build() {
@@ -20,13 +20,13 @@ build() {
}
check() {
- # skip failing tests
- # https://github.com/agronholm/sphinx-autodoc-typehints/issues/99
- PYTHONPATH="build:$PYTHONPATH" pytest -v -k 'not test_sphinx_output'
+ PYTHONPATH="build/lib" pytest
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="92fa340495a48111fa3d600d8c46d83214505ac2a5c71cb1303e846ac439f1e0ff14f8ce8dfd5ffdb6a62a9fa15dde8a5227f946840d9377ad5f7fde25894b75 sphinx-autodoc-typehints-1.12.0.tar.gz"
+sha512sums="
+4b814de748f2d58021fbc1deb011fa3db0e580a948ee1b0c159a083665402af8ef292e772742bfd5b3f8d58e2280cd404c75955e3d8ce3de6773e268b34524eb sphinx_autodoc_typehints-1.13.0.tar.gz
+"