commit python-zope.testing for openSUSE:Factory

2019-11-04 Thread root
Hello community,

here is the log from the commit of package python-zope.testing for 
openSUSE:Factory checked in at 2019-11-04 17:09:33

Comparing /work/SRC/openSUSE:Factory/python-zope.testing (Old)
 and  /work/SRC/openSUSE:Factory/.python-zope.testing.new.2990 (New)


Package is "python-zope.testing"

Mon Nov  4 17:09:33 2019 rev:10 rq:743971 version:4.7

Changes:

--- /work/SRC/openSUSE:Factory/python-zope.testing/python-zope.testing.changes  
2019-04-10 23:10:27.611923760 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-zope.testing.new.2990/python-zope.testing.changes
2019-11-04 17:09:34.400464127 +0100
@@ -1,0 +2,5 @@
+Mon Oct 14 14:51:47 UTC 2019 - Matej Cepl 
+
+- Replace %fdupes -s with plain %fdupes; hardlinks are better.
+
+---



Other differences:
--
++ python-zope.testing.spec ++
--- /var/tmp/diff_new_pack.SHt5lD/_old  2019-11-04 17:09:34.916464679 +0100
+++ /var/tmp/diff_new_pack.SHt5lD/_new  2019-11-04 17:09:34.916464679 +0100
@@ -22,14 +22,12 @@
 Release:0
 Summary:Zope testing helpers
 License:ZPL-2.1
-Group:  Development/Languages/Python
-Url:https://pypi.python.org/pypi/zope.testing
+URL:https://pypi.python.org/pypi/zope.testing
 Source: 
https://files.pythonhosted.org/packages/source/z/zope.testing/zope.testing-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 # Test requirements:
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 %python_subpackages
 
@@ -91,14 +89,14 @@
 
 %install
 %python_install
