commit python-WTForms for openSUSE:Factory

2020-10-02 Thread root
Hello community,

here is the log from the commit of package python-WTForms for openSUSE:Factory 
checked in at 2020-10-02 17:33:52

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


Package is "python-WTForms"

Fri Oct  2 17:33:52 2020 rev:6 rq:833358 version:2.3.3

Changes:

--- /work/SRC/openSUSE:Factory/python-WTForms/python-WTForms.changes
2019-07-30 12:39:04.266936910 +0200
+++ /work/SRC/openSUSE:Factory/.python-WTForms.new.4249/python-WTForms.changes  
2020-10-02 17:34:00.778620892 +0200
@@ -1,0 +2,73 @@
+Thu Sep 10 05:49:47 UTC 2020 - Steve Kowalik 
+
+- Drop Requires on the code package on the doc package. 
+
+---
+Wed Sep  2 00:53:12 UTC 2020 - Steve Kowalik 
+
+- Update to 2.3.3:
+  * This release includes the translation files that were missing in the 2.3.2
+release.
+  * Fixed a bug with :class:`~fields.SelectField` choices shortcut at form
+submission.
+
+---
+Thu Jul 30 06:57:03 UTC 2020 - Steve Kowalik 
+
+- Update to 2.3.1:
+  * All modules in ``wtforms.ext`` show a deprecation warning on import.
+  * Fixed a bug when :class:`~fields.SelectField` choices is ``None``.
+  * Restored ``HTMLString`` and ``escape_html`` as aliases for
+MarkupSafe functions. Their use shows a ``DeprecationWarning``.
+  * ``Form.validate`` takes an ``extra_validators`` parameter, mapping
+field names to lists of extra validator functions. This matches
+``BaseForm.validate``.
+  * Update locale catalogs.
+  * Drop support for Python 2.6, 3.3, and 3.4.
+  * :class:`~fields.SelectField` uses ``list()`` to construct a new list
+of choices.
+  * Permitted underscores in ``HostnameValidation``.
+  * :class:`~validators.URL` validator now allows query parameters in
+the URL.
+  * Updated ``false_values`` param in ``BooleanField`` docs.
+  * Fixed broken format string in Arabic translation
+  * Updated French and Japanese translations.
+  * Updated Ukrainian translation.
+  * ``FieldList`` error list keeps entries in order for easier
+identification of which fields had errors.
+  * :class:`~validators.Length` gives a more helpful error message when
+``min`` and ``max`` are the same value.
+  * :class:`~fields.SelectField` no longer coerces ``None`` to
+``"None"`` allowing use of ``"None"`` as an option.
+  * The :class:`~widgets.TextArea` widget prepends a ``\r\n`` newline
+when rendering to account for browsers stripping an initial line for
+display. This does not affect the value.
+  * HTML5 :class:`~fields.html5.IntegerField` and
+:class:`~fields.html5.RangeInput` don't render the ``step="1"``
+attribute by default.
+  * ``aria_`` args are rendered the same way as ``data_`` args, by
+converting underscores to hyphens. ``aria_describedby="name*help"``
+becomes ``aria*describedby="name-help"``.
+  * Added a ``check_validators`` method to :class:`~fields.Field` which
+checks if the given validators are both callable, and not classes.
+  * ``form.errors`` is not cached and will update if an error is
+appended to a field after access.
+  * :class:`~wtforms.validators.NumberRange` correctly handle NaN
+values.
+  * :class:`~fields.IntegerField` checks input type when processing data.
+  * Added a parameter to :class:`~fields.SelectField` to skip choice
+validation.
+  * Choices which name and data are the same do not need to use tuples.
+  * Added more documentation on HTML5 fields.
+  * HTML is escaped using MarkupSafe instead of the previous internal
+implementation. :func:`~widgets.core.escape_html` is removed,
+replaced by :func:`markupsafe.escape`.
+:class:`~widgets.core.HTMLString` is removed, replaced by
+:class:`markupsafe.Markup`.
+  * Fixed broken IPv6 validator, validation now uses the ``ipaddress``
+package.
+  * :class:`~fields.core.Label` text is escaped before rendering.
+  * Email validation is now handled by an optional library,
+  ``email_validator``.
+
+---

