summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-02-13 19:41:56 +0100
committerMichał Górny <mgorny@gentoo.org>2021-02-13 21:15:29 +0100
commit70cd8f0b94f8277ce84ea0502ce83a243d6167c9 (patch)
treeb75635f129a16b2a943d943680a13429d4540cbf /dev-python/django/files
parentvirtual/dist-kernel: Bump to 5.10.16 (diff)
downloadgentoo-70cd8f0b94f8277ce84ea0502ce83a243d6167c9.tar.gz
gentoo-70cd8f0b94f8277ce84ea0502ce83a243d6167c9.tar.bz2
gentoo-70cd8f0b94f8277ce84ea0502ce83a243d6167c9.zip
dev-python/django: Remove old
Bug: https://bugs.gentoo.org/768240 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/django/files')
-rw-r--r--dev-python/django/files/django-gettext-0.21.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/dev-python/django/files/django-gettext-0.21.patch b/dev-python/django/files/django-gettext-0.21.patch
deleted file mode 100644
index 5d3edfea4a1e..000000000000
--- a/dev-python/django/files/django-gettext-0.21.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 07a30f561661efae1691ff45d10ec6014b395b58 Mon Sep 17 00:00:00 2001
-From: Max Smolens <msmolens@gmail.com>
-Date: Tue, 6 Oct 2020 17:58:52 -0400
-Subject: [PATCH] Fixed #31850 -- Fixed
- BasicExtractorTests.test_extraction_warning with xgettext 0.21+.
-
-"format string with unnamed arguments cannot be properly localized"
-warning is not raised in xgettext 0.21+.
-
-This patch uses a message that causes an xgettext warning regardless of
-the version.
----
- AUTHORS | 1 +
- tests/i18n/commands/code.sample | 4 ++--
- 2 files changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/AUTHORS b/AUTHORS
-index b10852f407a4..9253740857de 100644
---- a/AUTHORS
-+++ b/AUTHORS
-@@ -622,6 +622,7 @@ answer newbie questions, and generally made Django that much better:
- mattycakes@gmail.com
- Max Burstein <http://maxburstein.com>
- Max Derkachev <mderk@yandex.ru>
-+ Max Smolens <msmolens@gmail.com>
- Maxime Lorant <maxime.lorant@gmail.com>
- Maxime Turcotte <maxocub@riseup.net>
- Maximilian Merz <django@mxmerz.de>
-diff --git a/tests/i18n/commands/code.sample b/tests/i18n/commands/code.sample
-index a5f1520ecba5..2c305a3a1dcf 100644
---- a/tests/i18n/commands/code.sample
-+++ b/tests/i18n/commands/code.sample
-@@ -1,4 +1,4 @@
- from django.utils.translation import gettext
-
--# This will generate an xgettext warning
--my_string = gettext("This string contain two placeholders: %s and %s" % ('a', 'b'))
-+# This will generate an xgettext "Empty msgid" warning.
-+my_string = gettext('')