From 9ece2a371f74e9e45c58894684763f9ebdec9af5 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Mon, 19 Sep 2022 21:07:49 -0400 Subject: [PATCH] python3-pytest: update to 7.1.3. --- .../patches/man-remove-sphinx-deps.patch | 12 +----------- srcpkgs/python3-pytest/template | 6 +++--- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/srcpkgs/python3-pytest/patches/man-remove-sphinx-deps.patch b/srcpkgs/python3-pytest/patches/man-remove-sphinx-deps.patch index 3a3bea50b9a..5002a9c3079 100644 --- a/srcpkgs/python3-pytest/patches/man-remove-sphinx-deps.patch +++ b/srcpkgs/python3-pytest/patches/man-remove-sphinx-deps.patch @@ -1,5 +1,4 @@ -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. +Avoid adding four new packages that aren't necessary for the manual page. --- a/doc/en/conf.py +++ b/doc/en/conf.py @@ -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 -@@ -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 --------------------------------------------------- diff --git a/srcpkgs/python3-pytest/template b/srcpkgs/python3-pytest/template index f0bf2feddb3..34262908e04 100644 --- a/srcpkgs/python3-pytest/template +++ b/srcpkgs/python3-pytest/template @@ -1,6 +1,6 @@ # Template file for 'python3-pytest' pkgname=python3-pytest -version=7.1.2 +version=7.1.3 revision=1 wrksrc="pytest-${version}" build_style=python3-module @@ -15,7 +15,7 @@ license="MIT" homepage="https://docs.pytest.org/en/latest/" changelog="https://docs.pytest.org/en/latest/changelog.html" distfiles="${PYPI_SITE}/p/pytest/pytest-${version}.tar.gz" -checksum=a06a0425453864a270bc45e71f783330a7428defb4230fb5e6a731fde06ecd45 +checksum=4f365fec2dff9c1162f834d9f18af1ba13062db0c708bf7b946f8a5c76180c39 alternatives=" pytest:pytest:/usr/bin/pytest3 pytest:py.test:/usr/bin/py.test3" @@ -27,7 +27,7 @@ post_patch() { } 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 }