Old:

  WTForms-2.2.1.tar.gz

New:

  WTForms-2.3.3.tar.gz



Other differences:
--
++ python-WTForms.spec ++
--- /var/tmp/diff_new_pack.7EV7M7/_old  2020-10-02 17:34:01.914621569 +0200
+++ /var/tmp/diff_new_pack.7EV7M7/_new  2020-10-02 17:34:01.918621572 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-WTForms
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright 

commit python-WTForms for openSUSE:Factory

2019-07-30 Thread root
Hello community,

here is the log from the commit of package python-WTForms for openSUSE:Factory 
checked in at 2019-07-30 12:38:55

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


Package is "python-WTForms"

Tue Jul 30 12:38:55 2019 rev:5 rq:719691 version:2.2.1

Changes:

--- /work/SRC/openSUSE:Factory/python-WTForms/python-WTForms.changes
2018-12-13 19:45:22.976939278 +0100
+++ /work/SRC/openSUSE:Factory/.python-WTForms.new.4126/python-WTForms.changes  
2019-07-30 12:39:04.266936910 +0200
@@ -1,0 +2,41 @@
+Mon Jul 29 12:02:19 UTC 2019 - pgaj...@suse.com
+
+- version update to 2.2.1
+  * :class:`~fields.StringField` only sets ``data = ''` when form data
+is empty and an initial value was not provided. This fixes an issue
+where the default value wasn't rendered with the initial form.
+(`#291`_, `#355`_, `#401`_)
+  * Merged new and updated translations from the community.
+  * Passing ``data_`` args to render a field converts all the
+underscores to hyphens when rendering the HTML attribute, not just
+the first one. ``data_foo_bar`` becomes ``data-foo-bar``. (`#248`_)
+  * The :class:`~validators.UUID` validator uses the :class:`uuid.UUID`
+class instead of a regex. (`#251`_)
+  * :class:`~fields.SelectField` copies the list of ``choices`` passed
+to it so modifying an instance's choices will not modify the global
+form definition. (`#286`_)
+  * Fields call :meth:`~fields.Field.process_formdata` even if the raw
+data is empty. (`#280`_)
+  * Added a :class:`~fields.MultipleFileField` to handle a multi-file
+input. :class:`~fields.FileField` continues to handle only one
+value. The underlying :class:`~widgets.FileInput` widget gained a
+``multiple`` argument. (`#281`_)
+  * :class:`~fields.SelectField` choices can contain HTML (MarkupSafe
+``Markup`` object or equivalent API) and will be rendered properly.
+(`#302`_)
+  * :class:`~fields.TimeField` and
+:class:`html5.TimeField ` were added.
+(`#254`_)
+  * Improved :class:`~validators.Email`. Note that it is still
+unreasonable to validate all emails with a regex and you should
+prefer validating by actually sending an email. (`#294`_)
+  * Widgets render the ``required`` attribute when using a validator
+that provides the ``'required'`` flag, such as
+:class:`~validators.DataRequired`. (`#361`_)
+  * Fix a compatibility issue with SQLAlchemy 2.1 that caused
+:class:`~ext.sqlalchemy.fields.QuerySelectField` to fail with
+``ValueError: too many values to unpack``. (`#391`_)
+- drop lang packages
+- test package
+
+---

Old:

  WTForms-2.1.zip

New:

  WTForms-2.2.1.tar.gz



Other differences:
--
++ python-WTForms.spec ++
--- /var/tmp/diff_new_pack.l5TE6X/_old  2019-07-30 12:39:04.930936799 +0200
+++ /var/tmp/diff_new_pack.l5TE6X/_new  2019-07-30 12:39:04.930936799 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-WTForms
 #
-# 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
@@ -17,30 +17,30 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_with test
 Name:   python-WTForms
-Version:2.1
+Version:2.2.1
 Release:0
 Summary:A flexible forms validation and rendering library for Python 
web development
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 URL:http://wtforms.simplecodes.com/
-Source: 
https://files.pythonhosted.org/packages/source/W/WTForms/WTForms-%{version}.zip
+Source: 
https://files.pythonhosted.org/packages/source/W/WTForms/WTForms-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  unzip
 Recommends: python-Babel
 Recommends: python-Django
 Recommends: python-SQLAlchemy
 Recommends: python-python-dateutil
 BuildArch:  noarch
