Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 622856

Summary: app-text/calibre-3.* ebuild missing dependency to work with RAR files
Product: Gentoo Linux Reporter: John J. Aylward <john>
Component: Current packagesAssignee: Zac Medico <zmedico>
Status: RESOLVED FIXED    
Severity: normal CC: arthur, dschridde+gentoobugs, eschwartz93, john, jstein, zmedico
Priority: Normal Keywords: EBUILD, PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=177402
https://github.com/gentoo/gentoo/pull/33683
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 622854    
Bug Blocks:    
Attachments: calibre-3.1.1-r3.ebuild

Description John J. Aylward 2017-06-27 16:00:04 UTC
Created attachment 478238 [details]
calibre-3.1.1-r3.ebuild

Calibre 3.0 introduced a new dependency on a pypi unrardll (see https://bugs.gentoo.org/show_bug.cgi?id=622854 and https://github.com/kovidgoyal/build-calibre/blob/master/scripts/sources.json).

The attached ebuild adds in the dependency.
Comment 1 John J. Aylward 2017-10-17 12:38:22 UTC
this is still missing in the latest Gentoo release of Calibre (3.8.0). For people who use Calibre to track comics and Manga, this is an important feature.
Comment 2 David Duchesne 2022-02-09 18:43:39 UTC
Hello, any news ?
I noticed the same issue when trying to open a cbr file :

  File "/usr/lib64/calibre/calibre/__init__.py", line 207, in extract
    extractor(path, dir)
  File "/usr/lib64/calibre/calibre/utils/unrar.py", line 54, in extract
    from unrardll import extract
ModuleNotFoundError: No module named 'unrardll'

Thanks
Comment 3 Larry the Git Cow gentoo-dev 2023-10-24 18:37:29 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c0d456347e08ef160fede1a6f5b6ee20694463f

commit 2c0d456347e08ef160fede1a6f5b6ee20694463f
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2023-10-23 18:33:26 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-10-24 18:34:48 +0000

    dev-python/unrardll: new package, add 0.1.7
    
    reverse dependency of app-text/calibre
    
    Closes: https://bugs.gentoo.org/622854
    Bug: https://bugs.gentoo.org/622856
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/unrardll/Manifest              |  1 +
 dev-python/unrardll/metadata.xml          | 16 +++++++++++++++
 dev-python/unrardll/unrardll-0.1.7.ebuild | 33 +++++++++++++++++++++++++++++++
 3 files changed, 50 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2023-11-08 16:26:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5ac4e637b852b6028d6e9a7aacdd833361ec1e7

commit e5ac4e637b852b6028d6e9a7aacdd833361ec1e7
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2023-10-24 19:39:44 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2023-11-08 16:26:37 +0000

    app-text/calibre: add USE dependency for unrar-based ebooks
    
    unrardll is now packaged.
    
    n.b. This USE + dependency is required for the default upstream
    experience, but is nonetheless being added as default disabled. It
    requires non-free software (app-arch/unrar) and is a relatively niche
    use case. It is important that users have the *option* to use it if they
    want, but my judgment is that it is a bad tradeoff to push it on them
    by default when a better option exists.
    
    Closes: https://bugs.gentoo.org/622856
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 app-text/calibre/calibre-6.29.0.ebuild | 9 +++++----
 app-text/calibre/metadata.xml          | 1 +
 2 files changed, 6 insertions(+), 4 deletions(-)