Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 554766 - net-print/hplip add python 3 support
Summary: net-print/hplip add python 3 support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-13 16:15 UTC by Virgil Dupras (RETIRED)
Modified: 2016-06-02 17:59 UTC (History)
1 user (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 Virgil Dupras (RETIRED) gentoo-dev 2015-07-13 16:15:25 UTC
hplip 3.15+ supports python 3. Could we reflect that in the ebuild? I've made a proof of concept at https://github.com/hsoft/personal-overlay/blob/fc990501b227a07b6903dd39425205935a0d7751/net-print/hplip/hplip-3.15.6.ebuild

The ebuild is the same as in Gentoo's repo, except for the "python3_4" addition in PYTHON_COMPAT and the dependency change for pyobject (we have to depend on pyobject2 if we're under python 2 and pyobject3 if we're under python 3). The result seems to work on my machine.

Reproducible: Always
Comment 1 Daniel Pielmeier gentoo-dev 2015-07-14 13:40:30 UTC
Until now I did not add python3 support because not all dependencies did support python3. This seems to have changed but there is still notify-python which has no python3 support.

Did you test with qt4 use flag enabled as this will pull in notify-python.
Comment 2 Virgil Dupras (RETIRED) gentoo-dev 2015-07-14 14:25:50 UTC
I don't use the qt4 ui, no, so I didn't try it.

python-notify doesn't look like it's ever going to be updated for python 3, so if we wait for that, we're in for a long wait. It looks like a stale lib. Since it's an optional dependency, can we simply make the "libnotify" flag mutually exclusive with python 3?
Comment 3 Daniel Pielmeier gentoo-dev 2016-06-02 17:59:17 UTC
Fixed in Git. Thanks for the report.
I dropped the dependency on notify-python. Notifications are still there but not that beautiful.