me
/
guix
Archived
1
0
Fork 0

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>
master
Brendan Tildesley 2017-05-14 22:38:07 +10:00 committed by Marius Bakke
parent b3399a0985
commit eeba7d3a07
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,7 @@
#:use-module (gnu packages fonts) #:use-module (gnu packages fonts)
#:use-module (gnu packages fontutils) #:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop) #:use-module (gnu packages freedesktop)
#:use-module (gnu packages gnome)
#:use-module (gnu packages glib) #:use-module (gnu packages glib)
#:use-module (gnu packages icu4c) #:use-module (gnu packages icu4c)
#:use-module (gnu packages image) #:use-module (gnu packages image)
@ -83,6 +84,7 @@
(delete-file-recursively "src/unrar") (delete-file-recursively "src/unrar")
(delete-file "src/odf/thumbnail.py") (delete-file "src/odf/thumbnail.py")
(delete-file-recursively "resources/fonts/liberation") (delete-file-recursively "resources/fonts/liberation")
(delete-file-recursively "src/chardet")
(substitute* (find-files "." "\\.py") (substitute* (find-files "." "\\.py")
(("calibre\\.ebooks\\.markdown") "markdown")) (("calibre\\.ebooks\\.markdown") "markdown"))
#t)) #t))
@ -121,6 +123,7 @@
("podofo" ,podofo) ("podofo" ,podofo)
("python" ,python-2) ("python" ,python-2)
("python2-apsw" ,python2-apsw) ("python2-apsw" ,python2-apsw)
("python2-chardet" ,python2-chardet)
("python2-cssselect" ,python2-cssselect) ("python2-cssselect" ,python2-cssselect)
("python2-cssutils" ,python2-cssutils) ("python2-cssutils" ,python2-cssutils)
("python2-dateutil" ,python2-dateutil) ("python2-dateutil" ,python2-dateutil)