[packages/python3-texext] - new
qboosh
qboosh at pld-linux.org
Tue Apr 21 21:52:16 CEST 2026
commit fffab6320bfea4a62fbfb0fd2fff73ae5db59844
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Apr 21 21:52:49 2026 +0200
- new
python3-texext.spec | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 65 insertions(+)
---
diff --git a/python3-texext.spec b/python3-texext.spec
new file mode 100644
index 0000000..672c88f
--- /dev/null
+++ b/python3-texext.spec
@@ -0,0 +1,65 @@
+#
+# Conditional build:
+%bcond_without tests # unit tests
+
+Summary: Sphinx extensions for working with LaTeX math
+Summary(pl.UTF-8): Rozszerzenia Sphinksa do pracy z wzorami matematycznymi w notacji LaTeXa
+Name: python3-texext
+Version: 0.6.8
+Release: 1
+License: BSD
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/texext/
+Source0: https://files.pythonhosted.org/packages/source/t/texext/texext-%{version}.tar.gz
+# Source0-md5: e6e7453ccdd32ad7b07a70fc252bf5a0
+URL: https://pypi.org/project/texext/
+BuildRequires: python3-modules >= 1:3.2
+BuildRequires: python3-setuptools
+%if %{with tests}
+BuildRequires: python3-Sphinx >= 7
+BuildRequires: python3-docutils >= 0.19
+BuildRequires: python3-matplotlib >= 3.4
+BuildRequires: python3-packaging
+BuildRequires: python3-pytest
+BuildRequires: python3-sphinxtesters >= 0.2.3
+BuildRequires: python3-sympy >= 1.1
+%endif
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.714
+Requires: python3-modules >= 1:3.2
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+texext contains a couple of Sphinx extensions for working with LaTeX
+math.
+
+%description -l pl.UTF-8
+texext zawiera kilka rozszerzeń Sphinksa do pracy z wzorami
+matematycznymi w notacji LaTeXa.
+
+%prep
+%setup -q -n texext-%{version}
+
+%build
+%py3_build
+
+%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTEST_PLUGINS= \
+%{__python3} -m pytest texext/tests
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README.rst
+%{py3_sitescriptdir}/texext
+%{py3_sitescriptdir}/texext-%{version}-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-texext.git/commitdiff/fffab6320bfea4a62fbfb0fd2fff73ae5db59844
More information about the pld-cvs-commit
mailing list