commit python-django-formtools for openSUSE:Factory

2020-01-07 Thread root
Hello community,

here is the log from the commit of package python-django-formtools for 
openSUSE:Factory checked in at 2020-01-07 23:54:19

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


Package is "python-django-formtools"

Tue Jan  7 23:54:19 2020 rev:6 rq:761486 version:2.2

Changes:

--- 
/work/SRC/openSUSE:Factory/python-django-formtools/python-django-formtools.changes
  2019-12-10 22:43:09.745792662 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-django-formtools.new.6675/python-django-formtools.changes
2020-01-07 23:54:45.984075317 +0100
@@ -1,0 +2,10 @@
+Tue Jan  7 09:23:22 UTC 2020 - Tomáš Chvátal 
+
+- Update to 2.2:
+  * Dropped testing for Django 1.8, 1.9, 1.10.
+  * Dropped support for Python 2.
+  * Added support for Django 2.1, 2.2, 3.0, and Python 3.7.
+  * Updated translations from Transifex.
+- Remove merged patch django-21.patch
+
+---

Old:

  django-21.patch
  django-formtools-2.1.tar.gz

New:

  django-formtools-2.2.tar.gz



Other differences:
--
++ python-django-formtools.spec ++
--- /var/tmp/diff_new_pack.o71QF2/_old  2020-01-07 23:54:46.720075699 +0100
+++ /var/tmp/diff_new_pack.o71QF2/_new  2020-01-07 23:54:46.720075699 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-django-formtools
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,21 +17,20 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
 Name:   python-django-formtools
-Version:2.1
+Version:2.2
 Release:0
 Summary:A set of high-level abstractions for Django forms
 License:BSD-3-Clause
-Group:  Development/Languages/Python
 URL:https://github.com/django/django-formtools
 Source: 
https://files.pythonhosted.org/packages/source/d/django-formtools/django-formtools-%{version}.tar.gz
-Patch0: django-21.patch
-BuildRequires:  %{python_module Django >= 1.8}
+BuildRequires:  %{python_module Django >= 2.0}
 BuildRequires:  %{python_module isort}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:   python-Django >= 1.8
+Requires:   python-Django >= 2.0
 BuildArch:  noarch
 %python_subpackages
 
@@ -41,7 +40,6 @@
 
 %prep
 %setup -q -n django-formtools-%{version}
-%patch0 -p1
 
 %build
 %python_build

++ django-formtools-2.1.tar.gz -> django-formtools-2.2.tar.gz ++
 3247 lines of diff (skipped)




commit python-django-formtools for openSUSE:Factory

2019-12-10 Thread root
Hello community,

here is the log from the commit of package python-django-formtools for 
openSUSE:Factory checked in at 2019-12-10 22:42:58

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


Package is "python-django-formtools"

Tue Dec 10 22:42:58 2019 rev:5 rq:755462 version:2.1

Changes:

--- 
/work/SRC/openSUSE:Factory/python-django-formtools/python-django-formtools.changes
  2018-09-13 12:11:13.034314117 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-django-formtools.new.4691/python-django-formtools.changes
2019-12-10 22:43:09.745792662 +0100
@@ -1,0 +2,7 @@
+Mon Dec  9 14:57:10 CET 2019 - Matej Cepl 
+
+- Remove useless pysqlite dependency. If explicit sqlite3
+  dependency is required (perhaps in some SLE branch), please,
+  just add BR for the full python/python3 package.
+
+---



Other differences:
--
++ python-django-formtools.spec ++
--- /var/tmp/diff_new_pack.PJZN0k/_old  2019-12-10 22:43:10.573792355 +0100
+++ /var/tmp/diff_new_pack.PJZN0k/_new  2019-12-10 22:43:10.573792355 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-django-formtools
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # 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/
 #
 
 
@@ -30,7 +30,6 @@
 BuildRequires:  %{python_module isort}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
-BuildRequires:  python-pysqlite
 BuildRequires:  python-rpm-macros
 Requires:   python-Django >= 1.8
 BuildArch:  noarch
@@ -54,7 +53,7 @@
 %check
 export DJANGO_SETTINGS_MODULE=tests.settings
 export PYTHONPATH=`pwd`
-%python_expand %{_bindir}/django-admin.py-%{$python_bin_suffix} test tests 
--pythonpath=`pwd` 
+%python_expand %{_bindir}/django-admin.py-%{$python_bin_suffix} test -v 2 
tests --pythonpath=`pwd` 
 
 %files %{python_files}
 %license LICENSE




