forked from pool/python-zope.interface
Accepting request 186707 from devel:languages:python
- add unzip to BuildRequires - Ship upstream tarbal (zipfile) and fix Source URL - 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/186707 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.interface?expand=0&rev=11
This commit is contained in:
@@ -1,3 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 1 08:37:20 UTC 2013 - hpj@urpla.net
|
||||
|
||||
- add unzip to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 1 07:19:44 UTC 2013 - speilicke@suse.com
|
||||
|
||||
- Ship upstream tarbal (zipfile) and fix Source URL
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
||||
@@ -17,21 +17,30 @@
|
||||
|
||||
|
||||
Name: python-zope.interface
|
||||
Version: 4.0.3
|
||||
Version: 4.0.5
|
||||
Release: 0
|
||||
Url: http://pypi.python.org/pypi/zope.interface
|
||||
Summary: Interfaces for Python
|
||||
License: ZPL-2.1
|
||||
Group: Development/Languages/Python
|
||||
Source: http://pypi.python.org/packages/source/z/zope.interface/zope.interface-%{version}.tar.gz
|
||||
Source: https://pypi.python.org/packages/source/z/zope.interface/zope.interface-%{version}.zip
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: unzip
|
||||
# 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}
|
||||
Obsoletes: python-zopeinterface < %{version}
|
||||
Provides: python-zope-interface = %{version}
|
||||
Obsoletes: python-zope-interface < %{version}
|
||||
|
||||
%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
|
||||
@@ -45,20 +54,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
|
||||
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
|
||||
%setup -q -n zope.interface-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
python setup.py build_sphinx && rm build/sphinx/html/.buildinfo
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
# Remove duplicate files
|
||||
%fdupes -s %{buildroot}
|
||||
rm %{buildroot}%python_sitearch/zope/interface/_zope_interface_coptimizations.c
|
||||
|
||||
%check
|
||||
python setup.py test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYRIGHT.txt CHANGES.txt LICENSE.txt README.txt
|
||||
%doc COPYRIGHT.txt CHANGES.rst LICENSE.txt README.rst
|
||||
%{python_sitearch}/*
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root,-)
|
||||
%doc build/sphinx/html/
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:be6f0f8b897b8e0521441b923c3e2abc50d5ac2531a376d8d3a0bb69b3207bb9
|
||||
size 140124
|
||||
3
zope.interface-4.0.5.zip
Normal file
3
zope.interface-4.0.5.zip
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1a7c84716bbd9981915b64a81d8a3f076a5934a8c8df4224655469b3564940cc
|
||||
size 173379
|
||||
Reference in New Issue
Block a user