From f398ba0def298ce4e66f18d5364123ce58d691a8 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Mon, 26 Feb 2024 11:53:32 -0500 Subject: [PATCH] python-sphinxcontrib-jsmath was removed due to minimization efforts prior to public launch --- .gitignore | 1 - 10.patch | 41 ---------- README.md | 3 - dead.package | 1 + python-sphinxcontrib-jsmath.spec | 131 ------------------------------- sources | 1 - 6 files changed, 1 insertion(+), 177 deletions(-) delete mode 100644 .gitignore delete mode 100644 10.patch delete mode 100644 README.md create mode 100644 dead.package delete mode 100644 python-sphinxcontrib-jsmath.spec delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 1169af5..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/sphinxcontrib-jsmath-*.tar.gz diff --git a/10.patch b/10.patch deleted file mode 100644 index c06f210..0000000 --- a/10.patch +++ /dev/null @@ -1,41 +0,0 @@ -From cae629ac3751e495d8286b15d503ef8bad69bd94 Mon Sep 17 00:00:00 2001 -From: Karolina Surma -Date: Thu, 7 Jul 2022 10:37:21 +0200 -Subject: [PATCH] Fix compatibility with Sphinx 5 - ---- - tests/test_jsmath.py | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/tests/test_jsmath.py b/tests/test_jsmath.py -index 573d262..eea8a95 100644 ---- a/tests/test_jsmath.py -+++ b/tests/test_jsmath.py -@@ -14,7 +14,7 @@ import pytest - @pytest.mark.sphinx('html', testroot='basic') - def test_basic(app, status, warning): - app.builder.build_all() -- content = (app.outdir / 'math.html').text() -+ content = (app.outdir / 'math.html').read_text() - print(content) - assert '
\nE = mc^2
' in content - assert ('(1)\nE = mc^2' in content - assert ('(1.1)' -@@ -52,5 +52,5 @@ def test_numfig_enabled(app, status, warning): - def test_disabled_when_equations_not_found(app, status, warning): - app.builder.build_all() - -- content = (app.outdir / 'index.html').text() -+ content = (app.outdir / 'index.html').read_text() - assert 'jsmath.js' not in content --- -2.35.3 - diff --git a/README.md b/README.md deleted file mode 100644 index 6ff7a13..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# python-sphinxcontrib-jsmath - -The python-sphinxcontrib-jsmath package \ No newline at end of file diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..dd7d8a0 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +python-sphinxcontrib-jsmath was removed due to minimization efforts prior to public launch diff --git a/python-sphinxcontrib-jsmath.spec b/python-sphinxcontrib-jsmath.spec deleted file mode 100644 index 97bd792..0000000 --- a/python-sphinxcontrib-jsmath.spec +++ /dev/null @@ -1,131 +0,0 @@ -%global pypi_name sphinxcontrib-jsmath - -# when bootstrapping sphinx, we cannot run tests yet -%bcond_without check - -Name: python-%{pypi_name} -Version: 1.0.1 -Release: 22%{?dist} -Summary: Sphinx extension for math in HTML via JavaScript -License: BSD -URL: http://sphinx-doc.org/ -Source0: %{pypi_source} -BuildArch: noarch - -# In Sphinx 5 path.read_text() replaces path.text() - compatibility fix -Patch: https://github.com/sphinx-doc/sphinxcontrib-jsmath/pull/10.patch - -BuildRequires: python%{python3_pkgversion}-devel -BuildRequires: python%{python3_pkgversion}-setuptools - -%if %{with check} -BuildRequires: python%{python3_pkgversion}-pytest -BuildRequires: python%{python3_pkgversion}-sphinx >= 1:2 -%endif - -%description -sphinxcontrib-jsmath is a sphinx extension which renders display math in HTML -via JavaScript. - - -%package -n python%{python3_pkgversion}-%{pypi_name} -Summary: %{summary} -%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}} - -%description -n python%{python3_pkgversion}-%{pypi_name} -sphinxcontrib-jsmath is a sphinx extension which renders display math in HTML -via JavaScript. - - -%prep -%autosetup -p1 -n %{pypi_name}-%{version} - - -%build -%py3_build - - -%install -%py3_install - - -%if %{with check} -%check -%{__python3} -m pytest -%endif - - -%files -n python%{python3_pkgversion}-%{pypi_name} -%license LICENSE -%doc README.rst -%{python3_sitelib}/sphinxcontrib/ -%{python3_sitelib}/sphinxcontrib_jsmath-%{version}-py%{python3_version}-*.pth -%{python3_sitelib}/sphinxcontrib_jsmath-%{version}-py%{python3_version}.egg-info/ - - -%changelog -* Fri Jul 21 2023 Fedora Release Engineering - 1.0.1-22 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Fri Jun 16 2023 Python Maint - 1.0.1-21 -- Rebuilt for Python 3.12 - -* Tue Jun 13 2023 Python Maint - 1.0.1-20 -- Bootstrap for Python 3.12 - -* Fri Jan 20 2023 Fedora Release Engineering - 1.0.1-19 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Fri Jul 22 2022 Fedora Release Engineering - 1.0.1-18 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Thu Jul 07 2022 Karolina Surma - 1.0.1-17 -- Fix compatibility with Sphinx 5 - -* Mon Jun 13 2022 Python Maint - 1.0.1-16 -- Rebuilt for Python 3.11 - -* Mon Jun 13 2022 Python Maint - 1.0.1-15 -- Bootstrap for Python 3.11 - -* Fri Jan 21 2022 Fedora Release Engineering - 1.0.1-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Fri Jul 23 2021 Fedora Release Engineering - 1.0.1-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Thu Jun 03 2021 Python Maint - 1.0.1-12 -- Rebuilt for Python 3.10 - -* Wed Jun 02 2021 Python Maint - 1.0.1-11 -- Bootstrap for Python 3.10 - -* Wed Jan 27 2021 Fedora Release Engineering - 1.0.1-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Wed Jul 29 2020 Fedora Release Engineering - 1.0.1-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Sat May 23 2020 Miro Hrončok - 1.0.1-8 -- Rebuilt for Python 3.9 - -* Fri May 22 2020 Miro Hrončok - 1.0.1-7 -- Bootstrap for Python 3.9 - -* Thu Jan 30 2020 Fedora Release Engineering - 1.0.1-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Thu Oct 03 2019 Miro Hrončok - 1.0.1-5 -- Rebuilt for Python 3.8.0rc1 (#1748018) - -* Fri Aug 16 2019 Miro Hrončok - 1.0.1-4 -- Rebuilt for Python 3.8 - -* Thu Aug 15 2019 Miro Hrončok - 1.0.1-3 -- Bootstrap for Python 3.8 - -* Fri Jul 26 2019 Fedora Release Engineering - 1.0.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Fri Mar 01 2019 Miro Hrončok - 1.0.1-1 -- Initial package diff --git a/sources b/sources deleted file mode 100644 index 99f0ded..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (sphinxcontrib-jsmath-1.0.1.tar.gz) = c1e6488f5c0ca4567c27ec7c597c9db321ac32ce354c4ad62fea534b2ae1c0acb183a921f46216bbc3891f14acfaac05ddf324b8fdaf99828df07bc91aa7e5c7