diff options
author | Brendan Tildesley <brendan.tildesley@openmailbox.org> | 2017-05-14 22:38:07 +1000 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2017-05-19 23:49:21 +0200 |
commit | eeba7d3a076d0a9ed168c500d13afdb129199e56 (patch) | |
tree | 6fb5bb99416dd69cdb23bcc5d0d143743c2dea21 /gnu | |
parent | b3399a0985ffdf978918607b24d3147fcb7708e3 (diff) | |
download | patches-eeba7d3a076d0a9ed168c500d13afdb129199e56.tar patches-eeba7d3a076d0a9ed168c500d13afdb129199e56.tar.gz |
gnu: calibre: Unbundle chardet.
* gnu/packages/ebook.scm (calibre)[source]: Delete bundled chardet.
[inputs]: Add python2-chardet.
Signed-off-by: Marius Bakke <mbakke@fastmail.com>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/ebook.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm index 800b518064..778b17c469 100644 --- a/gnu/packages/ebook.scm +++ b/gnu/packages/ebook.scm @@ -31,6 +31,7 @@ #:use-module (gnu packages fonts) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) + #:use-module (gnu packages gnome) #:use-module (gnu packages glib) #:use-module (gnu packages icu4c) #:use-module (gnu packages image) @@ -83,6 +84,7 @@ (delete-file-recursively "src/unrar") (delete-file "src/odf/thumbnail.py") (delete-file-recursively "resources/fonts/liberation") + (delete-file-recursively "src/chardet") (substitute* (find-files "." "\\.py") (("calibre\\.ebooks\\.markdown") "markdown")) #t)) @@ -121,6 +123,7 @@ ("podofo" ,podofo) ("python" ,python-2) ("python2-apsw" ,python2-apsw) + ("python2-chardet" ,python2-chardet) ("python2-cssselect" ,python2-cssselect) ("python2-cssutils" ,python2-cssutils) ("python2-dateutil" ,python2-dateutil) |