forked from pool/python-readthedocs-sphinx-ext
- build as PEP517
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-readthedocs-sphinx-ext?expand=0&rev=32
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-readthedocs-sphinx-ext
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -26,9 +26,11 @@ Group: Development/Languages/Python
|
||||
URL: https://github.com/rtfd/readthedocs-sphinx-ext
|
||||
Source: https://files.pythonhosted.org/packages/source/r/readthedocs-sphinx-ext/readthedocs-sphinx-ext-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Sphinx
|
||||
@@ -45,10 +47,10 @@ others are just code that we ship and enable during builds on Read the Docs.
|
||||
%setup -q -n readthedocs-sphinx-ext-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -58,6 +60,6 @@ others are just code that we ship and enable during builds on Read the Docs.
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/readthedocs_ext
|
||||
%{python_sitelib}/readthedocs_sphinx_ext-%{version}-py*.egg-info
|
||||
%{python_sitelib}/readthedocs_sphinx_ext-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user