-%if %{with test}
-BuildRequires:  python3-Babel
-BuildRequires:  python3-Django
-BuildRequires:  python3-SQLAlchemy
-BuildRequires:  python3-python-dateutil
-%endif
+# SECTION test requirements
+BuildRequires:  %{python_module Babel}
+BuildRequires:  %{python_module SQLAlchemy}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module python-dateutil}
+# /SECTION
+Provides:   python-WTForms-lang
+Obsoletes:  python-WTForms-lang
 %python_subpackages
 
 

commit python-WTForms for openSUSE:Factory

2018-12-13 Thread root
Hello community,

here is the log from the commit of package python-WTForms for openSUSE:Factory 
checked in at 2018-12-13 19:45:21

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


Package is "python-WTForms"

Thu Dec 13 19:45:21 2018 rev:4 rq:654074 version:2.1

Changes:

--- /work/SRC/openSUSE:Factory/python-WTForms/python-WTForms.changes
2017-10-10 11:42:23.093056753 +0200
+++ /work/SRC/openSUSE:Factory/.python-WTForms.new.28833/python-WTForms.changes 
2018-12-13 19:45:22.976939278 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:56:14 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-WTForms.spec ++
--- /var/tmp/diff_new_pack.wuoHPM/_old  2018-12-13 19:45:24.376937457 +0100
+++ /var/tmp/diff_new_pack.wuoHPM/_new  2018-12-13 19:45:24.412937410 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-WTForms
 #
-# 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/
 #
 
 
@@ -24,24 +24,23 @@
 Summary:A flexible forms validation and rendering library for Python 
web development
 License:BSD-3-Clause
 Group:  Development/Languages/Python
-Url:http://wtforms.simplecodes.com/
+URL:http://wtforms.simplecodes.com/
 Source: 
https://files.pythonhosted.org/packages/source/W/WTForms/WTForms-%{version}.zip
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  unzip
+Recommends: python-Babel
+Recommends: python-Django
+Recommends: python-SQLAlchemy
+Recommends: python-python-dateutil
+BuildArch:  noarch
 %if %{with test}
 BuildRequires:  python3-Babel
 BuildRequires:  python3-Django
 BuildRequires:  python3-SQLAlchemy
 BuildRequires:  python3-python-dateutil
 %endif
-Recommends: python-Babel
-Recommends: python-Django
-Recommends: python-SQLAlchemy
-Recommends: python-python-dateutil
-BuildArch:  noarch
 %python_subpackages
 
 %description
@@ -59,6 +58,7 @@
 Documentation for WTForms, which is a forms validation and rendering library 
for Python web development.
 
 %package lang
+# FIXME: consider using %%lang_package macro
 Summary:Languages for package %{name}
 Group:  System/Localization
 Requires:   %{name} = %{version}
