commit python-django-rest-knox for openSUSE:Factory

2020-04-28 Thread root
Hello community,

here is the log from the commit of package python-django-rest-knox for 
openSUSE:Factory checked in at 2020-04-28 22:31:57

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


Package is "python-django-rest-knox"

Tue Apr 28 22:31:57 2020 rev:5 rq:798611 version:4.1.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-django-rest-knox/python-django-rest-knox.changes
  2020-04-07 10:28:30.654308771 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-django-rest-knox.new.2738/python-django-rest-knox.changes
2020-04-28 22:32:25.973760757 +0200
@@ -1,0 +2,6 @@
+Tue Apr 28 09:42:48 UTC 2020 - Tomáš Chvátal 
+
+- Add patch to build with Django 3.x:
+  * django3.patch
+
+---

New:

  django3.patch



Other differences:
--
++ python-django-rest-knox.spec ++
--- /var/tmp/diff_new_pack.yiyqfu/_old  2020-04-28 22:32:26.721762152 +0200
+++ /var/tmp/diff_new_pack.yiyqfu/_new  2020-04-28 22:32:26.725762159 +0200
@@ -25,6 +25,7 @@
 License:MIT
 URL:https://github.com/James1345/django-rest-knox
 Source: 
https://github.com/James1345/django-rest-knox/archive/%{version}.tar.gz#/django-rest-knox-%{version}.tar.gz
+Patch0: django3.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -46,6 +47,7 @@
 
 %prep
 %setup -q -n django-rest-knox-%{version}
+%patch0 -p1
 # knox does not use pyOpenSSL; it uses cryptography.
 # pyOpenSSL is a proxy for cryptography in 3.6.0,
 # and replaced by cryptography in 4.0.0

++ django3.patch ++
Index: django-rest-knox-4.1.0/tests/tests.py
===
--- django-rest-knox-4.1.0.orig/tests/tests.py
+++ django-rest-knox-4.1.0/tests/tests.py
@@ -3,10 +3,10 @@ from datetime import datetime, timedelta
 
 from django.contrib.auth import get_user_model
 from django.test import override_settings
-from django.utils.six.moves import reload_module
 from freezegun import freeze_time
 from rest_framework.serializers import DateTimeField
 from rest_framework.test import APIRequestFactory, APITestCase as TestCase
+from six.moves import reload_module
 
 from knox import auth, views
 from knox.auth import TokenAuthentication



commit python-django-rest-knox for openSUSE:Factory

2020-04-07 Thread root
Hello community,

here is the log from the commit of package python-django-rest-knox for 
openSUSE:Factory checked in at 2020-04-07 10:28:04

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


Package is "python-django-rest-knox"

Tue Apr  7 10:28:04 2020 rev:4 rq:791487 version:4.1.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-django-rest-knox/python-django-rest-knox.changes
  2019-10-08 19:57:57.328192969 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-django-rest-knox.new.3248/python-django-rest-knox.changes
2020-04-07 10:28:30.654308771 +0200
@@ -1,0 +2,12 @@
+Sun Apr  5 07:54:00 UTC 2020 - Tomáš Chvátal 
+
+- Update to 4.1.0:
+  * Expiry format now defaults to whatever is used Django REST framework
+  * The behavior can be overriden via EXPIRY_DATETIME_FORMAT setting
+  * Fully customizable expiry format via format_expiry_datetime
+  * Fully customizable response payload via get_post_response_data
+  * Changes have been made to the create() method on the AuthToken model.
+It now returns the model instance and the raw token instead of just
+the token to allow the expiry field to be included in the success response.
+
+---

Old:

  django-rest-knox-3.6.0.tar.gz

New:

  django-rest-knox-4.1.0.tar.gz



Other differences:
--
++ python-django-rest-knox.spec ++
--- /var/tmp/diff_new_pack.C9gWv6/_old  2020-04-07 10:28:31.242309425 +0200
+++ /var/tmp/diff_new_pack.C9gWv6/_new  2020-04-07 10:28:31.246309429 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-django-rest-knox
 #
-# 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 owners, unless otherwise agreed
@@ -19,10 +19,8 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-django-rest-knox
-Version:3.6.0
+Version:4.1.0
 Release:0
-# Please, do not update to the current version, 4.x, as it is a breaking
-# change that at least breaks drf-jwt-knox
 Summary:Authentication for Django REST framework
 License:MIT
 URL:https://github.com/James1345/django-rest-knox

++ django-rest-knox-3.6.0.tar.gz -> django-rest-knox-4.1.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-rest-knox-3.6.0/.isort.cfg 
new/django-rest-knox-4.1.0/.isort.cfg
--- old/django-rest-knox-3.6.0/.isort.cfg   1970-01-01 01:00:00.0 
+0100
+++ new/django-rest-knox-4.1.0/.isort.cfg   2019-06-01 08:24:05.0 
+0200
@@ -0,0 +1,7 @@
+[settings]
+combine_as_imports = true
+default_section = THIRDPARTY
+include_trailing_comma = true
+known_first_party = knox
+multi_line_output = 5
+not_skip = __init__.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-rest-knox-3.6.0/.travis.yml 
new/django-rest-knox-4.1.0/.travis.yml
--- old/django-rest-knox-3.6.0/.travis.yml  2018-12-31 12:58:08.0 
+0100
+++ new/django-rest-knox-4.1.0/.travis.yml  2019-06-01 08:24:05.0 
+0200
@@ -12,8 +12,12 @@
   env: TOX_ENVS=py35-django111,py35-django20,py35-django20,py35-django21
 - python: "3.6"
   env: TOX_ENVS=py36-django111,py36-django20,py36-django21
