Hello community,

here is the log from the commit of package python-djangorestframework for 
openSUSE:Leap:15.2 checked in at 2020-03-01 20:30:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-djangorestframework (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-djangorestframework.new.26092 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-djangorestframework"

Sun Mar  1 20:30:06 2020 rev:3 rq:776585 version:3.11.0

Changes:
--------
--- 
/work/SRC/openSUSE:Leap:15.2/python-djangorestframework/python-djangorestframework.changes
  2020-01-15 15:48:42.227434929 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-djangorestframework.new.26092/python-djangorestframework.changes
       2020-03-01 20:30:07.737417381 +0100
@@ -1,0 +2,59 @@
+Mon Jan  6 13:35:30 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Update to 3.11.0:
+  * various minor updates
+  * django 3.x compatibility
+
+-------------------------------------------------------------------
+Mon Sep 16 08:46:05 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 3.10.3:
+  * Drop python2 support
+  * Various bugfixes
+
+-------------------------------------------------------------------
+Mon May  6 11:39:52 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 3.9.3:
+  * This is the last Django REST Framework release that will support Python 2.
+  * Adjusted the compat check for django-guardian to allow the last guardian
+    version (v1.4.9) compatible with Python 2. #6613
+
+-------------------------------------------------------------------
+Wed Mar  6 08:25:25 UTC 2019 - John Vandenberg <[email protected]>
+
+- Fix broken suggestion python-psycopg2
+- Increased optional dependency django-guardian >= 1.5.0
+- Update to v3.9.2
+  * Routers: invalidate `_urls` cache on `register()`
+  * Deferred schema renderer creation to avoid requiring pyyaml
+  * Added 'request_forms' block to base.html
+  * Fixed SchemaView to reset renderer on exception
+  * Update Django Guardian dependency
+  * Ensured support for Django 2.2
+  * Made templates compatible with session-based CSRF
+  * Adjusted field `validators` to accept non-list iterables
+  * Added SearchFilter.get_search_fields() hook
+  * Fix DeprecationWarning when accessing collections.abc classes via 
collections
+  * Allowed Q objects in limit_choices_to introspection
+  * Added lazy evaluation to composed permissions
+  * Add negation ~ operator to permissions composition
+  * Avoided calling distinct on annotated fields in SearchFilter
+  * Introduced `RemovedInDRF…Warning` classes to simplify deprecations
+
+-------------------------------------------------------------------
+Fri Mar  1 11:10:35 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Switch to multibuild to avoid buildcycle with django-filter
+
+-------------------------------------------------------------------
+Sun Feb 24 01:47:04 UTC 2019 - John Vandenberg <[email protected]>
+
+- Activate test suite
+- Add Recommends and Suggests for optional runtime dependencies
+- Update to v3.9.1
+  * Resolve XSS issue in browsable API
+  * Resolve issues with composable permissions
+  * Respect `limit_choices_to` on foreign keys
+
+-------------------------------------------------------------------

Old:
----
  djangorestframework-3.9.0.tar.gz

New:
----
  _multibuild
  djangorestframework-3.11.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-djangorestframework.spec ++++++
--- /var/tmp/diff_new_pack.y8fp0Y/_old  2020-03-01 20:30:08.757419513 +0100
+++ /var/tmp/diff_new_pack.y8fp0Y/_new  2020-03-01 20:30:08.781419563 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-djangorestframework
 #
-# Copyright (c) 2018 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 owners, unless otherwise agreed
@@ -17,26 +17,46 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define oldpython python
-Name:           python-djangorestframework
-Version:        3.9.0
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
+%define skip_python2 1
+Name:           python-djangorestframework%{psuffix}
+Version:        3.11.0
 Release:        0
 Summary:        A REST Framework for Django
 License:        BSD-2-Clause
 Group:          Development/Languages/Python
 URL:            http://django-rest-framework.org/
-Source:         
https://files.pythonhosted.org/packages/source/d/djangorestframework/djangorestframework-%{version}.tar.gz
-BuildRequires:  %{python_module Django >= 1.11}
-BuildRequires:  %{python_module devel}
+Source:         
https://github.com/encode/django-rest-framework/archive/%{version}.tar.gz#/djangorestframework-%{version}.tar.gz
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-Django >= 1.11
+Recommends:     python-Markdown
+Recommends:     python-Pygments
+Recommends:     python-coreapi
+Recommends:     python-coreschema
+Recommends:     python-requests
+Suggests:       python-psycopg2
 Provides:       python-django-rest-framework = %{version}
 Obsoletes:      python-django-rest-framework < %{version}
 BuildArch:      noarch
-%ifpython2
-Provides:       %{oldpython}-django-rest-framework = %{version}
-Obsoletes:      %{oldpython}-django-rest-framework < %{version}
+%if %{with test}
+BuildRequires:  %{python_module Django >= 1.11}
+BuildRequires:  %{python_module Markdown >= 2.6.11}
+BuildRequires:  %{python_module PyYAML}
+BuildRequires:  %{python_module coreapi >= 2.3.1}
+BuildRequires:  %{python_module coreschema >= 0.0.4}
+BuildRequires:  %{python_module django-guardian >= 1.4.9}
+BuildRequires:  %{python_module psycopg2}
+BuildRequires:  %{python_module pytest-django >= 3.3.2}
+BuildRequires:  python3-django-filter >= 1.1.0
 %endif
 %python_subpackages
 
@@ -50,17 +70,26 @@
 authentication and permission policies out of the box.
 
 %prep
-%setup -q -n djangorestframework-%{version}
+%setup -q -n django-rest-framework-%{version}
 
 %build
 %python_build
 
 %install
+%if !%{with test}
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
 
+%check
+%if %{with test}
+%pytest
+%endif
+
+%if !%{with test}
 %files %{python_files}
 %license LICENSE.md
 %{python_sitelib}/*
+%endif
 
 %changelog

++++++ _multibuild ++++++
<multibuild>
  <package>test</package>
</multibuild>
++++++ djangorestframework-3.9.0.tar.gz -> djangorestframework-3.11.0.tar.gz 
++++++
/work/SRC/openSUSE:Leap:15.2/python-djangorestframework/djangorestframework-3.9.0.tar.gz
 
/work/SRC/openSUSE:Leap:15.2/.python-djangorestframework.new.26092/djangorestframework-3.11.0.tar.gz
 differ: char 4, line 1


Reply via email to