python3-pytest: update to 7.1.3.

This commit is contained in:
Andrew J. Hesford 2022-09-19 21:07:49 -04:00
parent 17020d31b4
commit 9ece2a371f
2 changed files with 4 additions and 14 deletions

View file

@ -1,5 +1,4 @@
Avoid adding four new packages that aren't necessary for the manual page, Avoid adding four new packages that aren't necessary for the manual page.
and fix the path to the manual source to allow it to be generated.
--- a/doc/en/conf.py --- a/doc/en/conf.py
+++ b/doc/en/conf.py +++ b/doc/en/conf.py
@@ -65,16 +65,12 @@ @@ -65,16 +65,12 @@
@ -19,12 +18,3 @@ and fix the path to the manual source to allow it to be generated.
] ]
# Building PDF docs on readthedocs requires inkscape for svg to pdf # Building PDF docs on readthedocs requires inkscape for svg to pdf
@@ -316,7 +320,7 @@
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
-man_pages = [("usage", "pytest", "pytest usage", ["holger krekel at merlinux eu"], 1)]
+man_pages = [("how-to/usage", "pytest", "pytest usage", ["holger krekel at merlinux eu"], 1)]
# -- Options for Epub output ---------------------------------------------------

View file

@ -1,6 +1,6 @@
# Template file for 'python3-pytest' # Template file for 'python3-pytest'
pkgname=python3-pytest pkgname=python3-pytest
version=7.1.2 version=7.1.3
revision=1 revision=1
wrksrc="pytest-${version}" wrksrc="pytest-${version}"
build_style=python3-module build_style=python3-module
@ -15,7 +15,7 @@ license="MIT"
homepage="https://docs.pytest.org/en/latest/" homepage="https://docs.pytest.org/en/latest/"
changelog="https://docs.pytest.org/en/latest/changelog.html" changelog="https://docs.pytest.org/en/latest/changelog.html"
distfiles="${PYPI_SITE}/p/pytest/pytest-${version}.tar.gz" distfiles="${PYPI_SITE}/p/pytest/pytest-${version}.tar.gz"
checksum=a06a0425453864a270bc45e71f783330a7428defb4230fb5e6a731fde06ecd45 checksum=4f365fec2dff9c1162f834d9f18af1ba13062db0c708bf7b946f8a5c76180c39
alternatives=" alternatives="
pytest:pytest:/usr/bin/pytest3 pytest:pytest:/usr/bin/pytest3
pytest:py.test:/usr/bin/py.test3" pytest:py.test:/usr/bin/py.test3"
@ -27,7 +27,7 @@ post_patch() {
} }
post_build() { post_build() {
PYTHONPATH=$(pwd)/build/lib/ make -C doc/en man PYTHONPATH="$(pwd)/build/lib:${XBPS_CROSS_BASE}/${py3_lib}" make -C doc/en man
vman doc/en/_build/man/pytest.1 vman doc/en/_build/man/pytest.1
} }