Summary: | app-misc/gourmet-0.16.0 version bump | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alastair Murray <alastairmurray> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED OBSOLETE | ||
Severity: | enhancement | CC: | m0par |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Alastair Murray
2013-05-13 18:07:15 UTC
Your error is resolved by installing dev-python/python-distutils-extra. However, version 0.16.0 uses elib.intl (https://github.com/dieterv/elib.intl) which is not in in portage. I also renamed 0.15.9 to 0.16.0, modifying the depends to pull in python-distutils-extra, add beautifulsoup, etc, and removed "--disable-modules-check" as it wouldn't build with it. Additionally, I made a butchered ebuild for elib.intl. I still can't get gourmet-0.16.0 to run, but I don't know python. It can't find the files that were installed to /usr/share/gourmet: Traceback (most recent call last): File "/usr/bin/gourmet-2.7", line 15, in <module> from gourmet import GourmetRecipeManager File "./gourmet/__init__.py", line 5, in <module> import gglobals File "./gourmet/gglobals.py", line 269, in <module> add_icon(os.path.join(imagedir,filename),stock_id,label,modifier,keyval) File "./gourmet/gglobals.py", line 254, in add_icon pb = gtk.gdk.pixbuf_new_from_file(file_name) glib.GError: Failed to open file '../gourmet/data/images/AddToShoppingList.png': No such file or directory Just a quick look (again, I don't know python) shows the installed settings.py has a comment that "the following lines are modified at installation time by setup.py", but the installed settings.py is no different than the original settings.py. e.g. base_dir = '..', which may be the source of the problem. (It should be looking for /usr/share/gourmet/data/images/AddToShoppingList.png, instead of ../gourmet/data/images/AddToShoppingList.png) Just a little additional information. Again, I don't know python or even the ebuild system very well, which is readily apparent to anyone who does. I tried changing the 0.15.9 ebuild to use distutils-r1 for 0.16.0 in hopes of creating a functional ebuild for 0.16.0. For whatever reason, neither ebuild (distutils or distutils-r1) properly updates the installed settings.py. If I install with the ebuild(s) I created, the installed settings.py remains the same as the original settings.py. If I build gourmet-0.16.0 from the tarball, and copy it's build/lib/gourmet/settings.py (which does get modified properly) over the emerge-installed settings.py, everything seems to work (reading recipes, importing from web page, printing -- which are all I've tested.). So somewhere setup.py is failing to update settings.py when build as an ebuild. Someone with even remedial python and ebuild knowledge could probably whip a functional ebuild out in no time. Unfortunately, I'm ignorant. Just hoping that this info helps someone qualified to write a functional ebuild a little sooner. Thanks. (I'm done polluting the report, unless I get something figured out by accident.) 0.16.1 has arrived |