@@ -88,24 +88,21 @@
 %endif
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc AUTHORS.txt CHANGES.rst LICENSE.txt README.md
+%license LICENSE.txt
+%doc AUTHORS.txt CHANGES.rst README.md
 %{python_sitelib}/*
 %exclude %{python_sitelib}/wtforms/locale
 
 %files -n %{name}-doc
-%defattr(-,root,root,-)
 %doc docs/html
 
-%if %have_python2 && ! 0%{?skip_python2}
+%if %{have_python2} && ! 0%{?skip_python2}
 %files -n %{python2_prefix}-WTForms-lang -f wtforms_%{python2_bin_suffix}.lang
-%defattr(-,root,root,-)
 %{python2_sitelib}/wtforms/locale
 %endif
 
-%if %have_python2 && ! 0%{?skip_python3}
+%if %{have_python2} && ! 0%{?skip_python3}
 %files -n %{python3_prefix}-WTForms-lang -f wtforms_%{python3_bin_suffix}.lang
-%defattr(-,root,root,-)
 %{python3_sitelib}/wtforms/locale
 %endif
 





commit python-WTForms for openSUSE:Factory

2017-10-10 Thread root
Hello community,

here is the log from the commit of package python-WTForms for openSUSE:Factory 
checked in at 2017-10-10 11:42:20

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


Package is "python-WTForms"

Tue Oct 10 11:42:20 2017 rev:3 rq:520563 version:2.1

Changes:

--- /work/SRC/openSUSE:Factory/python-WTForms/python-WTForms.changes
2015-05-19 23:47:47.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-WTForms.new/python-WTForms.changes   
2017-10-10 11:42:23.093056753 +0200
@@ -1,0 +2,19 @@
+Sat Sep  2 16:47:57 UTC 2017 - jeng...@inai.de
+
+- Don't let description assume any particular user.
+
+---
+Thu Aug 31 16:26:15 UTC 2017 - toddrme2...@gmail.com
+
+- Update to version 2.1
+  * Added `render_kw` to allow default rendering time options.
+  * Updated / added a number of localizations
+  * Updated docs
+  * Allow widgets to set flags
+
+---
+Thu Aug 24 13:57:47 UTC 2017 - jmate...@suse.com
+
+- singlespec auto-conversion
+
+---
@@ -103,0 +123 @@
+

Old:

  WTForms-2.0.2.zip

New:

  WTForms-2.1.zip



Other differences:
--
++ python-WTForms.spec ++
--- /var/tmp/diff_new_pack.IQGNnG/_old  2017-10-10 11:42:24.029015673 +0200
+++ /var/tmp/diff_new_pack.IQGNnG/_new  2017-10-10 11:42:24.029015673 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-WTForms
 #
-# 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,51 +16,54 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_with test
 Name:   python-WTForms
-Version:2.0.2
+Version:2.1
 Release:0
-Url:http://wtforms.simplecodes.com/
 Summary:A flexible forms validation and rendering library for Python 
web development
 License:BSD-3-Clause
 Group:  Development/Languages/Python
-Source: 
http://pypi.python.org/packages/source/W/WTForms/WTForms-%{version}.zip
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+Url:http://wtforms.simplecodes.com/
+Source: 
https://files.pythonhosted.org/packages/source/W/WTForms/WTForms-%{version}.zip
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+BuildRequires:  python-rpm-macros
 BuildRequires:  unzip
-
-%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()")}
-BuildRequires:  python-ordereddict
-Requires:   python-ordereddict
-Recommends: python-django
-Recommends: python-google-appengine
+%if %{with test}
+BuildRequires:  python3-Babel
+BuildRequires:  python3-Django
+BuildRequires:  python3-SQLAlchemy
+BuildRequires:  python3-python-dateutil
+%endif
+Recommends: python-Babel
+Recommends: python-Django
 Recommends: python-SQLAlchemy
-%else
+Recommends: python-python-dateutil
 BuildArch:  noarch
-%endif
+%python_subpackages
 
 %description
 WTForms is a forms validation and rendering library for Python web development.
-With WTForms, your form field HTML can be generated for you, but we let you 
customize it in your templates. 
-This allows you to maintain separation of code and presentation, and keep 
those messy parameters out of your python code. 
-Because we strive for loose coupling, you should be able to do that in any 
templating engine you like, as well.
+With WTForms, form field HTML can be generated and be customized with 
templates.
+This allows to maintain separation of code and presentation, and keep those 
parameters out of Python code.
+Because of this loose coupling, any template engine may be used for this.
 
-%package doc
+%package -n %{name}-doc
 Summary:Documentation for WTForms
 Group:  Documentation/HTML
 Requires:   %{name} = %{version}
 
-%description doc
-Documentation of WTForms is a forms validation and rendering library for 
Python web development.
+%description -n %{name}-doc
+Documentation for WTForms, which is a forms validation and rendering library 
for Python web development.
 
 %package lang
 Summary:Languages for package %{name}
 Group:  System/Localization
 Requires:   

commit python-WTForms for openSUSE:Factory

2015-05-19 Thread h_root
Hello community,

here is the log from the commit of package python-WTForms for openSUSE:Factory 
checked in at 2015-05-19 23:43:57

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


Package is python-WTForms

Changes:

--- /work/SRC/openSUSE:Factory/python-WTForms/python-WTForms.changes
2014-12-03 22:51:14.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-WTForms.new/python-WTForms.changes   
2015-05-19 23:43:58.0 +0200
@@ -1,0 +2,34 @@
+Thu May 14 15:17:12 UTC 2015 - benoit.mo...@gmx.fr
+
+- update to version 2.0.2:
+  * Added more localizations and updated some
+  * Validators for email and URL can validate IDNA-encoded domain
+names and new TLDs
+  * Better DeprecationWarnings
+  * Support localization files in /usr/share/locale (for distro
+packaging)
+- additional changes from version 2.0.1
+  * Released July 1, 2014
+  * Update wheel install to conditionally install ordereddict for
+python 2.6
+  * Doc improvements
+- additional changes from version 2.0
+  * Add new class Meta paradigm for much more powerful
+customization of WTForms
+  * Move i18n into core. Deprecate wtforms.ext.i18n
+  * Move CSRF into core. Deprecate wtforms.ext.csrf
+  * Fix issue rendering SelectFields with value=True
+  * Make DecimalField able to use babel locale-based number
+formatting
+  * Drop Python 3.2 support (Python3 support for 3.3+ only)
+  * passing attr=False to WTForms widgets causes the value to be
+ignored
+  * Unique validator in wtforms.ext.sqlalchemy has been removed
+- add new dependency python-ordereddict for SLE11
+- update the list of files to fix end of line encoding
+- use %find_lang for the lang subpackage: paths changed upstream
+- run the tests during build
+- rename CHANGES.txt to CHANGES.rst: changed upstream
+- rename README.txt to README.md: changed upstream
+
+---

Old:

  WTForms-1.0.5.zip

New:

  WTForms-2.0.2.zip



Other differences:
--
++ python-WTForms.spec ++
--- /var/tmp/diff_new_pack.IsCsoR/_old  2015-05-19 23:43:59.0 +0200
+++ /var/tmp/diff_new_pack.IsCsoR/_new  2015-05-19 23:43:59.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-WTForms
 #
-# 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,7 +17,7 @@
 
 
 Name:   python-WTForms
-Version:1.0.5
+Version:2.0.2
 Release:0
 Url:http://wtforms.simplecodes.com/
 Summary:A flexible forms validation and rendering library for Python 
web development
@@ -25,13 +25,15 @@
 Group:  Development/Languages/Python
 Source: 
http://pypi.python.org/packages/source/W/WTForms/WTForms-%{version}.zip
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  fdupes
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
-BuildRequires:  fdupes
 BuildRequires:  unzip
 
 %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())}
+BuildRequires:  python-ordereddict
+Requires:   python-ordereddict
 Recommends: python-django
 Recommends: python-google-appengine
 Recommends: python-SQLAlchemy
@@ -54,7 +56,6 @@
 Documentation of WTForms is a forms validation and rendering library for 
Python web development.
 
 %package lang
-# We cannot use %%lang_package here. wtforms translations use noarch 
incompatible path.
 Summary:Languages for package %{name}
 Group:  System/Localization
 Requires:   %{name} = %{version}
@@ -66,7 +67,7 @@
 
 %prep
 %setup -q -n WTForms-%{version}
-sed -i s/\r// CHANGES.txt docs/html/_sources/index.txt # Fix wrong 
EOL-encoding
+sed -i s/\r// CHANGES.rst docs/html/_static/jquery.js # Fix wrong 
EOL-encoding
 rm -rf docs/html/.buildinfo # Remove junk
 
 %build
@@ -74,25 +75,24 @@
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-
-# Create %%lang tags for mo files in non-standard path:
-echo %%defattr(-, root, root) wtforms.lang
-for LNG_DIR in $RPM_BUILD_ROOT%{python_sitelib}/wtforms/ext/i18n/messages/* ; 
do
-   LNG=${LNG_DIR##*/}
-   echo %%lang($LNG) 
%%{python_sitelib}${LNG_DIR#$RPM_BUILD_ROOT%{python_sitelib}} wtforms.lang
-done
+%find_lang wtforms
 %fdupes %{buildroot}%{_prefix}
 
+%check
+python setup.py -q test
+
 %files doc
 %defattr(-,root,root,-)
 %doc