commit python-django-debreach for openSUSE:Factory

2024-03-28 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-django-debreach for 
openSUSE:Factory checked in at 2024-03-28 13:55:18

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


Package is "python-django-debreach"

Thu Mar 28 13:55:18 2024 rev:6 rq:1163245 version:2.1.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-django-debreach/python-django-debreach.changes
2022-01-08 23:24:36.170279819 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-django-debreach.new.1905/python-django-debreach.changes
  2024-03-28 14:30:46.44706 +0100
@@ -1,0 +2,5 @@
+Thu Mar 28 05:42:14 UTC 2024 - Max Lin 
+
+- Add %{?sle15_python_module_pythons}
+
+---



Other differences:
--
++ python-django-debreach.spec ++
--- /var/tmp/diff_new_pack.GTzJ3y/_old  2024-03-28 14:30:53.497991839 +0100
+++ /var/tmp/diff_new_pack.GTzJ3y/_new  2024-03-28 14:30:53.501991986 +0100
@@ -19,6 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 %define skip_python36 1
+%{?sle15_python_module_pythons}
 Name:   python-django-debreach
 Version:2.1.0
 Release:0


commit python-django-debreach for openSUSE:Factory

2022-01-08 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-django-debreach for 
openSUSE:Factory checked in at 2022-01-08 23:23:55

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


Package is "python-django-debreach"

Sat Jan  8 23:23:55 2022 rev:5 rq:944841 version:2.1.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-django-debreach/python-django-debreach.changes
2019-10-30 14:49:02.594260405 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-django-debreach.new.1892/python-django-debreach.changes
  2022-01-08 23:24:36.170279819 +0100
@@ -1,0 +2,6 @@
+Sat Jan  8 00:43:56 UTC 2022 - John Vandenberg 
+
+- Update to v2.1.0
+  * Add Django 4.0 support to tests
+
+---

Old:

  django-debreach-2.0.1.tar.gz

New:

  django-debreach-2.1.0.tar.gz



Other differences:
--
++ python-django-debreach.spec ++
--- /var/tmp/diff_new_pack.ly7QEz/_old  2022-01-08 23:24:36.610280178 +0100
+++ /var/tmp/diff_new_pack.ly7QEz/_new  2022-01-08 23:24:36.614280182 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-django-debreach
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,15 +18,17 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
+%define skip_python36 1
 Name:   python-django-debreach
-Version:2.0.1
+Version:2.1.0
 Release:0
 Summary:Middleware to protect against the BREACH attack in Django
 License:BSD-2-Clause
 URL:https://github.com/lpomfrey/django-debreach
 Source: 
https://files.pythonhosted.org/packages/source/d/django-debreach/django-debreach-%{version}.tar.gz
 BuildRequires:  %{python_module Django}
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python-Django
@@ -34,22 +36,22 @@
 %python_subpackages
 
 %description
-Adds middleware and context processors to give some protection against the 
BREACH attack in Django
+Adds middleware and context processors to give some protection against the 
BREACH attack in Django.
 
 %prep
 %setup -q -n django-debreach-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 export PYTHONPATH=`pwd`
 export DJANGO_SETTINGS_MODULE='test_project.settings'
-%python_expand %{_bindir}/django-admin.py-%{$python_bin_suffix} test debreach 
--pythonpath=`pwd`
+%python_expand $python -m django test debreach -v2 --pythonpath=`pwd`
 
 %files %{python_files}
 %license LICENSE

++ django-debreach-2.0.1.tar.gz -> django-debreach-2.1.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-debreach-2.0.1/AUTHORS.rst 
new/django-debreach-2.1.0/AUTHORS.rst
--- old/django-debreach-2.0.1/AUTHORS.rst   1970-01-01 01:00:00.0 
+0100
+++ new/django-debreach-2.1.0/AUTHORS.rst   2016-01-10 17:05:37.0 
+0100
@@ -0,0 +1,15 @@
+===
+Credits
+===
+
+Development Lead
+
+
+* Luke Pomfrey 
+
+Contributors
+
+
+* Phillipe Ombredanne (https://github.com/pombredanne)
+* Christopher Ghormley (https://github.com/csghormley)
+* Daniel Hawkins (https://github.com/hwkns)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-debreach-2.0.1/PKG-INFO 
new/django-debreach-2.1.0/PKG-INFO
--- old/django-debreach-2.0.1/PKG-INFO  2019-10-10 11:09:54.0 +0200
+++ new/django-debreach-2.1.0/PKG-INFO  2022-01-04 15:31:06.434652600 +0100
@@ -1,12 +1,13 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: django-debreach
-Version: 2.0.1
+Version: 2.1.0
 Summary: Adds middleware to give some added protection against the BREACH 
attack in Django.
 Home-page: http://github.com/lpomfrey/django-debreach
 Author: Luke Pomfrey
-Author-email: lpomf...@gmail.com
-License: BSD
-Description: UNKNOWN
+Author-email: l...@lukepomfrey.org
+Maintainer: Luke Pomfrey
+Maintainer-email: l...@lukepomfrey.org
+License: UNKNOWN
 Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Environment :: Web Environment
@@ -15,10 +16,86 @@
 Classifier: Operating System :: OS Independent
 Classifier: Framework :: Django