Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 590940 - app-misc/gramps-3.4.9-r1 needs sci-geosciences/osm-gps-map[python]
Summary: app-misc/gramps-3.4.9-r1 needs sci-geosciences/osm-gps-map[python]
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Kevin Simmons
Depends on: 592704
  Show dependency tree
Reported: 2016-08-10 13:48 UTC by Ryoto Yayame
Modified: 2016-11-16 09:10 UTC (History)
1 user (show)

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

Ebuild patch for gramps-3.4.9-r1 (gramps-3.4.9-r1.ebuild-require-osm-gps-map-with-python.patch,423 bytes, patch)
2016-08-10 13:48 UTC, Ryoto Yayame
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryoto Yayame 2016-08-10 13:48:20 UTC
Created attachment 442918 [details, diff]
Ebuild patch for gramps-3.4.9-r1

app-misc/gramps-3.4.9 and gramps-3.4.9-r1 depend on sci-geosciences/osm-gps-map in their ebuild, but emerging osm-gps-map without its USE="python" leads to the following warning when starting Gramps:

> OsmGpsMap module not loaded. - Gramps
> OsmGpsMap module not loaded.
> Geography functionality will not be available.

Emerging osm-gps-map with USE="python" solves this.

gramps should thus depend on sci-geosciences/osm-gps-map[python,${PYTHON_USEDEP}] instead of just sci-geosciences/osm-gps-map.

I'm attaching an ebuild patch to this effect. It applies cleanly to both app-misc/gramps-3.4.9 and gramps-3.4.9-r1 (stable version gramps-3.4.5-r1 does not include osm-gps-map in its dependencies currently, and I have no idea if it should or not).
Comment 1 Marek Szuba archtester gentoo-dev 2016-08-10 14:34:25 UTC
A word of warning before any steps are taken: the Python bindings for osm-gps-map used by old versions of gramps are no longer supported by upstream and aren't even available for download from the URL listed in the ebuild; this use flag only still works because the file has since been mirrored to Gentoo servers.
Comment 2 Marek Szuba archtester gentoo-dev 2016-11-16 09:10:49 UTC
The ebuild in question has been removed from the tree, closing the bug as obsolete.