Hello community, here is the log from the commit of package python-djet for openSUSE:Factory checked in at 2020-04-28 22:31:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-djet (Old) and /work/SRC/openSUSE:Factory/.python-djet.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-djet" Tue Apr 28 22:31:53 2020 rev:3 rq:798600 version:0.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-djet/python-djet.changes 2019-10-08 19:58:01.752179720 +0200 +++ /work/SRC/openSUSE:Factory/.python-djet.new.2738/python-djet.changes 2020-04-28 22:32:22.389754070 +0200 @@ -1,0 +2,6 @@ +Tue Apr 28 09:08:52 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Add patch to build with django 3.x: + * django3.patch + +------------------------------------------------------------------- New: ---- django3.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-djet.spec ++++++ --- /var/tmp/diff_new_pack.dl2tdQ/_old 2020-04-28 22:32:23.153755495 +0200 +++ /var/tmp/diff_new_pack.dl2tdQ/_new 2020-04-28 22:32:23.153755495 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-djet # -# 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 @@ -25,15 +25,18 @@ License: MIT URL: https://github.com/sunscrapers/djet Source: https://github.com/sunscrapers/djet/archive/%{version}.tar.gz#/djet-%{version}.tar.gz +Patch0: django3.patch BuildRequires: %{python_module Django} BuildRequires: %{python_module Pillow} BuildRequires: %{python_module djangorestframework} BuildRequires: %{python_module pytest-django} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Django Requires: python-Pillow +Requires: python-six Suggests: python-djangorestframework BuildArch: noarch %python_subpackages @@ -43,6 +46,7 @@ %prep %setup -q -n djet-%{version} +%patch0 -p1 %build %python_build ++++++ django3.patch ++++++ >From 973325c14324c00d47f7c128f1c5c5e1233f3d59 Mon Sep 17 00:00:00 2001 From: maurepass <maurep...@gmail.com> Date: Thu, 6 Feb 2020 04:34:23 +0100 Subject: [PATCH] changed the source of importing 'six' library --- djet/files.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/djet/files.py b/djet/files.py index d5eb2ea..7b6cc92 100644 --- a/djet/files.py +++ b/djet/files.py @@ -1,8 +1,9 @@ import os import datetime + +import six from django.core.files.storage import Storage, default_storage from django.core.files.uploadedfile import InMemoryUploadedFile -from django.utils import six class InMemoryStorage(Storage):