>From e6e476e6a2aff0aa17b1828837cb2ce69714a2fc Mon Sep 17 00:00:00 2001 From: Brendan Tildesley Date: Sun, 14 May 2017 22:38:07 +1000 Subject: [PATCH 08/12] gnu: calibre: Unbundle chardet * gnu/packages/ebook.scm (calibre): Unbundle python2-chardet. --- gnu/packages/ebook.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm index 97e245291..f38dba662 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) @@ -81,6 +82,7 @@ (delete-file-recursively "src/calibre/ebooks/markdown") (delete-file-recursively "src/unrar") (delete-file-recursively "resources/fonts/liberation") + (delete-file-recursively "src/chardet") (substitute* (find-files "." "\\.py") (("calibre\\.ebooks\\.markdown") "markdown")))) (patches (search-patches "calibre-drop-unrar.patch" @@ -118,6 +120,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) -- 2.12.2