forked from pool/python-zope.hookable
- update to 6.0:
* Drop support for Python 2.7, 3.5, 3.6. * Add support for Python 3.12. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.hookable?expand=0&rev=33
This commit is contained in:
@@ -27,14 +27,15 @@
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-zope.hookable%{psuffix}
|
||||
Version: 5.4
|
||||
Version: 6.0
|
||||
Release: 0
|
||||
Summary: Zope hookable
|
||||
License: ZPL-2.1
|
||||
URL: https://github.com/zopefoundation/zope.hookable
|
||||
Source: https://files.pythonhosted.org/packages/source/z/zope.hookable/zope.hookable-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION documentation requirements
|
||||
@@ -73,13 +74,13 @@ rm -rf zope.hookable.egg-info
|
||||
|
||||
%build
|
||||
%if !%{with test}
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
sphinx-build -b html docs build/sphinx/html && rm -r build/sphinx/html/.{buildinfo,doctrees} build/sphinx/html/objects.inv
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if !%{with test}
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%{python_expand rm -f %{buildroot}%{$python_sitearch}/zope/hookable/_zope_hookable.c
|
||||
%fdupes %{buildroot}%{$python_sitearch}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user