14
0

Accepting request 184603 from home:frispete:python

- Updated to 4.0.5:
  * Fixed a bug where a decorated method caused false positive failures on verifyClass().
- Updated to 4.0.4:
  * Fixed a bug that was revealed by porting zope.traversing. During a loop, the loop body modified a weakref dict causing a RuntimeError error.
- generate documentation in -doc package
- enable tests

OBS-URL: https://build.opensuse.org/request/show/184603
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=15
This commit is contained in:
Sascha Peilicke
2013-07-29 13:37:45 +00:00
committed by Git OBS Bridge
parent 1b3f0d6b7f
commit ff4c4cc330
4 changed files with 42 additions and 5 deletions

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Jul 29 11:17:31 UTC 2013 - hpj@urpla.net
- Updated to 4.0.5:
* Fixed a bug where a decorated method caused false positive failures on verifyClass().
- Updated to 4.0.4:
* Fixed a bug that was revealed by porting zope.traversing. During a loop, the loop body modified a weakref dict causing a RuntimeError error.
- generate documentation in -doc package
- enable tests
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 14 13:53:10 UTC 2013 - p.drouand@gmail.com Mon Jan 14 13:53:10 UTC 2013 - p.drouand@gmail.com

View File

@@ -17,7 +17,7 @@
Name: python-zope.interface Name: python-zope.interface
Version: 4.0.3 Version: 4.0.5
Release: 0 Release: 0
Url: http://pypi.python.org/pypi/zope.interface Url: http://pypi.python.org/pypi/zope.interface
Summary: Interfaces for Python Summary: Interfaces for Python
@@ -28,10 +28,18 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-setuptools BuildRequires: python-setuptools
# Documentation requirements:
BuildRequires: python-Sphinx
BuildRequires: python-repoze.sphinx.autointerface
# Testing requirements:
BuildRequires: python-coverage
BuildRequires: python-nose
BuildRequires: python-zope.event
Provides: python-zopeinterface = %{version} Provides: python-zopeinterface = %{version}
Obsoletes: python-zopeinterface < %{version} Obsoletes: python-zopeinterface < %{version}
Provides: python-zope-interface = %{version} Provides: python-zope-interface = %{version}
Obsoletes: python-zope-interface < %{version} Obsoletes: python-zope-interface < %{version}
%if 0%{?suse_version} && 0%{?suse_version} <= 1110 %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)")} %{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%endif %endif
@@ -45,20 +53,37 @@ Interfaces are a mechanism for labeling objects as conforming to a given
API or contract. So, this package can be considered as implementation of API or contract. So, this package can be considered as implementation of
the Design By Contract methodology support in Python. the Design By Contract methodology support in Python.
%package doc
Summary: Interfaces for Python
Group: Development/Languages/Python
Requires: %{name} = %{version}
%description doc
This package contains documentation files for %{name}.
%prep %prep
%setup -q -n zope.interface-%{version} %setup -q -n zope.interface-%{version}
%build %build
python setup.py build python setup.py build
python setup.py build_sphinx && rm build/sphinx/html/.buildinfo
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} python setup.py install --prefix=%{_prefix} --root=%{buildroot}
# Remove duplicate files # Remove duplicate files
%fdupes -s %{buildroot} %fdupes -s %{buildroot}
rm %{buildroot}%python_sitearch/zope/interface/_zope_interface_coptimizations.c
%check
python setup.py test
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc COPYRIGHT.txt CHANGES.txt LICENSE.txt README.txt %doc COPYRIGHT.txt CHANGES.rst LICENSE.txt README.rst
%{python_sitearch}/* %{python_sitearch}/*
%files doc
%defattr(-,root,root,-)
%doc build/sphinx/html/
%changelog %changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:be6f0f8b897b8e0521441b923c3e2abc50d5ac2531a376d8d3a0bb69b3207bb9
size 140124

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:edc0f5cb7b7d7287282e978280fbe96cc175971571d1e09c519010c72bb927f6
size 142515