14
0

Accepting request 1184071 from devel:languages:python

- build as PEP517

OBS-URL: https://build.opensuse.org/request/show/1184071
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-readthedocs-sphinx-ext?expand=0&rev=17
This commit is contained in:
2024-07-03 18:29:41 +00:00
committed by Git OBS Bridge
2 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jun 30 07:19:00 UTC 2024 - Dirk Müller <dmueller@suse.com>
- build as PEP517
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 29 10:04:58 UTC 2023 - Dirk Müller <dmueller@suse.com> Fri Dec 29 10:04:58 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-readthedocs-sphinx-ext # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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 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 Source: https://files.pythonhosted.org/packages/source/r/readthedocs-sphinx-ext/readthedocs-sphinx-ext-%{version}.tar.gz
BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests} BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-Sphinx 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} %setup -q -n readthedocs-sphinx-ext-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
@@ -58,6 +60,6 @@ others are just code that we ship and enable during builds on Read the Docs.
%doc README.rst %doc README.rst
%license LICENSE %license LICENSE
%{python_sitelib}/readthedocs_ext %{python_sitelib}/readthedocs_ext
%{python_sitelib}/readthedocs_sphinx_ext-%{version}-py*.egg-info %{python_sitelib}/readthedocs_sphinx_ext-%{version}.dist-info
%changelog %changelog