Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:GA
python-zope.interface
python-zope.interface.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-zope.interface.spec of Package python-zope.interface
# # spec file for package python-zope.interface # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-zope.interface %global modname zope.interface Version: 4.4.2 Release: 0 Url: http://pypi.python.org/pypi/%{modname} Summary: Interfaces for Python License: ZPL-2.1 Group: Development/Languages/Python Source: https://pypi.io/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes # Testing requirements: BuildRequires: %{python_module coverage} BuildRequires: %{python_module nose} BuildRequires: %{python_module zope.event} BuildRequires: python-rpm-macros %define oldpython python %ifpython2 Provides: %{oldpython}-zopeinterface = %{version} Obsoletes: %{oldpython}-zopeinterface < %{version} Provides: %{oldpython}-zope-interface = %{version} Obsoletes: %{oldpython}-zope-interface < %{version} %endif %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %endif %python_subpackages %description This package is intended to be independently reusable in any Python project. It is maintained by the Zope Toolkit project. This package provides an implementation of object interfaces for Python. Interfaces are a mechanism for labeling objects as conforming to a given API or contract. So, this package can be considered as implementation of the Design By Contract methodology support in Python. %prep %setup -q -n %{modname}-%{version} %build %python_build %install %python_install %python_expand rm %{buildroot}%{$python_sitearch}/zope/interface/_zope_interface_coptimizations.c %fdupes %{buildroot}%{_prefix} %check %python_exec setup.py test %files %{python_files} %defattr(-,root,root,-) %doc COPYRIGHT.txt CHANGES.rst LICENSE.txt README.rst %{python_sitearch}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor