New Upstream Release - django-favicon-plus-reloaded

Ready changes

Summary

Merged new upstream version: 1.1.5 (was: 1.1.3).

Resulting package

Built on 2022-05-15T19:47 (took 3m42s)

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t fresh-releases python3-django-favicon-plus-reloaded

Lintian Result

Diff

diff --git a/PKG-INFO b/PKG-INFO
index 65e12cd..c1b979a 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: django-favicon-plus-reloaded
-Version: 1.1.3
+Version: 1.1.5
 Summary:  simple Django app which allows you to upload a image and it renders a wide variety for html link tags to display the favicon
 Home-page: https://edugit.org/AlekSIS/libs/django-favicon-plus
 Author: arteria GmbH
diff --git a/debian/changelog b/debian/changelog
index c94b2c4..ef81204 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+django-favicon-plus-reloaded (1.1.5-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sun, 15 May 2022 19:44:02 -0000
+
 django-favicon-plus-reloaded (1.1.3-1) unstable; urgency=low
 
   * Initial release
diff --git a/django_favicon_plus_reloaded.egg-info/PKG-INFO b/django_favicon_plus_reloaded.egg-info/PKG-INFO
index 65e12cd..c1b979a 100644
--- a/django_favicon_plus_reloaded.egg-info/PKG-INFO
+++ b/django_favicon_plus_reloaded.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: django-favicon-plus-reloaded
-Version: 1.1.3
+Version: 1.1.5
 Summary:  simple Django app which allows you to upload a image and it renders a wide variety for html link tags to display the favicon
 Home-page: https://edugit.org/AlekSIS/libs/django-favicon-plus
 Author: arteria GmbH
diff --git a/favicon/__init__.py b/favicon/__init__.py
index 7bb021e..99d2a6f 100644
--- a/favicon/__init__.py
+++ b/favicon/__init__.py
@@ -1 +1 @@
-__version__ = '1.1.3'
+__version__ = '1.1.5'
diff --git a/favicon/models.py b/favicon/models.py
index 6e340d1..a4bb90e 100644
--- a/favicon/models.py
+++ b/favicon/models.py
@@ -7,6 +7,7 @@ from django.core.files.storage import default_storage as storage
 from django.core.files.uploadedfile import InMemoryUploadedFile
 from django.db import models
 from django.db.models import Q, signals
+from django.utils.text import slugify
 
 use_sites = hasattr(settings, "SITE_ID")
 
@@ -138,7 +139,8 @@ class FaviconImg(models.Model):
 
         tmp_io = BytesIO()
         tmp.save(tmp_io, format='PNG')
-        tmp_file = InMemoryUploadedFile(tmp_io, None, f"fav-{self.size}s.png", 'image/png', sys.getsizeof(tmp_io), None)
+        file_name = f"{slugify(self.faviconFK.title)}-{self.size}s.png"
+        tmp_file = InMemoryUploadedFile(tmp_io, None, file_name, 'image/png', sys.getsizeof(tmp_io), None)
 
         self.faviconImage = tmp_file
 

Debdiff

[The following lists of changes regard files as different if they have different names, permissions or owners.]

Files in second set of .debs but not in first

-rw-r--r--  root/root   /usr/lib/python3/dist-packages/django_favicon_plus_reloaded-1.1.5.egg-info/PKG-INFO
-rw-r--r--  root/root   /usr/lib/python3/dist-packages/django_favicon_plus_reloaded-1.1.5.egg-info/dependency_links.txt
-rw-r--r--  root/root   /usr/lib/python3/dist-packages/django_favicon_plus_reloaded-1.1.5.egg-info/not-zip-safe
-rw-r--r--  root/root   /usr/lib/python3/dist-packages/django_favicon_plus_reloaded-1.1.5.egg-info/requires.txt
-rw-r--r--  root/root   /usr/lib/python3/dist-packages/django_favicon_plus_reloaded-1.1.5.egg-info/top_level.txt

Files in first set of .debs but not in second

-rw-r--r--  root/root   /usr/lib/python3/dist-packages/django_favicon_plus_reloaded-1.1.3.egg-info/PKG-INFO
-rw-r--r--  root/root   /usr/lib/python3/dist-packages/django_favicon_plus_reloaded-1.1.3.egg-info/dependency_links.txt
-rw-r--r--  root/root   /usr/lib/python3/dist-packages/django_favicon_plus_reloaded-1.1.3.egg-info/not-zip-safe
-rw-r--r--  root/root   /usr/lib/python3/dist-packages/django_favicon_plus_reloaded-1.1.3.egg-info/requires.txt
-rw-r--r--  root/root   /usr/lib/python3/dist-packages/django_favicon_plus_reloaded-1.1.3.egg-info/top_level.txt

No differences were encountered in the control files

More details

Full run details