forked from pool/python-autodocsumm
Accepting request 1087978 from devel:languages:python
- fixed the license tag to Apache-2.0 OBS-URL: https://build.opensuse.org/request/show/1087978 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-autodocsumm?expand=0&rev=12
This commit is contained in:
commit
096e28e367
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 19 09:03:48 UTC 2023 - Jiri Srain <jsrain@suse.com>
|
||||
|
||||
- fixed the license tag to Apache-2.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 10 19:39:44 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -16,19 +16,18 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-autodocsumm
|
||||
Version: 0.2.11
|
||||
Release: 0
|
||||
Summary: Extended sphinx autodoc including automatic autosummaries
|
||||
License: GPL-2.0-only
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/Chilipp/autodocsumm
|
||||
Source: https://github.com/Chilipp/autodocsumm/archive/v%{version}.tar.gz#/autodocsumm-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module versioneer}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Sphinx >= 2.2
|
||||
@ -44,20 +43,20 @@ BuildRequires: %{python_module pytest}
|
||||
Extended sphinx autodoc including automatic autosummaries
|
||||
|
||||
%prep
|
||||
%setup -q -n autodocsumm-%{version}
|
||||
%autosetup -p1 -n autodocsumm-%{version}
|
||||
# Remove guard from Sphinx version
|
||||
sed -i 's/,<5.0//' setup.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
|
Loading…
Reference in New Issue
Block a user