As per the subject: “dev-python/imdbpy” install its locale files in “/usr/imdb/locale” instead of “/usr/share/locale” like the other packages. Reproducible: Always Steps to Reproduce: 1. emerge dev-python/imdbpy Actual Results: Locale files installed in “/usr/imdb”. Expected Results: Locale files should be installed in “/usr/share/locale”.
This happens with both “4.7” and “4.7-r1”. (Sorry for not mentioning it in the original post!) Thank you. Ziyad.
Created attachment 301579 [details, diff] ebuild patch content of /usr/imdb diverted to /usr/share/locale/ Added shebang converter function to install phase. archtester dev-python # ls /usr/share/locale/imdb* /usr/share/locale/imdbpy-en.po /usr/share/locale/imdbpy.pot /usr/share/locale/imdbpy-it.po /usr/share/locale/imdbpy-tr.po
I just applied the attached patch and created a new “dev-python/imdbpy-4.7-r2.ebuild” inside “/usr/local/portage”; but, sadly, it didn’t fix the problem! zamb /tmp $ fgrep /usr/imdb /var/db/pkg/dev-python/imdbpy-4.7-r2/CONTENTS dir /usr/imdb dir /usr/imdb/locale dir /usr/imdb/locale/en dir /usr/imdb/locale/en/LC_MESSAGES obj /usr/imdb/locale/en/LC_MESSAGES/imdbpy.mo d3d5…85bf 1328983268 obj /usr/imdb/locale/imdbpy.pot a945…3481 1295783175 obj /usr/imdb/locale/imdbpy-it.po 8900…a2a6 1295783175 obj /usr/imdb/locale/imdbpy-tr.po a152…9fe2 1295783175 obj /usr/imdb/locale/imdbpy-en.po 515b…e2cf 1295783175 dir /usr/imdb/locale/tr dir /usr/imdb/locale/tr/LC_MESSAGES obj /usr/imdb/locale/tr/LC_MESSAGES/imdbpy.mo 7ca9…cc11 1328983268 dir /usr/imdb/locale/it dir /usr/imdb/locale/it/LC_MESSAGES obj /usr/imdb/locale/it/LC_MESSAGES/imdbpy.mo 93ea…bfed 1328983268 (Hashes has been truncated in above quote, obviously.) Thank you for your hard work. Ziyad.
wrong fix, will do another soon
Please test dev-python/imdbpy-4.8.2 from Progress Overlay. Upstream now installs locale files in a different place...
(Rant: Sorry for the late reply. Why the heck do I need to emerge “dev-lang/python-3.2.3_per20120212” and “dev-python/setuptools-0.6.24” just to test “dev-python/imdbpy-4.8.2”? It installed most of its files inside “/usr/lib/python2.7/site-packages/imdb/” anyway which had nothing to do with “python-3.2.3_pre20120212”!) Okay, glad to report that “/usr/imdb” no longer exist! (However, I don’t see the locale files anywhere else. Does “4.8.2” no longer use any locale files like it did in “4.7”?) Kudos to everyone for the excellent work. And a special “Thank You” to both of you (and anyone else who contributed to this fix). Thank you. Ziyad.
Just installed “dev-python/imdbpy-4.8.2::gentoo” and everything is okay. Locale files are installed in “/usr/lib/python2.7/site-packages/imdb/locale/” (which seems fine, since other Python packages do the same thing). Thanks for your hard work. Ziyad. (P.S. Should I close this bug as Resolved or something?)
Closing as Resolved/Fixed. “Thank you” to all Gentoo contributers.