Accepting request 307350 from home:benoit_monin:branches:devel:languages:python

- update to version 4.1.3
- switch the source archive to tar.gz (zip not available)
- remove unzip from BuildRequires
- reenable the tests for all suse versions

OBS-URL: https://build.opensuse.org/request/show/307350
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testing?expand=0&rev=7
This commit is contained in:
Michal Čihař 2015-05-19 07:15:55 +00:00 committed by Git OBS Bridge
parent 05b82a1433
commit 7a2f21ca3a
4 changed files with 16 additions and 10 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri May 15 13:38:51 UTC 2015 - benoit.monin@gmx.fr
- update to version 4.1.3:
* Added support for Python 3.4.
* Updated boostrap.py to version 2.2.
- switch the source archive to tar.gz (zip not available)
- remove unzip from BuildRequires
- reenable the tests for all suse versions
-------------------------------------------------------------------
Fri Nov 1 10:08:16 UTC 2013 - p.drouand@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-zope.testing
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 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
@ -17,13 +17,13 @@
Name: python-zope.testing
Version: 4.1.2
Version: 4.1.3
Release: 0
Summary: Zope testing helpers
License: ZPL-2.1
Group: Development/Languages/Python
Url: http://pypi.python.org/pypi/zope.testing
Source: http://pypi.python.org/packages/source/z/zope.testing/zope.testing-%{version}.zip
Source: http://pypi.python.org/packages/source/z/zope.testing/zope.testing-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools
# Test requirements:
@ -31,7 +31,6 @@ BuildRequires: python-zope.exceptions
BuildRequires: python-zope.interface
Requires: python-zope.exceptions
Requires: python-zope.interface
BuildRequires: unzip
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
@ -98,11 +97,8 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
# Tests fail with openSUSE Factory
%if 0%{?suse_version} <= 1310
%check
python setup.py test
%endif
%files
%defattr(-,root,root,-)

View File

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

View File

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