forked from pool/python-zope.interface
- update to 6.1:
* Add support for Python 3.12. * Fix building of the docs for non-final versions. - Update to version 5.5.2 - Update to version 5.5.1 - Update to version 5.5.0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=60
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
%define oldpython python
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-zope.interface%{psuffix}
|
||||
Version: 6.0
|
||||
Version: 6.1
|
||||
Release: 0
|
||||
Summary: Interfaces for Python
|
||||
License: ZPL-2.1
|
||||
@@ -36,7 +36,8 @@ URL: https://pypi.python.org/pypi/zope.interface
|
||||
Source: https://files.pythonhosted.org/packages/source/z/zope.interface/%{modname}-%{version}.tar.gz
|
||||
# needed for tests that try to compile things
|
||||
BuildRequires: %{python_module devel >= 3.7}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module wheel}
|
||||
# SECTION test requirements
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module zope.event}
|
||||
@@ -69,12 +70,12 @@ the Design By Contract methodology support in Python.
|
||||
|
||||
%build
|
||||
%if !%{with test}
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if !%{with test}
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand rm %{buildroot}%{$python_sitearch}/zope/interface/_zope_interface_coptimizations.c
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
%endif
|
||||
|
||||
Reference in New Issue
Block a user