]> git.pld-linux.org Git - packages/python3-sphinxcontrib-jsmath.git/blame - python3-sphinxcontrib-jsmath.spec
rebuild with python 3.10
[packages/python3-sphinxcontrib-jsmath.git] / python3-sphinxcontrib-jsmath.spec
CommitLineData
7c22a5a9
JB
1#
2# Conditional build:
3%bcond_with tests # unit tests (failing?)
4
5Summary: Sphinx extension which renders display math in HTML with JavaScript
6Summary(pl.UTF-8): Rozszerzenie Sphinksa tworzące wyświetlanie wzorów matematycznych w HTML przy użyciu JavaScriptu
7Name: python3-sphinxcontrib-jsmath
8Version: 1.0.1
4b73355e 9Release: 3
7c22a5a9
JB
10License: BSD
11Group: Libraries/Python
12#Source0Download: https://pypi.org/simple/sphinxcontrib-jsmath/
13Source0: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-jsmath/sphinxcontrib-jsmath-%{version}.tar.gz
14# Source0-md5: e45179f0a3608b6766862e0f34c23b62
15URL: https://pypi.org/project/sphinxcontrib-jsmath/
16BuildRequires: python3-modules >= 1:3.5
17BuildRequires: python3-setuptools
18%if %{with tests}
19BuildRequires: python3-Sphinx
20BuildRequires: python3-pytest
21%endif
22BuildRequires: rpm-pythonprov
23BuildRequires: rpmbuild(macros) >= 1.714
24Requires: python3-modules >= 1:3.5
25BuildArch: noarch
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29sphinxcontrib-jsmath is a Sphinx extension which renders display math
30in HTML with JavaScript.
31
32%description -l pl.UTF-8
33sphinxcontrib-jsmath to rozszerzenie Sphinksa, tworzące wyświetlanie
34wzorów matematycznych w HTML przy użyciu JavaScriptu.
35
36%prep
37%setup -q -n sphinxcontrib-jsmath-%{version}
38
39%build
40%py3_build
41
42%if %{with tests}
a5d33abb 43PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
7c22a5a9
JB
44%{__python3} -m pytest tests
45%endif
46
47%install
48rm -rf $RPM_BUILD_ROOT
49
50%py3_install
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
57%doc CHANGES LICENSE README.rst
58%{py3_sitescriptdir}/sphinxcontrib/jsmath
59%{py3_sitescriptdir}/sphinxcontrib_jsmath-%{version}-py*.egg-info
60%{py3_sitescriptdir}/sphinxcontrib_jsmath-%{version}-py*-nspkg.pth
This page took 0.090114 seconds and 4 git commands to generate.