sci-geosciences/osm2pgsql changed its VCS from svn to git,, it is now hosted at github. The attached ebuild works for me, while the old one won't find the svn repository any more. Reproducible: Always
Created attachment 344612 [details] new ebuild The patch leading to this ebuild: --- /usr/portage/sci-geosciences/osm2pgsql/osm2pgsql-99999999.ebuild 2012-05-24 18:31:25.000000000 +0200 +++ osm2pgsql-99999999.ebuild 2013-04-06 11:35:18.000000000 +0200 @@ -4,10 +4,10 @@ EAPI=4 -inherit autotools subversion +inherit autotools git + +EGIT_REPO_URI="git://github.com/openstreetmap/osm2pgsql.git" -ESVN_REPO_URI="http://svn.openstreetmap.org/applications/utils/export/${PN}/" -ESVN_PROJECT="${PN}" DESCRIPTION="Converts OSM data to SQL and insert into PostgreSQL db" HOMEPAGE="http://wiki.openstreetmap.org/wiki/Osm2pgsql" @@ -31,6 +31,5 @@ DOCS=( README 900913.sql ) src_prepare() { - esvn_clean eautoreconf }
Other than: > * git.eclass is deprecated. > * Please update your ebuilds to use git-2 instead. For details, see > * http://archives.gentoo.org/gentoo-dev/msg_b7ba363cae580845819ae3501fb157e9.xml and the fact that: > dev-libs/protobuf-c and dev-libs/protobuf are highly recommended to import PBF files, ... the code inside the git repository compiles fine.
Created attachment 344768 [details] Newer ebuild (In reply to comment #2) > > * Please update your ebuilds to use git-2 instead. > > dev-libs/protobuf-c and dev-libs/protobuf Thanks for the hints, I switched to git-2 (actually I was wondering whether to use git or git-2, maybe this could be mentioned in its manpage? http://devmanual.gentoo.org/eclass-reference/git-2.eclass/index.html) and incorporated the changes from bug #427668. Still compiles here.
Comment on attachment 344768 [details] Newer ebuild --- osm2pgsql-99999999.ebuild 2012-05-29 02:39:23.000000000 +0200 +++ - 2013-04-08 13:24:08.235763824 +0200 @@ -4,10 +4,10 @@ EAPI=4 -inherit autotools subversion +inherit autotools git-2 + +EGIT_REPO_URI="git://github.com/openstreetmap/osm2pgsql.git" -ESVN_REPO_URI="http://svn.openstreetmap.org/applications/utils/export/${PN}/" -ESVN_PROJECT="${PN}" DESCRIPTION="Converts OSM data to SQL and insert into PostgreSQL db" HOMEPAGE="http://wiki.openstreetmap.org/wiki/Osm2pgsql" @@ -16,7 +16,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="" -IUSE="" +IUSE="+pbf" DEPEND=" app-arch/bzip2 @@ -25,12 +25,12 @@ sci-libs/proj sys-libs/zlib dev-db/postgresql-base + pbf? ( dev-libs/protobuf-c ) " RDEPEND="${DEPEND}" DOCS=( README 900913.sql ) src_prepare() { - esvn_clean eautoreconf }
I've commited it, because I need this one too.