From 2211500c2a57dcb3276265ab5526f6f4e2f63027e75fead9edf369f195ac5fe4 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Fri, 15 Mar 2013 14:13:55 +0000 Subject: [PATCH] - Initial version OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testing?expand=0&rev=1 --- .gitattributes | 23 ++++++++ .gitignore | 1 + python-zope.testing.changes | 5 ++ python-zope.testing.spec | 108 ++++++++++++++++++++++++++++++++++++ zope.testing-4.1.2.zip | 3 + 5 files changed, 140 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-zope.testing.changes create mode 100644 python-zope.testing.spec create mode 100644 zope.testing-4.1.2.zip diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-zope.testing.changes b/python-zope.testing.changes new file mode 100644 index 0000000..ca70d14 --- /dev/null +++ b/python-zope.testing.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Fri Mar 15 13:58:11 UTC 2013 - speilicke@suse.com + +- Initial version + diff --git a/python-zope.testing.spec b/python-zope.testing.spec new file mode 100644 index 0000000..ce18d08 --- /dev/null +++ b/python-zope.testing.spec @@ -0,0 +1,108 @@ +# +# 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 diff --git a/zope.testing-4.1.2.zip b/zope.testing-4.1.2.zip new file mode 100644 index 0000000..0c24d48 --- /dev/null +++ b/zope.testing-4.1.2.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c40f93fbc87957eaa2f511c18029e0160e3c3d07e5d5b2b51506f745f41dd027 +size 66055