Created a new ebuild for pgrouting, which is a PostGIS / PostgreSQL extension to solve routing problems Reproducible: Always
Created attachment 387526 [details] pgrouting-2.0.0.ebuild
Build process according to http://docs.pgrouting.org/2.0/en/doc/src/installation/build.html
Created attachment 387530 [details] pgrouting-2.0.0.ebuild fixed type-o
Ebuild looks good. Please change the PgSQL dependencies to depend on virtual/postgresql and I'll see about getting this committed to the tree.
And the latex use flag should be replaced with pdf.
Created attachment 387830 [details] changed use flag to pdf As for virtual/postgresql there seems to be no such package in portage > emerge -av virtual/postgresql > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > > emerge: there are no ebuilds to satisfy "virtual/postgresql".
Created attachment 387832 [details] pgrouting-2.0.0.ebuild
Created attachment 387880 [details] pgrouting-2.0.0.ebuild Added REQUIRED_USE to the ebuild to make sure doc is enabled with either html or pdf.
@Aaron: Could you also have a look at bug 520694 and maybe add postgis-2.1.4 to the tree as well?
(In reply to Benjamin Börngen-Schmidt from comment #6) > Created attachment 387830 [details] > changed use flag to pdf > > As for virtual/postgresql there seems to be no such package in portage > > > emerge -av virtual/postgresql > > > > These are the packages that would be merged, in order: > > > > Calculating dependencies... done! > > > > emerge: there are no ebuilds to satisfy "virtual/postgresql". Looks like I forgot to commit it when I did dev-db/postgresql. Must have been distracted by someone or something. They're there now. I'll take a look at PostGIS when I get the dependencies updated in the rest of the tree.
I'm currently waiting on other things to finish compiling. Until then, this has been committed to my overlay. https://github.com/titanofold/titanofold-gentoo-x86
Created attachment 388774 [details, diff] no-contrib-when-use-extension.patch I've clean up the ebuild a bit. (Committed to my overlay.) repoman complained about a couple minor things, and I addressed those. dodoc() takes multiple arguments as a list of files to install, so we don't need to loop. I'm not particularly fond of pgrouting installing to contrib/ on 9.1+. I've attached a patch, that hasn't been tested, that should remove that, but I'm unsure as to what the consequences would be. Please look into that as I'm not that familiar with how pgrouting should behave just yet.
I've had a look at your proposed patch as well as pgrouting and to my understanding there shoudn't be a problem with the patch. I also would recommend to get this patch into upstream @ https://github.com/pgRouting/pgrouting/tree/develop
*pgrouting-2.0.0 (16 Nov 2014) 16 Nov 2014; Aaron W. Swenson <titanofold@gentoo.org> +pgrouting-2.0.0.ebuild, +files/no-contrib-when-use-extension.patch, +metadata.xml: New ebuild written by Benjamin Börngen-Schmidt with some tweaks by me. Fixes bug 527058.