nixpkgs/pkgs/by-name/ca/calibre/dont_build_unrar_plugin.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
597 B
Diff
Raw Normal View History

2017-02-18 08:57:13 +00:00
diff --git a/src/calibre/ebooks/metadata/archive.py b/src/calibre/ebooks/metadata/archive.py
index 50b4750124..858e39eece 100644
2017-02-18 08:57:13 +00:00
--- a/src/calibre/ebooks/metadata/archive.py
+++ b/src/calibre/ebooks/metadata/archive.py
@@ -99,7 +99,7 @@ class ArchiveExtract(FileTypePlugin):
description = _('Extract common e-book formats from archive files '
'(ZIP/RAR/7z). Also try to autodetect if they are actually '
'CBZ/CBR/CB7 files.')
- file_types = {'zip', 'rar', '7z'}
+ file_types = {'zip', '7z'}
2016-01-02 17:52:57 +00:00
supported_platforms = ['windows', 'osx', 'linux']
on_import = True