Merged update from upstream sources
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/python-readthedocs-sphinx-ext.git#fca65a444db32d7d118645c73edf0851dc2ce8ae
This commit is contained in:
parent
c993041975
commit
53278d65c1
@ -1,7 +1,7 @@
|
|||||||
%global srcname readthedocs-sphinx-ext
|
%global srcname readthedocs-sphinx-ext
|
||||||
|
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 2.1.2
|
Version: 2.1.3
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Sphinx extension for Read the Docs overrides
|
Summary: Sphinx extension for Read the Docs overrides
|
||||||
|
|
||||||
@ -10,11 +10,10 @@ URL: https://github.com/readthedocs/readthedocs-sphinx-ext
|
|||||||
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: pyproject-rpm-macros
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: %{py3_dist jinja2}
|
||||||
# upstream supports multiple sphinx versions
|
BuildRequires: %{py3_dist pytest}
|
||||||
# tox specifies dependency on sphinx based on toxenv,
|
BuildRequires: %{py3_dist requests}
|
||||||
# so we add it manually here
|
|
||||||
BuildRequires: %{py3_dist sphinx}
|
BuildRequires: %{py3_dist sphinx}
|
||||||
|
|
||||||
%global _desc %{expand:
|
%global _desc %{expand:
|
||||||
@ -35,18 +34,15 @@ Summary: Sphinx extension for Read the Docs overrides
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -n %{srcname}-%{version}
|
%autosetup -n %{srcname}-%{version}
|
||||||
|
|
||||||
%generate_buildrequires
|
|
||||||
%pyproject_buildrequires -t
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%py3_build
|
||||||
rst2html --no-datestamp README.rst README.html
|
rst2html --no-datestamp README.rst README.html
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%py3_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%tox
|
pytest
|
||||||
|
|
||||||
%files -n python3-%{srcname}
|
%files -n python3-%{srcname}
|
||||||
%doc README.html
|
%doc README.html
|
||||||
@ -55,6 +51,10 @@ rst2html --no-datestamp README.rst README.html
|
|||||||
%{python3_sitelib}/readthedocs_sphinx_ext*
|
%{python3_sitelib}/readthedocs_sphinx_ext*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 19 2021 Jerry James <loganjerry@gmail.com> - 2.1.3-1
|
||||||
|
- Version 2.1.3
|
||||||
|
- Revert to the py3_* macros (avoids dependency on external mock)
|
||||||
|
|
||||||
* Wed Jan 6 2021 Jerry James <loganjerry@gmail.com> - 2.1.2-1
|
* Wed Jan 6 2021 Jerry James <loganjerry@gmail.com> - 2.1.2-1
|
||||||
- Version 2.1.2
|
- Version 2.1.2
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (readthedocs-sphinx-ext-2.1.2.tar.gz) = 12974b914151e7875afbcf27cc583a88d20932996f0b0e96acfc8935d8b7b5b98ef1dad35483c0a71ce3b948ad2973ecaaa2b64cdc8ad3551515961df78a49ca
|
SHA512 (readthedocs-sphinx-ext-2.1.3.tar.gz) = 6ee1f6b08a12782624a77658fdfa0db70524dbeb6f73cd9877e5206c9509114455ba560509533f89055946041591536f61c88a570e589321deaf734e2b25c0d3
|
||||||
|
Loading…
Reference in New Issue
Block a user