[packages/python3-sphobjinv] - updated to 2.3.1.3
qboosh
qboosh at pld-linux.org
Tue Nov 18 19:04:33 CET 2025
commit 53f8940ac66d47b85e551d8d219e199069671774
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Nov 18 19:04:31 2025 +0100
- updated to 2.3.1.3
no-latin1-test.patch | 27 ---------------------------
python3-sphobjinv.spec | 22 ++++++++++------------
2 files changed, 10 insertions(+), 39 deletions(-)
---
diff --git a/python3-sphobjinv.spec b/python3-sphobjinv.spec
index 3298f98..61cc571 100644
--- a/python3-sphobjinv.spec
+++ b/python3-sphobjinv.spec
@@ -6,17 +6,16 @@
Summary: Manipulate and inspect Sphinx objects.inv files
Summary(pl.UTF-8): Operacje i badanie plików object.inv Sphinksa
Name: python3-sphobjinv
-Version: 2.3.1.2
+Version: 2.3.1.3
Release: 1
License: MIT
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/sphobjinv/
Source0: https://files.pythonhosted.org/packages/source/s/sphobjinv/sphobjinv-%{version}.tar.gz
-# Source0-md5: 069226ea6bb15ed387360303961919fb
-Patch0: no-latin1-test.patch
+# Source0-md5: 3d9afcb198b0759617188a0fdd73aa79
URL: https://pypi.org/project/sphobjinv/
-BuildRequires: python3-modules >= 1:3.7
-BuildRequires: python3-setuptools
+BuildRequires: python3-modules >= 1:3.9
+BuildRequires: python3-setuptools >= 1:61.2
%if %{with tests}
BuildRequires: python3-Sphinx >= 1.6
BuildRequires: python3-attrs >= 19.2
@@ -25,18 +24,18 @@ BuildRequires: python3-dictdiffer >= 0.9.0
BuildRequires: python3-jsonschema >= 3.0
BuildRequires: python3-pytest >= 4.4.0
BuildRequires: python3-pytest-check >= 1.1.2
-BuildRequires: python3-stdio_mgr
+BuildRequires: python3-pytest-retry
+BuildRequires: python3-stdio_mgr >= 1.0.1
%endif
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
%if %{with doc}
BuildRequires: python3-sphinx_issues
-BuildRequires: python3-sphinx_removed_in
-BuildRequires: python3-sphinx_rtd_theme
+BuildRequires: python3-sphinx_rtd_theme >= 0.5.1
BuildRequires: python3-sphinxcontrib-programoutput
-BuildRequires: sphinx-pdg-3
+BuildRequires: sphinx-pdg-3 >= 7.4.7
%endif
-Requires: python3-modules >= 1:3.7
+Requires: python3-modules >= 1:3.9
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -59,14 +58,13 @@ Dokumentacja API modułu Pythona sphobjinv.
%prep
%setup -q -n sphobjinv-%{version}
-%patch -P0 -p1
%build
%py3_build
%if %{with tests}
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-PYTEST_PLUGINS="pytest_check.plugin" \
+PYTEST_PLUGINS="pytest_check.plugin,pytest_retry.retry_plugin" \
PYTHONPATH=$(pwd)/src \
%{__python3} -m pytest tests -k 'not test_cli_invocations'
%endif
diff --git a/no-latin1-test.patch b/no-latin1-test.patch
deleted file mode 100644
index 1532e41..0000000
--- a/no-latin1-test.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- sphobjinv-2.3.1.2/tests/test_valid_objects.py.orig 2025-04-06 00:45:17.546647320 +0200
-+++ sphobjinv-2.3.1.2/tests/test_valid_objects.py 2025-04-06 00:49:10.743314043 +0200
-@@ -159,24 +159,3 @@
- def latin_1_id(val):
- """Provide the value-and-character string for a latin-1 int value."""
- return str(val) + "_" + int_to_latin_1(val)
--
--
-- at pytest.mark.parametrize("leadint", range(255), ids=latin_1_id)
--def test_name_lead_chars(misc_info, sphinx_ifile_data_count, leadint):
-- """Screen for valid/invalid first characters."""
-- name = int_to_latin_1(leadint) + " foo"
--
-- # Expect only two fail cases, newline and '#'
-- if leadint in (10, 35):
-- pytest.xfail("Known invalid name lead char")
--
-- test_dataobjstr_valid_objects(
-- misc_info,
-- sphinx_ifile_data_count,
-- name=name,
-- domain="py",
-- role="data",
-- prio=1,
-- uri="data.html#$",
-- dispname="-",
-- )
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-sphobjinv.git/commitdiff/53f8940ac66d47b85e551d8d219e199069671774
More information about the pld-cvs-commit
mailing list