commit python-django-formtools for openSUSE:Factory

2018-09-13 Thread root
Hello community,

here is the log from the commit of package python-django-formtools for 
openSUSE:Factory checked in at 2018-09-13 12:11:11

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


Package is "python-django-formtools"

Thu Sep 13 12:11:11 2018 rev:4 rq:635001 version:2.1

Changes:

--- 
/work/SRC/openSUSE:Factory/python-django-formtools/python-django-formtools.changes
  2018-08-10 09:50:29.754339385 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-django-formtools.new/python-django-formtools.changes
 2018-09-13 12:11:13.034314117 +0200
@@ -1,0 +2,5 @@
+Tue Sep  4 13:50:51 UTC 2018 - comur...@suse.com
+
+- Add pysqlite dependency
+
+---



Other differences:
--
++ python-django-formtools.spec ++
--- /var/tmp/diff_new_pack.MY8a4k/_old  2018-09-13 12:11:13.426313676 +0200
+++ /var/tmp/diff_new_pack.MY8a4k/_new  2018-09-13 12:11:13.426313676 +0200
@@ -30,6 +30,7 @@
 BuildRequires:  %{python_module isort}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
+BuildRequires:  python-pysqlite
 BuildRequires:  python-rpm-macros
 Requires:   python-Django >= 1.8
 BuildArch:  noarch




commit python-django-formtools for openSUSE:Factory

2018-08-10 Thread root
Hello community,

here is the log from the commit of package python-django-formtools for 
openSUSE:Factory checked in at 2018-08-10 09:50:22

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


Package is "python-django-formtools"

Fri Aug 10 09:50:22 2018 rev:3 rq:628272 version:2.1

Changes:

--- 
/work/SRC/openSUSE:Factory/python-django-formtools/python-django-formtools.changes
  2018-03-04 12:51:15.526532105 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-django-formtools.new/python-django-formtools.changes
 2018-08-10 09:50:29.754339385 +0200
@@ -1,0 +2,7 @@
+Wed Aug  8 21:32:47 UTC 2018 - tchva...@suse.com
+
+- Format with spec-cleaner
+- Add patch for django 2.1:
+  * django-21.patch
+
+---

New:

  django-21.patch



Other differences:
--
++ python-django-formtools.spec ++
--- /var/tmp/diff_new_pack.e3cjP6/_old  2018-08-10 09:50:31.502342204 +0200
+++ /var/tmp/diff_new_pack.e3cjP6/_new  2018-08-10 09:50:31.506342212 +0200
@@ -16,8 +16,6 @@
 #
 
 
-%bcond_without tests
-
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-django-formtools
 Version:2.1
@@ -25,16 +23,14 @@
 Summary:A set of high-level abstractions for Django forms
 License:BSD-3-Clause
 Group:  Development/Languages/Python
-Url:https://github.com/django/django-formtools
+URL:https://github.com/django/django-formtools
 Source: 
https://files.pythonhosted.org/packages/source/d/django-formtools/django-formtools-%{version}.tar.gz
+Patch0: django-21.patch
 BuildRequires:  %{python_module Django >= 1.8}
-BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module isort}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-%if %{with test}
-BuildRequires:  %{python_module isort}
-%endif
 Requires:   python-Django >= 1.8
 BuildArch:  noarch
 %python_subpackages
@@ -45,24 +41,23 @@
 
 %prep
 %setup -q -n django-formtools-%{version}
+%patch0 -p1
 
 %build
 %python_build
 
 %install
 %python_install
-%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%if %{with tests}
 %check
 export DJANGO_SETTINGS_MODULE=tests.settings
 export PYTHONPATH=`pwd`
 %python_expand %{_bindir}/django-admin.py-%{$python_bin_suffix} test tests 
