Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 457686 - media-gfx/graphviz: python-single-r1 conversion
Summary: media-gfx/graphviz: python-single-r1 conversion
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: python-r1-tracker
  Show dependency tree
 
Reported: 2013-02-15 11:14 UTC by Michał Górny
Modified: 2014-02-14 19:54 UTC (History)
1 user (show)

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


Attachments
Patch converting ebuild to -r1 (graphviz-2.28.0.ebuild.diff,1.82 KB, patch)
2013-02-15 11:14 UTC, Michał Górny
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-02-15 11:14:17 UTC
Created attachment 338978 [details, diff]
Patch converting ebuild to -r1

I have prepared a conversion to python-single-r1 eclass which offers our users the ability to explicitly choose the Python implementation they want. I'm attaching a diff.

By the way, is there a good reason why graphviz installs the same files twice? Once in site-packages (where they should be) and then in /usr/lib*/graphviz/python?

If you don't mind me converting further graphics herd packages without asking, please let me know.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-03-03 09:44:10 UTC
That's a long time without a reply. Since it is quite trivial, I will proceed with committing if I get no objections in the next 7 days.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-03-10 18:07:05 UTC
Committed.
Comment 3 Michael Palimaka (kensington) gentoo-dev 2014-02-14 15:56:36 UTC
Is it possible to 'upgrade' the conversion to python-r1? I have distutils consumer package, and it would be nice I guess not to have to pin it to a single implementation.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-02-14 19:54:50 UTC
I doubt it. The package has:

/usr/lib64/graphviz/python/gv.py
/usr/lib64/graphviz/python/gv.pyc
/usr/lib64/graphviz/python/gv.pyo
/usr/lib64/graphviz/python/libgv_python.so

which is kinda non-versionable. However, I'm not sure what purpose those files serve and if they serve any, so you are free to try. Please open a separate bug though.