+- python: "3.6"
+  dist: xenial
+  sudo: true
+  env: TOX_ENVS=py36-django22
 - python: "3.7"
-  env: TOX_ENVS=py37-django20,py37-django21
+  env: TOX_ENVS=py37-django20,py37-django21,py37-django22
   dist: xenial
   sudo: true
 before_script:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-rest-knox-3.6.0/CHANGELOG.md 
new/django-rest-knox-4.1.0/CHANGELOG.md
--- old/django-rest-knox-3.6.0/CHANGELOG.md 2018-12-31 12:58:08.0 
+0100
+++ new/django-rest-knox-4.1.0/CHANGELOG.md 2019-06-01 08:24:05.0 
+0200
@@ -1,153 +1,134 @@
-3.6.0
-=
+## 4.1.0
 
-- The user serializer for each `LoginView`is now dynamic
+- Expiry format now defaults to whatever is used Django REST framework
+- The behavior can be overriden via EXPIRY_DATETIME_FORMAT setting
+- Fully customizable expiry format via format_expiry_datetime
+- Fully customizable response payload via get_post_response_data
 
 
-3.5.0
-=
+## 4.0.1
 
-- The context, token TTL and tokens per user settings in `LoginView` are now 
dynamic
+- Fix for tox config to build Django 2.2 on python 3.6
+
+## 4.0.0
+
+**BREAKING** This is a 

commit python-django-rest-knox for openSUSE:Factory

2019-10-08 Thread root
Hello community,

here is the log from the commit of package python-django-rest-knox for 
openSUSE:Factory checked in at 2019-10-08 19:57:56

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


Package is "python-django-rest-knox"

Tue Oct  8 19:57:56 2019 rev:3 rq:735851 version:3.6.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-django-rest-knox/python-django-rest-knox.changes
  2019-05-28 09:42:53.737851959 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-django-rest-knox.new.2352/python-django-rest-knox.changes
2019-10-08 19:57:57.328192969 +0200
@@ -1,0 +2,5 @@
+Mon Oct  7 13:12:34 UTC 2019 - Tomáš Chvátal 
+
+- Disable py2 build as it is unresolvable
+
+---



Other differences:
--
++ python-django-rest-knox.spec ++
--- /var/tmp/diff_new_pack.BPVNnM/_old  2019-10-08 19:57:58.100190657 +0200
+++ /var/tmp/diff_new_pack.BPVNnM/_new  2019-10-08 19:57:58.100190657 +0200
@@ -17,6 +17,7 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
 Name:   python-django-rest-knox
 Version:3.6.0
 Release:0
@@ -24,11 +25,15 @@
 # change that at least breaks drf-jwt-knox
 Summary:Authentication for Django REST framework
 License:MIT
-Group:  Development/Languages/Python
-Url:https://github.com/James1345/django-rest-knox
+URL:https://github.com/James1345/django-rest-knox
 Source: 
https://github.com/James1345/django-rest-knox/archive/%{version}.tar.gz#/django-rest-knox-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:   python-Django
+Requires:   python-cryptography
+Requires:   python-djangorestframework
+BuildArch:  noarch
 # SECTION test requirements
 BuildRequires:  %{python_module Django}
 BuildRequires:  %{python_module cryptography}
@@ -36,12 +41,6 @@
 BuildRequires:  %{python_module djangorestframework}
 BuildRequires:  %{python_module freezegun}
 # /SECTION
-BuildRequires:  fdupes
-Requires:   python-Django
-Requires:   python-cryptography
-Requires:   python-djangorestframework
-BuildArch:  noarch
-
 %python_subpackages
 
 %description




commit python-django-rest-knox for openSUSE:Factory

2019-05-28 Thread root
Hello community,

here is the log from the commit of package python-django-rest-knox for 
openSUSE:Factory checked in at 2019-05-28 09:42:52

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


Package is "python-django-rest-knox"

Tue May 28 09:42:52 2019 rev:2 rq:705620 version:3.6.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-django-rest-knox/python-django-rest-knox.changes
  2019-04-15 11:52:24.594551094 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-django-rest-knox.new.5148/python-django-rest-knox.changes
2019-05-28 09:42:53.737851959 +0200
@@ -1,0 +2,5 @@
+Mon May 20 01:47:09 UTC 2019 - John Vandenberg 
+
+- Add non-updating note to the SPEC file
+
+---



Other differences:
--
++ python-django-rest-knox.spec ++
--- /var/tmp/diff_new_pack.VV4qGx/_old  2019-05-28 09:42:54.881851563 +0200
+++ /var/tmp/diff_new_pack.VV4qGx/_new  2019-05-28 09:42:54.881851563 +0200
@@ -12,20 +12,23 @@
 # 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/
+#
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-django-rest-knox
 Version:3.6.0
 Release:0
-License:MIT
+# Please, do not update to the current version, 4.x, as it is a breaking
+# change that at least breaks drf-jwt-knox
 Summary:Authentication for Django REST framework
-Url:https://github.com/James1345/django-rest-knox
+License:MIT
 Group:  Development/Languages/Python
+Url:https://github.com/James1345/django-rest-knox
 Source: 
https://github.com/James1345/django-rest-knox/archive/%{version}.tar.gz#/django-rest-knox-%{version}.tar.gz
-BuildRequires:  python-rpm-macros
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
 # SECTION test requirements
 BuildRequires:  %{python_module Django}
 BuildRequires:  %{python_module cryptography}