From 83559c6c56ab6b02b192ed54610c5ff80e9dc8ce2644e462e8b05d717f93a87d Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Fri, 15 Mar 2013 14:24:13 +0000 Subject: [PATCH] - Initial version OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testbrowser?expand=0&rev=1 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + python-zope.testbrowser.changes | 5 +++ python-zope.testbrowser.spec | 70 +++++++++++++++++++++++++++++++++ zope.testbrowser-4.0.2.tar.gz | 3 ++ 5 files changed, 102 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-zope.testbrowser.changes create mode 100644 python-zope.testbrowser.spec create mode 100644 zope.testbrowser-4.0.2.tar.gz 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.testbrowser.changes b/python-zope.testbrowser.changes new file mode 100644 index 0000000..6ee4e9b --- /dev/null +++ b/python-zope.testbrowser.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Fri Mar 15 13:40:57 UTC 2013 - speilicke@suse.com + +- Initial version + diff --git a/python-zope.testbrowser.spec b/python-zope.testbrowser.spec new file mode 100644 index 0000000..b62c3f8 --- /dev/null +++ b/python-zope.testbrowser.spec @@ -0,0 +1,70 @@ +# +# spec file for package python-zope.testbrowser +# +# 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.testbrowser +Version: 4.0.2 +Release: 0 +License: ZPL-2.1 +Summary: Programmable browser for functional black-box tests +Url: http://pypi.python.org/pypi/zope.testbrowser +Group: Development/Languages/Python +Source: http://pypi.python.org/packages/source/z/zope.testbrowser/zope.testbrowser-%{version}.tar.gz +BuildRequires: python-devel +BuildRequires: python-distribute +# Test requirements: +#BuildRequires: python-mechanize +#BuildRequires: python-pytz +#BuildRequires: python-zope.interface +#BuildRequires: python-zope.schema +#BuildRequires: python-zope.testing +#BuildRequires: python-WebTest +Requires: python-mechanize +Requires: python-pytz +Requires: python-zope.interface +Requires: python-zope.schema +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 +zope.testbrowser provides an easy-to-use programmable web browser +with special focus on testing. It is used in Zope, but it's not Zope +specific at all. For instance, it can be used to test or otherwise +interact with any web site. + +%prep +%setup -q -n zope.testbrowser-%{version} + +%build +python setup.py build + +%install +python setup.py install --prefix=%{_prefix} --root=%{buildroot} + +#NOTE(saschpe): Check broken test imports +#%%check +#python setup.py test + +%files +%defattr(-,root,root,-) +%doc COPYRIGHT.txt LICENSE.txt README.txt +%{python_sitelib}/* + +%changelog diff --git a/zope.testbrowser-4.0.2.tar.gz b/zope.testbrowser-4.0.2.tar.gz new file mode 100644 index 0000000..3a978f1 --- /dev/null +++ b/zope.testbrowser-4.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:703c7ca24b5ff50431af80e4b6471bcfa93030cea25b45dff931b6356d8f9cc8 +size 77805