File remove-rinoh.patch of Package python-sphinx-tabs
Index: sphinx-tabs-3.5.0/tests/test_build.py
===================================================================
--- sphinx-tabs-3.5.0.orig/tests/test_build.py
+++ sphinx-tabs-3.5.0/tests/test_build.py
@@ -1,5 +1,4 @@
import pytest
-from rinoh.resource import ResourceNotFound
@pytest.mark.sphinx(testroot="basic")
@@ -64,22 +63,6 @@ def test_custom_lexer(app, check_asset_l
check_asset_links(app)
-@pytest.mark.noautobuild
-@pytest.mark.sphinx("rinoh", testroot="rinohtype-pdf")
-def test_rinohtype_pdf(
- app, status, warning, check_build_success, get_sphinx_app_doctree
-):
- try:
- app.build()
- except ResourceNotFound as err:
- if "Tex Gyre Heros" in str(err):
- pytest.skip("Tex Gyre Heros typeface is not available in this environment")
- raise
- check_build_success(status, warning)
- get_sphinx_app_doctree(app, regress=True)
- # Doesn't currently regression test pdf output
-
-
@pytest.mark.sphinx(testroot="disable-closing")
def test_disable_closing(app, check_asset_links):
check_asset_links(app)
Index: sphinx-tabs-3.5.0/setup.py
===================================================================
--- sphinx-tabs-3.5.0.orig/setup.py
+++ sphinx-tabs-3.5.0/setup.py
@@ -34,7 +34,6 @@ setup(
"pytest-regressions",
"pygments",
"bs4",
- "rinohtype",
],
"code_style": ["pre-commit==2.13.0"],
},
Index: sphinx-tabs-3.5.0/setup.cfg
===================================================================
--- sphinx-tabs-3.5.0.orig/setup.cfg
+++ sphinx-tabs-3.5.0/setup.cfg
@@ -7,5 +7,3 @@ filterwarnings =
ignore:nodes.Node.traverse:DeprecationWarning
# Same as above, but for python3.10 it is a pending deprecation
ignore:nodes.Node.traverse:PendingDeprecationWarning
- # More rinoh warning
- ignore:TeX Gyre Pagella does not include:rinoh.warnings.RinohWarning