commit:     2570d9f509a9b92dcdc8cdb0de492597bda202ff
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Sat Mar 22 23:15:13 2014 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Sat Mar 22 23:53:12 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=2570d9f5

Address ebuild-issues: Use zip-snapshot instead of repo-tag, add missing die, 
fix typo in description.

---
 sci-physics/vgm/ChangeLog       |  6 +++++-
 sci-physics/vgm/vgm-3.06.ebuild | 16 ++++++++++------
 2 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/sci-physics/vgm/ChangeLog b/sci-physics/vgm/ChangeLog
index 21a947c..e02c874 100644
--- a/sci-physics/vgm/ChangeLog
+++ b/sci-physics/vgm/ChangeLog
@@ -1,7 +1,11 @@
 # ChangeLog for sci-physics/vgm
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  22 Mar 2014; <[email protected]> vgm-3.06.ebuild:
+  Address ebuild-issues: Use zip-snapshot instead of repo-tag, add missing die,
+  fix typo in description. 
+
   21 Jan 2013; Sébastien Fabbro <[email protected]> vgm-3.06.ebuild:
   Updated minimum geant4 version, thanks Oliver Freyermuth
 

diff --git a/sci-physics/vgm/vgm-3.06.ebuild b/sci-physics/vgm/vgm-3.06.ebuild
index 83b5fef..efd9cc4 100644
--- a/sci-physics/vgm/vgm-3.06.ebuild
+++ b/sci-physics/vgm/vgm-3.06.ebuild
@@ -4,14 +4,16 @@
 
 EAPI=5
 
-inherit cmake-utils versionator subversion
+inherit cmake-utils versionator
 
-ESVN_REPO_URI="https://vgm.svn.sourceforge.net/svnroot/${PN}/tags/v$(replace_all_version_separators
 '-')/${PN}"
-ESVN_PROJECT="${PN}.${PV}"
+#ESVN_REPO_URI="https://vgm.svn.sourceforge.net/svnroot/${PN}/tags/v$(replace_all_version_separators
 '-')/${PN}"
+#ESVN_PROJECT="${PN}.${PV}"
 
-DESCRIPTION="Virtual Geometry Model for High Enegery Physics Experiments"
+TAG_VER="${PN}-code-731-tags-v$(replace_all_version_separators '-')"
+
+DESCRIPTION="Virtual Geometry Model for High Energy Physics Experiments"
 HOMEPAGE="http://ivana.home.cern.ch/ivana/VGM.html";
-SRC_URI=""
+SRC_URI="http://sourceforge.net/code-snapshots/svn/v/vg/vgm/code/${TAG_VER}.zip";
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -27,6 +29,8 @@ DEPEND="${RDEPEND}
        doc? ( app-doc/doxygen[dot] )
        test? ( geant4? ( xml? ( >=sci-physics/geant-4.9.6[gdml] ) ) )"
 
+S=${WORKDIR}/${TAG_VER}/${PN}
+
 src_configure() {
        local mycmakeargs=(
                -DCLHEP_DIR="${EROOT}usr"
@@ -58,7 +62,7 @@ src_install() {
                insinto /usr/share/doc/${PF}
                doins -r examples
        fi
-       cd doc
+       cd doc || die
        dodoc README todo.txt VGMhistory.txt VGM.html VGMversions.html
        use doc && dohtml -r html/*
 }

Reply via email to