--pythonpath=`pwd` 
-%endif
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc AUTHORS.rst LICENSE README.rst
+%license LICENSE
+%doc AUTHORS.rst README.rst
 %{python_sitelib}/*
 
 %changelog

++ django-21.patch ++
>From af6925fde6ca395f7fb8cf1794f934de62da36cc Mon Sep 17 00:00:00 2001
From: Claude Paroz 
Date: Tue, 13 Mar 2018 10:42:47 +0100
Subject: [PATCH] Fixed test with Django master

Was failing after Django commit d368784ba.
---
 tests/tests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/tests.py b/tests/tests.py
index a3e8c72..67f0f96 100644
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -191,7 +191,7 @@ def test_empty_permitted(self):
 empty_permitted = True, or forms where data has not changed.
 """
 f1 = HashTestBlankForm({})
-f2 = HashTestForm({}, empty_permitted=True)
+f2 = HashTestForm({}, empty_permitted=True, 
use_required_attribute=False)
 hash1 = utils.form_hmac(f1)
 hash2 = utils.form_hmac(f2)
 self.assertEqual(hash1, hash2)



commit python-django-formtools for openSUSE:Factory

2018-03-04 Thread root
Hello community,

here is the log from the commit of package python-django-formtools for 
openSUSE:Factory checked in at 2018-03-04 12:51:14

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


Package is "python-django-formtools"

Sun Mar  4 12:51:14 2018 rev:2 rq:581795 version:2.1

Changes:

--- 
/work/SRC/openSUSE:Factory/python-django-formtools/python-django-formtools.changes
  2017-06-29 15:07:09.616531181 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-django-formtools.new/python-django-formtools.changes
 2018-03-04 12:51:15.526532105 +0100
@@ -1,0 +2,10 @@
+Thu Mar  1 16:47:17 UTC 2018 - toddrme2...@gmail.com
+
+- Update to version 2.1
+  * Added testing for Django 1.11 (no code changes were required).
+  * Added support for Django 2.0.
+  * Dropped testing for Python 3.3 (now end-of-life) on Django 1.8.
+- Fix unit tests
+- Implement singlespec version
+
+---

Old:

  django-formtools-2.0.tar.gz

New:

  django-formtools-2.1.tar.gz



Other differences:
--
++ python-django-formtools.spec ++
--- /var/tmp/diff_new_pack.wB4NPn/_old  2018-03-04 12:51:17.054476425 +0100
+++ /var/tmp/diff_new_pack.wB4NPn/_new  2018-03-04 12:51:17.054476425 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-django-formtools
 #
-# 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
@@ -13,22 +13,31 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
 
+%bcond_without tests
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-django-formtools
-Version:2.0
+Version:2.1
 Release:0
-License:BSD-3-Clause
 Summary:A set of high-level abstractions for Django forms
-Url:https://django-formtools.readthedocs.io/en/latest/
+License:BSD-3-Clause
 Group:  Development/Languages/Python
+Url:https://github.com/django/django-formtools
 Source: 
https://files.pythonhosted.org/packages/source/d/django-formtools/django-formtools-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-BuildRequires:  python-Django >= 1.8
+BuildRequires:  %{python_module Django >= 1.8}
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+%if %{with test}
+BuildRequires:  %{python_module isort}
+%endif
 Requires:   python-Django >= 1.8
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
+%python_subpackages
 
 %description
 Django's "formtools" is a set of high-level abstractions for Django forms.
@@ -38,14 +47,20 @@
 %setup -q -n django-formtools-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
+
+%if %{with tests}
 %check
-python setup.py test
+export DJANGO_SETTINGS_MODULE=tests.settings
+export PYTHONPATH=`pwd`
+%python_expand %{_bindir}/django-admin.py-%{$python_bin_suffix} test tests 
--pythonpath=`pwd` 
+%endif
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc AUTHORS.rst LICENSE README.rst
 %{python_sitelib}/*

++ django-formtools-2.0.tar.gz -> django-formtools-2.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-formtools-2.0/PKG-INFO 
new/django-formtools-2.1/PKG-INFO
--- old/django-formtools-2.0/PKG-INFO   2017-01-07 22:01:36.0 +0100
+++ new/django-formtools-2.1/PKG-INFO   2017-10-04 20:05:58.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: django-formtools
-Version: 2.0
+Version: 2.1
 Summary: A set of high-level abstractions for Django forms
 Home-page: https://django-formtools.readthedocs.io/en/latest/
 Author: Django Software Foundation
@@ -44,6 +44,8 @@
 Classifier: Framework :: Django :: 1.8
 Classifier: Framework :: Django :: 1.9
 Classifier: Framework :: Django :: 1.10
+Classifier: Framework :: Django :: 1.11
+Classifier: Framework :: Django :: 2.0
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: BSD License
 Classifier: Operating System :: OS Independent
@@ -51,7 +53,7 @@
 Classifier: Programming Language :: Python :: 2
 Classifier: Programming Language :: Python :: 2.7