File python-zope.interface.spec of Package python-zope.interface

#
# spec file for package python-zope.interface (Version 3.5.1)
#
# Copyright 2008 SUSE LINUX Products 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.

# norootforbuild
%define real_name zope.interface

Name:           python-%{real_name}
Version:        3.5.1
Release:        0
License:        ZPL 2.1
Source:         %{real_name}-%{version}.tar.gz
Group:          Development/Libraries/Python
Summary:        Zope 3 Interface Infrastructure
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Autoreqprov:    on
Url:            http://pypi.python.org/pypi/zope.interface

BuildRequires:  python-setuptools
BuildRequires:  python-devel
%py_requires

%description
Interfaces are a mechanism for labeling objects as conforming to a given API or contract.
zope.interface Package Changes
3.5.0 (2008-10-26)

    * Fixed declaration of _zope_interface_coptimizations, it's not a top level package.
    * Add a DocTestSuite for odd.py module, so their tests are run.
    * Allow to bootstrap on Jython.
    * Fix https://bugs.launchpad.net/zope3/3.3/+bug/98388: ISpecification was missing a declaration for __iro__.
    * Added optional code optimizations support, which allows the building of C code optimizations to fail (Jython).
    * Replaced _flatten with a non-recursive implementation, effectively making it 3x faster.


%prep
%setup -q -n %real_name-%version

%build
python setup.py build

%install
python setup.py install --prefix=%_prefix --root=%buildroot --record-rpm=filelist

%clean
rm -rf %buildroot

%files -f filelist
%defattr(-,root,root)
%doc 
#PKG-INFO docs


%changelog
* Fri May 29 2009 cfarrell1980@gmail.com
- Update to 3.5.1

* Thu Mar 05 2009 cfarrell1980@gmail.com
- Initial import
openSUSE Build Service is sponsored by