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>
This commit is contained in:
parent
b3399a0985
commit
eeba7d3a07
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue