Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 744961 - app-text/calibre: Bump to version 5.x
Summary: app-text/calibre: Bump to version 5.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-27 17:11 UTC by Zac Medico
Modified: 2021-07-07 09:58 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zac Medico gentoo-dev 2020-09-27 17:11:06 UTC
This requires Sip v5 (bug 744958):

> SIPing 3 files...
> /usr/bin/python3.8 -c import os; os.chdir('/var/tmp/portage/app-text/calibre-5.0.1/work/calibre-5.0.1/build/pyqt/pictureflow'); from sipbuild.tools.build import main; main(); --verbose --no-
> make --qmake /usr/lib64/qt5/bin/qmake
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> ModuleNotFoundError: No module named 'sipbuild'
Comment 1 Christophe PEREZ 2020-10-25 21:35:10 UTC
Can we hope a calibre 5.x ?
Or is it more reasonable to look for another solution than calibre ?
Comment 2 Zac Medico gentoo-dev 2020-10-27 04:45:50 UTC
(In reply to Christophe PEREZ from comment #1)
> Can we hope a calibre 5.x ?
> Or is it more reasonable to look for another solution than calibre ?

Yes, but first we need to get a sip 5.x ebuild into gentoo. From the looks of this, it could be easy to do:

https://github.com/archlinux/svntogit-packages/blob/packages/sip5/trunk/PKGBUILD
Comment 3 Larry the Git Cow gentoo-dev 2020-10-31 22:00:21 UTC
The bug has been closed via the following commit(s):

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

commit d74e998d50080bf540ea722e68c20216772c9447
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2020-10-31 21:47:48 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2020-10-31 22:00:15 +0000

    app-text/calibre: Bump to version 5.4.2
    
    Closes: https://bugs.gentoo.org/744961
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 app-text/calibre/Manifest             |   2 +
 app-text/calibre/calibre-5.4.2.ebuild | 263 ++++++++++++++++++++++++++++++++++
 2 files changed, 265 insertions(+)
Comment 4 Zac Medico gentoo-dev 2020-10-31 22:00:52 UTC
I've patched it to use SIP v4 for now.
Comment 5 Christophe PEREZ 2020-11-04 19:46:59 UTC
(In reply to Zac Medico from comment #4)
> I've patched it to use SIP v4 for now.

I don't understand why I can't update sip :

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

dev-python/sip:0

  (dev-python/sip-4.19.24:0/12::gentoo, ebuild scheduled for merge) USE="-doc" ABI_X86="(64)" PYTHON_TARGETS="python3_7 -python3_6 -python3_8 (-python3_9)" conflicts with
    ~dev-python/sip-4.19.22[python_targets_python3_7(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] required by (dev-python/PyQtWebEngine-5.14.0:0/0::gentoo, installed) USE="-debug" ABI_X86="(64)" PYTHON_TARGETS="python3_7 -python3_6 -python3_8 (-python3_9)"
Comment 6 Christophe PEREZ 2020-11-04 19:51:29 UTC
(In reply to Christophe PEREZ from comment #5)
> (In reply to Zac Medico from comment #4)
> > I've patched it to use SIP v4 for now.
> 
> I don't understand why I can't update sip :

Surely because of dev-python/PyQtWebEngine-5.14.0
# grep dev-python/sip $(equery which PyQtWebEngine)
        ~dev-python/sip-4.19.22[${PYTHON_USEDEP}]
Comment 7 Marcus Comstedt 2021-07-07 09:58:26 UTC
PyQtWebEngine-5.15.2 changed the dependency to say >=dev-python/sip-4.19.22
instead, so it will build with sip-5.  Can we please remove the <-5 modifier
from calibre's DEPEND now?