-%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %python_exec setup.py test
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc COPYRIGHT.txt LICENSE.txt README.rst
+%license LICENSE.txt
+%doc COPYRIGHT.txt README.rst
 %{python_sitelib}/*
 
 %changelog




commit python-zope.testing for openSUSE:Factory

2019-04-10 Thread root
Hello community,

here is the log from the commit of package python-zope.testing for 
openSUSE:Factory checked in at 2019-04-10 23:10:26

Comparing /work/SRC/openSUSE:Factory/python-zope.testing (Old)
 and  /work/SRC/openSUSE:Factory/.python-zope.testing.new.27019 (New)


Package is "python-zope.testing"

Wed Apr 10 23:10:26 2019 rev:9 rq:692220 version:4.7

Changes:

--- /work/SRC/openSUSE:Factory/python-zope.testing/python-zope.testing.changes  
2018-12-13 19:46:41.116837731 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-zope.testing.new.27019/python-zope.testing.changes
   2019-04-10 23:10:27.611923760 +0200
@@ -1,0 +2,9 @@
+Fri Apr  5 14:44:29 UTC 2019 - Marketa Calabkova 
+
+- update to version 4.7
+  * Added support for Python 3.7.
+  * Remove dependencies on zope.interface and zope.exceptions.
+  * Remove use of 2to3 for outdated versions of PyPy3, letting us 
+build universal wheels.
+
+---

Old:

  zope.testing-4.6.1.tar.gz

New:

  zope.testing-4.7.tar.gz



Other differences:
--
++ python-zope.testing.spec ++
--- /var/tmp/diff_new_pack.OE1t4C/_old  2019-04-10 23:10:28.703925000 +0200
+++ /var/tmp/diff_new_pack.OE1t4C/_new  2019-04-10 23:10:28.703925000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-zope.testing
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-zope.testing
-Version:4.6.1
+Version:4.7
 Release:0
 Summary:Zope testing helpers
 License:ZPL-2.1
@@ -27,12 +27,8 @@
 Source: 
https://files.pythonhosted.org/packages/source/z/zope.testing/zope.testing-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 # Test requirements:
-BuildRequires:  %{python_module zope.exceptions}
-BuildRequires:  %{python_module zope.interface}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:   python-zope.exceptions
-Requires:   python-zope.interface
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 %python_subpackages

++ zope.testing-4.6.1.tar.gz -> zope.testing-4.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.testing-4.6.1/.gitignore 
new/zope.testing-4.7/.gitignore
--- old/zope.testing-4.6.1/.gitignore   1970-01-01 01:00:00.0 +0100
+++ new/zope.testing-4.7/.gitignore 2018-10-04 15:59:02.0 +0200
@@ -0,0 +1,14 @@
+*.pyc
+__pycache__
+.installed.cfg
+bin
+eggs
+develop-eggs
+build
+docs/_build
+parts
+*.egg-info
+.tox
+.coverage
+nosetests.xml
+coverage.xml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.testing-4.6.1/.travis.yml 
new/zope.testing-4.7/.travis.yml
--- old/zope.testing-4.6.1/.travis.yml  1970-01-01 01:00:00.0 +0100
+++ new/zope.testing-4.7/.travis.yml2018-10-04 15:59:02.0 +0200
@@ -0,0 +1,21 @@
+language: python
+sudo: false
+python:
+- 2.7
+- 3.3
+- 3.4
+- 3.5
+- 3.6
+- pypy
+- pypy3
+matrix:
+include:
+- python: "3.7"
+  dist: xenial
+  sudo: true
+install:
+- pip install -e .[test]
+script:
+- python setup.py -q test -q
+notifications:
+email: false
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.testing-4.6.1/CHANGES.rst 
new/zope.testing-4.7/CHANGES.rst
--- old/zope.testing-4.6.1/CHANGES.rst  2017-01-04 15:09:15.0 +0100
+++ new/zope.testing-4.7/CHANGES.rst2018-10-04 15:59:02.0 +0200
@@ -1,6 +1,22 @@
 Changes
 ===
 
+4.7 (2018-10-04)
+
+
+- Added support for Python 3.7.
+
+
+4.6.2 (2017-06-12)
+--
+
+- Remove dependencies on ``zope.interface`` and ``zope.exceptions``;
+  they're not used here.
+
+- Remove use of 2to3 for outdated versions of PyPy3, letting us build
+  universal wheels.
+
+
 4.6.1 (2017-01-04)
 --
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.testing-4.6.1/PKG-INFO 
new/zope.testing-4.7/PKG-INFO
--- old/zope.testing-4.6.1/PKG-INFO 2017-01-04 15:09:15.0 +0100
+++ new/zope.testing-4.7/PKG-INFO   2018-10-04 15:59:02.0 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: zope.testing
-Version: 4.6.1
+Version: 4.7
 Summary: Zope testing helpers
 

commit python-zope.testing for openSUSE:Factory

2018-12-13 Thread root
Hello community,

here is the log from the commit of package python-zope.testing for 
openSUSE:Factory checked in at 2018-12-13 19:46:39

Comparing /work/SRC/openSUSE:Factory/python-zope.testing (Old)
 and  /work/SRC/openSUSE:Factory/.python-zope.testing.new.28833 (New)


Package is "python-zope.testing"

Thu Dec 13 19:46:39 2018 rev:8 rq:654093 version:4.6.1

Changes:

--- /work/SRC/openSUSE:Factory/python-zope.testing/python-zope.testing.changes  
2017-07-08 12:33:36.541143305 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-zope.testing.new.28833/python-zope.testing.changes
   2018-12-13 19:46:41.116837731 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:56:32 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-zope.testing.spec ++
--- /var/tmp/diff_new_pack.xqsyNq/_old  2018-12-13 19:46:42.760835598 +0100
+++ /var/tmp/diff_new_pack.xqsyNq/_new  2018-12-13 19:46:42.764835592 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-zope.testing
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -12,7 +12,7 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -25,7 +25,6 @@
 Group:  Development/Languages/Python
 Url:https://pypi.python.org/pypi/zope.testing
 Source: 
https://files.pythonhosted.org/packages/source/z/zope.testing/zope.testing-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 # Test requirements:
 BuildRequires:  %{python_module zope.exceptions}




commit python-zope.testing for openSUSE:Factory

2017-07-08 Thread root
Hello community,

here is the log from the commit of package python-zope.testing for 
openSUSE:Factory checked in at 2017-07-08 12:33:35

Comparing /work/SRC/openSUSE:Factory/python-zope.testing (Old)
 and  /work/SRC/openSUSE:Factory/.python-zope.testing.new (New)


Package is "python-zope.testing"

Sat Jul  8 12:33:35 2017 rev:7 rq:507117 version:4.6.1

Changes:

--- /work/SRC/openSUSE:Factory/python-zope.testing/python-zope.testing.changes  
2015-05-19 23:47:48.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-zope.testing.new/python-zope.testing.changes 
2017-07-08 12:33:36.541143305 +0200
@@ -1,0 +2,58 @@
+Fri Jun 23 11:17:45 UTC 2017 - aloi...@gmx.com
+
+- Update to 4.6.1
+  * Add support for Python 3.6.
+  4.6.0:
+  * Introduce option flag ``IGNORE_EXCEPTION_MODULE_IN_PYTHON2`` 
+to normalize exception class names in traceback output.
+In Python 3 they are displayed as the full dotted name.
+In Python 2 they are displayed as "just" the class name.
+When running doctests in Python 3, the option flag will 
+not have any effect, however when running the same test in
+Python 2, the segments in the full dotted name leading up to
+the class name are stripped away from the "expected" string.
+  * Drop support for Python 2.6 and 3.2.
+  * Add support for Python 3.5.
+  * Cleaned up useless 2to3 conversion.
+  4.5.0:
+  * Added meta data for test case methods created with
+``zope.testing.doctestcase``.
+  * Reasonable values for ``__name__``, making sure that 
+``__name__`` starts with ``test``.
+  * For ``doctestfile`` methods, provide ``filename`` and 
+``filepath`` attributes.
+The meta data us useful, for example, for selecting tests
+with the nose attribute mechanism.
+  * Added ``doctestcase.doctestfiles``
+  * Define multiple doctest files at once.
+  * Automatically assign test class members.  So rather than::
+  class MYTests(unittest.TestCase):
+  ...
+  test_foo = doctestcase.doctestfile('foo.txt')
+You can use::
+  @doctestcase.doctestfiles('foo.txt', 'bar.txt', ...)
+  class MYTests(unittest.TestCase):
+  ...
+  4.4.0:
+  * Added ``zope.testing.setupstack.mock`` as a convenience 
+function for setting up mocks in tests.  (The Python
+``mock`` package must be in the path for this to work. The
+excellent ``mock`` package isn't a dependency of
+``zope.testing``.)
+  * Added the base class ``zope.testing.setupstack.TestCase`` to
+make it much easier to use ``zope.testing.setupstack`` in
+``unittest`` test cases.
+  4.3.0:
+  * Added support for creating doctests as methods of
+``unittest.TestCase`` classes so that they can found 
+automatically by test runners, like *nose* that ignore test
+suites.
+  4.2.0:
+  * **Actually** remove long-deprecated ``zope.testing.doctest`` 
+(announced as removed in 4.0.0) and
+``zope.testing.doctestunit``.
+  * Add support for PyPy and PyPy3.
+
+- Converted to single-spec
+
+---

Old:

  zope.testing-4.1.3.tar.gz

New:

  zope.testing-4.6.1.tar.gz



Other differences:
--
++ python-zope.testing.spec ++
--- /var/tmp/diff_new_pack.JE50pG/_old  2017-07-08 12:33:37.628989863 +0200
+++ /var/tmp/diff_new_pack.JE50pG/_new  2017-07-08 12:33:37.632989299 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-zope.testing
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -16,27 +16,27 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-zope.testing
-Version:4.1.3
+Version:4.6.1
 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}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+Url:https://pypi.python.org/pypi/zope.testing
+Source: 
https://files.pythonhosted.org/packages/source/z/zope.testing/zope.testing-%{version}.tar.gz
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
 # Test requirements:
-BuildRequires:  python-zope.exceptions
-BuildRequires:  python-zope.interface
+BuildRequires:  %{python_module zope.exceptions}
+BuildRequires:  %{python_module zope.interface}
+BuildRequires:  fdupes
+BuildRequires:  

commit python-zope.testing for openSUSE:Factory

2015-05-19 Thread h_root
Hello community,

here is the log from the commit of package python-zope.testing for 
openSUSE:Factory checked in at 2015-05-19 23:47:04

Comparing /work/SRC/openSUSE:Factory/python-zope.testing (Old)
 and  /work/SRC/openSUSE:Factory/.python-zope.testing.new (New)


Package is python-zope.testing

Changes:

--- /work/SRC/openSUSE:Factory/python-zope.testing/python-zope.testing.changes  
2013-11-04 16:21:02.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-zope.testing.new/python-zope.testing.changes 
2015-05-19 23:47:06.0 +0200
@@ -1,0 +2,10 @@
+Fri May 15 13:38:51 UTC 2015 - benoit.mo...@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
+
+---

Old:

  zope.testing-4.1.2.zip

New:

  zope.testing-4.1.3.tar.gz



Other differences:
--
++ python-zope.testing.spec ++
--- /var/tmp/diff_new_pack.oo6NYH/_old  2015-05-19 23:47:07.0 +0200
+++ /var/tmp/diff_new_pack.oo6NYH/_new  2015-05-19 23:47:07.0 +0200
@@ -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.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 @@
 %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,-)




commit python-zope.testing for openSUSE:Factory

2013-11-04 Thread h_root
Hello community,

here is the log from the commit of package python-zope.testing for 
openSUSE:Factory checked in at 2013-11-04 16:21:01

Comparing /work/SRC/openSUSE:Factory/python-zope.testing (Old)
 and  /work/SRC/openSUSE:Factory/.python-zope.testing.new (New)


Package is python-zope.testing

Changes:

--- /work/SRC/openSUSE:Factory/python-zope.testing/python-zope.testing.changes  
2013-10-25 11:37:01.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-zope.testing.new/python-zope.testing.changes 
2013-11-04 16:21:02.0 +0100
@@ -1,0 +2,5 @@
+Fri Nov  1 10:08:16 UTC 2013 - p.drou...@gmail.com
+
+- Disable tests; fix build for Factory
+
+---



Other differences:
--
++ python-zope.testing.spec ++
--- /var/tmp/diff_new_pack.H2bgvL/_old  2013-11-04 16:21:03.0 +0100
+++ /var/tmp/diff_new_pack.H2bgvL/_new  2013-11-04 16:21:03.0 +0100
@@ -98,8 +98,11 @@
 %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,-)


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-zope.testing for openSUSE:Factory

2013-10-25 Thread h_root
Hello community,

here is the log from the commit of package python-zope.testing for 
openSUSE:Factory checked in at 2013-10-25 11:37:00

Comparing /work/SRC/openSUSE:Factory/python-zope.testing (Old)
 and  /work/SRC/openSUSE:Factory/.python-zope.testing.new (New)


Package is python-zope.testing

Changes:

--- /work/SRC/openSUSE:Factory/python-zope.testing/python-zope.testing.changes  
2013-03-22 11:05:19.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-zope.testing.new/python-zope.testing.changes 
2013-10-25 11:37:01.0 +0200
@@ -1,0 +2,5 @@
+Thu Oct 24 11:18:01 UTC 2013 - speili...@suse.com
+
+- Require python-setuptools instead of distribute (upstreams merged)
+
+---



Other differences:
--
++ python-zope.testing.spec ++
--- /var/tmp/diff_new_pack.wux8DR/_old  2013-10-25 11:37:02.0 +0200
+++ /var/tmp/diff_new_pack.wux8DR/_new  2013-10-25 11:37:02.0 +0200
@@ -13,18 +13,19 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
 
 
 Name:   python-zope.testing
 Version:4.1.2
 Release:0
-License:ZPL-2.1
 Summary:Zope testing helpers
-Url:http://pypi.python.org/pypi/zope.testing
+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
 BuildRequires:  python-devel
-BuildRequires:  python-distribute
+BuildRequires:  python-setuptools
 # Test requirements:
 BuildRequires:  python-zope.exceptions
 BuildRequires:  python-zope.interface


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-zope.testing for openSUSE:Factory

2013-03-22 Thread h_root
Hello community,

here is the log from the commit of package python-zope.testing for 
openSUSE:Factory checked in at 2013-03-22 10:13:39

Comparing /work/SRC/openSUSE:Factory/python-zope.testing (Old)
 and  /work/SRC/openSUSE:Factory/.python-zope.testing.new (New)


Package is python-zope.testing, Maintainer is 

Changes:

New Changes file:

--- /dev/null   2013-02-26 18:15:11.936010755 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-zope.testing.new/python-zope.testing.changes 
2013-03-22 10:13:41.0 +0100
@@ -0,0 +1,5 @@
+---
+Fri Mar 15 13:58:11 UTC 2013 - speili...@suse.com
+
+- Initial version
+

New:

  python-zope.testing.changes
  python-zope.testing.spec
  zope.testing-4.1.2.zip



Other differences:
--
++ python-zope.testing.spec ++
#
# spec file for package python-zope.testing
#
# Copyright (c) 2013 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.

# Please submit bugfixes or comments via http://bugs.opensuse.org/


Name:   python-zope.testing
Version:4.1.2
Release:0
License:ZPL-2.1
Summary:Zope testing helpers
Url:http://pypi.python.org/pypi/zope.testing
Group:  Development/Languages/Python
Source: 
http://pypi.python.org/packages/source/z/zope.testing/zope.testing-%{version}.zip
BuildRequires:  python-devel
BuildRequires:  python-distribute
# Test requirements:
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())}
%else
BuildArch:  noarch
%endif

%description
This package provides a number of testing frameworks.

cleanup
  Provides a mixin class for cleaning up after tests that
  make global changes.

formparser
  An HTML parser that extracts form information.

  **Python 2 only**

  This is intended to support functional tests that need to extract
  information from HTML forms returned by the publisher.

  See formparser.txt.

loggingsupport
  Support for testing logging code

  If you want to test that your code generates proper log output, you
  can create and install a handler that collects output.

loghandler
  Logging handler for tests that check logging output.

module
  Lets a doctest pretend to be a Python module.

  See module.txt.

renormalizing
  Regular expression pattern normalizing output checker.
  Useful for doctests.

server
  Provides a simple HTTP server compatible with the zope.app.testing
  functional testing API.  Lets you interactively play with the system
  under test.  Helpful in debugging functional doctest failures.

  **Python 2 only**

setupstack
  A simple framework for automating doctest set-up and tear-down.
  See setupstack.txt.

wait
  A small utility for dealing with timing non-determinism
  See wait.txt.

%prep
%setup -q -n zope.testing-%{version}

%build
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}

%check
python setup.py test

%files
%defattr(-,root,root,-)
%doc COPYRIGHT.txt LICENSE.txt README.rst
%{python_sitelib}/*

%changelog
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org