summaryrefslogtreecommitdiff
path: root/dev-python/python-magic/files/python-magic-0.4.15-fix-gzip-test.patch
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-07-12 18:44:36 +0200
committerMichał Górny <mgorny@gentoo.org>2020-07-12 18:54:52 +0200
commit8ddb9b24be02f333158b8326e9ca1e8207917102 (patch)
tree2689a2492eb1ab3c10c4be400e3da71145332181 /dev-python/python-magic/files/python-magic-0.4.15-fix-gzip-test.patch
parent98255d563fbd2d54259f17a6efd4934a87900627 (diff)
downloadgentoo-8ddb9b24be02f333158b8326e9ca1e8207917102.tar.gz
gentoo-8ddb9b24be02f333158b8326e9ca1e8207917102.tar.bz2
gentoo-8ddb9b24be02f333158b8326e9ca1e8207917102.zip
dev-python/python-magic: Remove redundant versions
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/python-magic/files/python-magic-0.4.15-fix-gzip-test.patch')
-rw-r--r--dev-python/python-magic/files/python-magic-0.4.15-fix-gzip-test.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/dev-python/python-magic/files/python-magic-0.4.15-fix-gzip-test.patch b/dev-python/python-magic/files/python-magic-0.4.15-fix-gzip-test.patch
deleted file mode 100644
index d48637139e2f..000000000000
--- a/dev-python/python-magic/files/python-magic-0.4.15-fix-gzip-test.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-commit e83487a20bacd4f9b33d0478861671bf79468f59
-Author: Louis Sautier <sautier.louis@gmail.com>
-Date: Mon Aug 13 12:15:13 2018 +0200
-
- Allow x-gzip as MIME type for gzip files, fixes #96
-
-diff --git a/test/test.py b/test/test.py
-index e29335f..e3ee703 100755
---- a/test/test.py
-+++ b/test/test.py
-@@ -54,7 +54,7 @@ class MagicTest(unittest.TestCase):
- self.assert_values(m, {
- 'magic._pyc_': 'application/octet-stream',
- 'test.pdf': 'application/pdf',
-- 'test.gz': 'application/gzip',
-+ 'test.gz': ('application/gzip', 'application/x-gzip'),
- 'text.txt': 'text/plain',
- b'\xce\xbb'.decode('utf-8'): 'text/plain',
- b'\xce\xbb': 'text/plain',