public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-physics/geant-vmc/
@ 2013-01-18 23:59 Sebastien Fabbro
  0 siblings, 0 replies; 14+ messages in thread
From: Sebastien Fabbro @ 2013-01-18 23:59 UTC (permalink / raw
  To: gentoo-commits

commit:     eb05685486aacd967f30d4e77f908dd9ad13c26c
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 18 23:37:31 2013 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Fri Jan 18 23:37:31 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=eb056854

sci-physics/geant-vmc: Initial import

Package-Manager: portage-2.2.01.21580-prefix

---
 sci-physics/geant-vmc/ChangeLog               |   10 ++++
 sci-physics/geant-vmc/geant-vmc-3.1.14.ebuild |   39 ++++++++++++++++
 sci-physics/geant-vmc/geant-vmc-4.2.14.ebuild |   59 +++++++++++++++++++++++++
 sci-physics/geant-vmc/metadata.xml            |   19 ++++++++
 4 files changed, 127 insertions(+), 0 deletions(-)

diff --git a/sci-physics/geant-vmc/ChangeLog b/sci-physics/geant-vmc/ChangeLog
new file mode 100644
index 0000000..9458177
--- /dev/null
+++ b/sci-physics/geant-vmc/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-physics/geant-vmc
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*geant-vmc-3.1.14 (18 Jan 2013)
+*geant-vmc-4.2.14 (18 Jan 2013)
+
+  18 Jan 2013; Sébastien Fabbro <bicatali@gentoo.org> +geant-vmc-3.1.14.ebuild,
+  +geant-vmc-4.2.14.ebuild, +metadata.xml:
+  sci-physics/geant-vmc: Initial import

diff --git a/sci-physics/geant-vmc/geant-vmc-3.1.14.ebuild b/sci-physics/geant-vmc/geant-vmc-3.1.14.ebuild
new file mode 100644
index 0000000..24615b3
--- /dev/null
+++ b/sci-physics/geant-vmc/geant-vmc-3.1.14.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit fortran-2 versionator
+
+MPV=$(get_version_component_range 2-)
+
+DESCRIPTION="Virtual Monte Carlo Geant3 implementation"
+HOMEPAGE="http://root.cern.ch/root/vmc/VirtualMC.html"
+SRC_URI="ftp://root.cern.ch/root/vmc/geant321+_vmc.${MPV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="3"
+
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples"
+
+RDEPEND="
+	sci-physics/root[pythia6]
+	!sci-physics/geant:3"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/geant3"
+
+src_install() {
+	dolib.so lib/*/*.so
+	insinto /usr/include/TGeant3
+	doins TGeant3/TGeant3.h
+	insinto /usr/include/geant321
+	doins geant321/*.inc
+
+	if use examples; then
+		insinto /usr/shared/doc/${PF}
+		doins -r examples
+	fi
+}

diff --git a/sci-physics/geant-vmc/geant-vmc-4.2.14.ebuild b/sci-physics/geant-vmc/geant-vmc-4.2.14.ebuild
new file mode 100644
index 0000000..bd8c303
--- /dev/null
+++ b/sci-physics/geant-vmc/geant-vmc-4.2.14.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit versionator
+
+MPV=$(get_version_component_range 2-)
+
+DESCRIPTION="Virtual Monte Carlo Geant4 implementation"
+HOMEPAGE="http://root.cern.ch/root/vmc/VirtualMC.html"
+SRC_URI="ftp://root.cern.ch/root/vmc/geant4_vmc.${MPV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="4"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples vgm"
+
+RDEPEND="
+	sci-physics/root
+	sci-physics/geant:4[opengl,geant3,examples?]
+	vgm? ( sci-physics/vgm )"
+DEPEND="${RDEPEND}
+	doc? ( app-doc/doxygen )"
+
+S="${WORKDIR}/geant4_vmc"
+
+src_compile() {
+	use vgm && export USE_VGM=1
+	local dirs="g4root source"
+	use examples && dirs+=" examples"
+	local d
+	for d in ${dirs}; do
+		pushd ${d} > /dev/null
+		emake
+		use doc && doxygen
+		popd > /dev/null
+	done
+}
+
+src_test() {
+	cd examples
+	emake
+	./run_suite.sh || die
+	use examples || emake clean
+}
+
+src_install() {
+	dolib.so lib/tgt_*/{libg4root,libgeant4vmc}.so
+	insinto /usr
+	doins -r include
+	dodoc README history version_number
+	use doc && dohtml -r Geant4VMC.html doc/*
+	if use examples; then
+		insinto /usr/share/doc/${PF}
+		doins -r examples
+	fi
+}

diff --git a/sci-physics/geant-vmc/metadata.xml b/sci-physics/geant-vmc/metadata.xml
new file mode 100644
index 0000000..a5a0c84
--- /dev/null
+++ b/sci-physics/geant-vmc/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci-physics</herd>
+<longdescription lang="en">
+  The Virtual Monte Carlo (VMC) allows to run different simulation
+  Monte Carlo without changing the user code and therefore the input
+  and output format as well as the geometry and detector response
+  definition.
+  The core of the VMC is the category of classes vmc in ROOT. It
+  provides a set of interfaces which completely decouple the
+  dependencies between the user code and the concrete Monte Carlo. 
+  Geant3 VMC (C++) is provided within a single package together with
+  GEANT3 (Fortran) - geant3.
+</longdescription>
+<use>
+  <flag name="vgm">Enable the Virtual Geometry Model (<pkg>sci-physics/vgm</pkg>)</flag>
+</use>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-physics/geant-vmc/
@ 2013-01-21 17:33 Sebastien Fabbro
  0 siblings, 0 replies; 14+ messages in thread
From: Sebastien Fabbro @ 2013-01-21 17:33 UTC (permalink / raw
  To: gentoo-commits

commit:     abe2c3076240a6c837ee5c2bb92fafb8f26cd778
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 21 17:33:20 2013 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Mon Jan 21 17:33:20 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=abe2c307

sci-physics/geant-vmc: source geant4 shell script before compiling

Package-Manager: portage-2.2.01.21580-prefix

---
 sci-physics/geant-vmc/ChangeLog               |    3 +++
 sci-physics/geant-vmc/geant-vmc-4.2.14.ebuild |    3 ++-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/sci-physics/geant-vmc/ChangeLog b/sci-physics/geant-vmc/ChangeLog
index 9458177..edfd960 100644
--- a/sci-physics/geant-vmc/ChangeLog
+++ b/sci-physics/geant-vmc/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  21 Jan 2013; Sébastien Fabbro <bicatali@gentoo.org> geant-vmc-4.2.14.ebuild:
+  sci-physics/geant-vmc: source geant4 shell script before compiling
+
 *geant-vmc-3.1.14 (18 Jan 2013)
 *geant-vmc-4.2.14 (18 Jan 2013)
 

diff --git a/sci-physics/geant-vmc/geant-vmc-4.2.14.ebuild b/sci-physics/geant-vmc/geant-vmc-4.2.14.ebuild
index bd8c303..60e2b57 100644
--- a/sci-physics/geant-vmc/geant-vmc-4.2.14.ebuild
+++ b/sci-physics/geant-vmc/geant-vmc-4.2.14.ebuild
@@ -31,6 +31,7 @@ src_compile() {
 	local dirs="g4root source"
 	use examples && dirs+=" examples"
 	local d
+	source $(ls -1 "${EROOT}"usr/share/Geant4-*/geant4make/geant4make.sh) || die
 	for d in ${dirs}; do
 		pushd ${d} > /dev/null
 		emake
@@ -43,7 +44,6 @@ src_test() {
 	cd examples
 	emake
 	./run_suite.sh || die
-	use examples || emake clean
 }
 
 src_install() {
@@ -54,6 +54,7 @@ src_install() {
 	use doc && dohtml -r Geant4VMC.html doc/*
 	if use examples; then
 		insinto /usr/share/doc/${PF}
+		emake -C examples clean
 		doins -r examples
 	fi
 }


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-physics/geant-vmc/
@ 2013-06-05 17:17 Sebastien Fabbro
  0 siblings, 0 replies; 14+ messages in thread
From: Sebastien Fabbro @ 2013-06-05 17:17 UTC (permalink / raw
  To: gentoo-commits

commit:     6185284f86199636d2feaf215a291c68c6c0d061
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  5 17:16:38 2013 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Wed Jun  5 17:16:38 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=6185284f

sci-physics/geant-vmc: Version bumps

Package-Manager: portage-2.2.01.21938-prefix

---
 sci-physics/geant-vmc/ChangeLog                                    | 7 +++++++
 .../{geant-vmc-3.1.14.ebuild => geant-vmc-3.1.15a.ebuild}          | 0
 .../{geant-vmc-4.2.14.ebuild => geant-vmc-4.2.14a.ebuild}          | 2 +-
 3 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/sci-physics/geant-vmc/ChangeLog b/sci-physics/geant-vmc/ChangeLog
index edfd960..073cddd 100644
--- a/sci-physics/geant-vmc/ChangeLog
+++ b/sci-physics/geant-vmc/ChangeLog
@@ -2,6 +2,13 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*geant-vmc-3.1.15a (05 Jun 2013)
+*geant-vmc-4.2.14a (05 Jun 2013)
+
+  05 Jun 2013; Sébastien Fabbro <bicatali@gentoo.org> +geant-vmc-3.1.15a.ebuild,
+  +geant-vmc-4.2.14a.ebuild, -geant-vmc-3.1.14.ebuild, -geant-vmc-4.2.14.ebuild:
+  sci-physics/geant-vmc: Version bumps
+
   21 Jan 2013; Sébastien Fabbro <bicatali@gentoo.org> geant-vmc-4.2.14.ebuild:
   sci-physics/geant-vmc: source geant4 shell script before compiling
 

diff --git a/sci-physics/geant-vmc/geant-vmc-3.1.14.ebuild b/sci-physics/geant-vmc/geant-vmc-3.1.15a.ebuild
similarity index 100%
rename from sci-physics/geant-vmc/geant-vmc-3.1.14.ebuild
rename to sci-physics/geant-vmc/geant-vmc-3.1.15a.ebuild

diff --git a/sci-physics/geant-vmc/geant-vmc-4.2.14.ebuild b/sci-physics/geant-vmc/geant-vmc-4.2.14a.ebuild
similarity index 95%
rename from sci-physics/geant-vmc/geant-vmc-4.2.14.ebuild
rename to sci-physics/geant-vmc/geant-vmc-4.2.14a.ebuild
index 60e2b57..801bbb0 100644
--- a/sci-physics/geant-vmc/geant-vmc-4.2.14.ebuild
+++ b/sci-physics/geant-vmc/geant-vmc-4.2.14a.ebuild
@@ -19,7 +19,7 @@ IUSE="doc examples vgm"
 
 RDEPEND="
 	sci-physics/root
-	sci-physics/geant:4[opengl,geant3,examples?]
+	>=sci-physics/geant-4.9.6[opengl,geant3,examples?]
 	vgm? ( sci-physics/vgm )"
 DEPEND="${RDEPEND}
 	doc? ( app-doc/doxygen )"


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-physics/geant-vmc/
@ 2013-11-26  5:33 Sebastien Fabbro
  0 siblings, 0 replies; 14+ messages in thread
From: Sebastien Fabbro @ 2013-11-26  5:33 UTC (permalink / raw
  To: gentoo-commits

commit:     87665b0ad2475dbb3932960687ce693150c23437
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 26 05:32:28 2013 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Tue Nov 26 05:32:28 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=87665b0a

sci-physics/geant-vmc: Version bump

Package-Manager: portage-2.2.7-prefix

---
 sci-physics/geant-vmc/ChangeLog                                     | 6 ++++++
 .../{geant-vmc-4.2.14a.ebuild => geant-vmc-4.2.14b.ebuild}          | 0
 2 files changed, 6 insertions(+)

diff --git a/sci-physics/geant-vmc/ChangeLog b/sci-physics/geant-vmc/ChangeLog
index 073cddd..f555d28 100644
--- a/sci-physics/geant-vmc/ChangeLog
+++ b/sci-physics/geant-vmc/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*geant-vmc-4.2.14b (26 Nov 2013)
+
+  26 Nov 2013; Sébastien Fabbro <bicatali@gentoo.org> +geant-vmc-4.2.14b.ebuild,
+  -geant-vmc-4.2.14a.ebuild:
+  sci-physics/geant-vmc: Version bump
+
 *geant-vmc-3.1.15a (05 Jun 2013)
 *geant-vmc-4.2.14a (05 Jun 2013)
 

diff --git a/sci-physics/geant-vmc/geant-vmc-4.2.14a.ebuild b/sci-physics/geant-vmc/geant-vmc-4.2.14b.ebuild
similarity index 100%
rename from sci-physics/geant-vmc/geant-vmc-4.2.14a.ebuild
rename to sci-physics/geant-vmc/geant-vmc-4.2.14b.ebuild


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-physics/geant-vmc/
@ 2014-01-06 17:41 Justin Lecher
  0 siblings, 0 replies; 14+ messages in thread
From: Justin Lecher @ 2014-01-06 17:41 UTC (permalink / raw
  To: gentoo-commits

commit:     23a9e29bee0afc45b8cd64d8a21a4fbb0f7b55f4
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Mon Jan  6 17:25:52 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Jan  6 17:25:52 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=23a9e29b

 *geant-vmc-4.2.15 (06 Jan 2014)
   06 Jan 2014; <o.freyermuth <AT> googlemail.com> geant-vmc-4.2.14b.ebuild,
   +geant-vmc-4.2.15.ebuild:
   Version bump to 2.15 which builds with Geant 4.10.00 (note #360287 and
   #496678), make 2.14b DEPEND on <sci-physics/geant-4.10.00

---
 sci-physics/geant-vmc/ChangeLog                                  | 9 ++++++++-
 sci-physics/geant-vmc/geant-vmc-4.2.14b.ebuild                   | 3 ++-
 .../{geant-vmc-4.2.14b.ebuild => geant-vmc-4.2.15.ebuild}        | 2 +-
 3 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/sci-physics/geant-vmc/ChangeLog b/sci-physics/geant-vmc/ChangeLog
index f555d28..7eb7657 100644
--- a/sci-physics/geant-vmc/ChangeLog
+++ b/sci-physics/geant-vmc/ChangeLog
@@ -1,7 +1,14 @@
 # ChangeLog for sci-physics/geant-vmc
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*geant-vmc-4.2.15 (06 Jan 2014)
+
+  06 Jan 2014; <o.freyermuth@googlemail.com> geant-vmc-4.2.14b.ebuild,
+  +geant-vmc-4.2.15.ebuild:
+  Version bump to 2.15 which builds with Geant 4.10.00 (note #360287 and
+  #496678), make 2.14b DEPEND on <sci-physics/geant-4.10.00 . 
+
 *geant-vmc-4.2.14b (26 Nov 2013)
 
   26 Nov 2013; Sébastien Fabbro <bicatali@gentoo.org> +geant-vmc-4.2.14b.ebuild,

diff --git a/sci-physics/geant-vmc/geant-vmc-4.2.14b.ebuild b/sci-physics/geant-vmc/geant-vmc-4.2.14b.ebuild
index 801bbb0..d7efd9d 100644
--- a/sci-physics/geant-vmc/geant-vmc-4.2.14b.ebuild
+++ b/sci-physics/geant-vmc/geant-vmc-4.2.14b.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -20,6 +20,7 @@ IUSE="doc examples vgm"
 RDEPEND="
 	sci-physics/root
 	>=sci-physics/geant-4.9.6[opengl,geant3,examples?]
+	<sci-physics/geant-4.10.00
 	vgm? ( sci-physics/vgm )"
 DEPEND="${RDEPEND}
 	doc? ( app-doc/doxygen )"

diff --git a/sci-physics/geant-vmc/geant-vmc-4.2.14b.ebuild b/sci-physics/geant-vmc/geant-vmc-4.2.15.ebuild
similarity index 96%
copy from sci-physics/geant-vmc/geant-vmc-4.2.14b.ebuild
copy to sci-physics/geant-vmc/geant-vmc-4.2.15.ebuild
index 801bbb0..10d38e4 100644
--- a/sci-physics/geant-vmc/geant-vmc-4.2.14b.ebuild
+++ b/sci-physics/geant-vmc/geant-vmc-4.2.15.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-physics/geant-vmc/
@ 2014-01-06 17:41 Justin Lecher
  0 siblings, 0 replies; 14+ messages in thread
From: Justin Lecher @ 2014-01-06 17:41 UTC (permalink / raw
  To: gentoo-commits

commit:     4965054a93b9dd9f630a31b290e20c799dc1cf94
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  6 17:41:00 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Jan  6 17:41:00 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=4965054a

sci-physics/geant-vmc: Add missing die

Package-Manager: portage-2.2.8

---
 sci-physics/geant-vmc/ChangeLog                |  4 ++++
 sci-physics/geant-vmc/geant-vmc-4.2.14b.ebuild | 11 ++++++-----
 sci-physics/geant-vmc/geant-vmc-4.2.15.ebuild  | 11 ++++++-----
 sci-physics/geant-vmc/metadata.xml             | 10 +++++-----
 4 files changed, 21 insertions(+), 15 deletions(-)

diff --git a/sci-physics/geant-vmc/ChangeLog b/sci-physics/geant-vmc/ChangeLog
index 7eb7657..8f81bf9 100644
--- a/sci-physics/geant-vmc/ChangeLog
+++ b/sci-physics/geant-vmc/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  06 Jan 2014; Justin Lecher <jlec@gentoo.org> geant-vmc-4.2.14b.ebuild,
+  geant-vmc-4.2.15.ebuild, metadata.xml:
+  Add missing die
+
 *geant-vmc-4.2.15 (06 Jan 2014)
 
   06 Jan 2014; <o.freyermuth@googlemail.com> geant-vmc-4.2.14b.ebuild,

diff --git a/sci-physics/geant-vmc/geant-vmc-4.2.14b.ebuild b/sci-physics/geant-vmc/geant-vmc-4.2.14b.ebuild
index d7efd9d..5e39bf8 100644
--- a/sci-physics/geant-vmc/geant-vmc-4.2.14b.ebuild
+++ b/sci-physics/geant-vmc/geant-vmc-4.2.14b.ebuild
@@ -34,23 +34,24 @@ src_compile() {
 	local d
 	source $(ls -1 "${EROOT}"usr/share/Geant4-*/geant4make/geant4make.sh) || die
 	for d in ${dirs}; do
-		pushd ${d} > /dev/null
+		pushd ${d} > /dev/null || die
 		emake
-		use doc && doxygen
+		if use doc; then
+			doxygen || die
+		fi
 		popd > /dev/null
 	done
 }
 
 src_test() {
-	cd examples
+	cd examples || die
 	emake
 	./run_suite.sh || die
 }
 
 src_install() {
 	dolib.so lib/tgt_*/{libg4root,libgeant4vmc}.so
-	insinto /usr
-	doins -r include
+	doheader include/*
 	dodoc README history version_number
 	use doc && dohtml -r Geant4VMC.html doc/*
 	if use examples; then

diff --git a/sci-physics/geant-vmc/geant-vmc-4.2.15.ebuild b/sci-physics/geant-vmc/geant-vmc-4.2.15.ebuild
index 10d38e4..c350288 100644
--- a/sci-physics/geant-vmc/geant-vmc-4.2.15.ebuild
+++ b/sci-physics/geant-vmc/geant-vmc-4.2.15.ebuild
@@ -33,23 +33,24 @@ src_compile() {
 	local d
 	source $(ls -1 "${EROOT}"usr/share/Geant4-*/geant4make/geant4make.sh) || die
 	for d in ${dirs}; do
-		pushd ${d} > /dev/null
+		pushd ${d} > /dev/null || die
 		emake
-		use doc && doxygen
+		if use doc; then
+			doxygen || die
+		fi
 		popd > /dev/null
 	done
 }
 
 src_test() {
-	cd examples
+	cd examples || die
 	emake
 	./run_suite.sh || die
 }
 
 src_install() {
 	dolib.so lib/tgt_*/{libg4root,libgeant4vmc}.so
-	insinto /usr
-	doins -r include
+	doheader include/*
 	dodoc README history version_number
 	use doc && dohtml -r Geant4VMC.html doc/*
 	if use examples; then

diff --git a/sci-physics/geant-vmc/metadata.xml b/sci-physics/geant-vmc/metadata.xml
index a5a0c84..1bbc127 100644
--- a/sci-physics/geant-vmc/metadata.xml
+++ b/sci-physics/geant-vmc/metadata.xml
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>sci-physics</herd>
-<longdescription lang="en">
+  <herd>sci-physics</herd>
+  <longdescription lang="en">
   The Virtual Monte Carlo (VMC) allows to run different simulation
   Monte Carlo without changing the user code and therefore the input
   and output format as well as the geometry and detector response
@@ -13,7 +13,7 @@
   Geant3 VMC (C++) is provided within a single package together with
   GEANT3 (Fortran) - geant3.
 </longdescription>
-<use>
-  <flag name="vgm">Enable the Virtual Geometry Model (<pkg>sci-physics/vgm</pkg>)</flag>
-</use>
+  <use>
+    <flag name="vgm">Enable the Virtual Geometry Model (<pkg>sci-physics/vgm</pkg>)</flag>
+  </use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-physics/geant-vmc/
@ 2014-02-03  1:39 Sebastien Fabbro
  0 siblings, 0 replies; 14+ messages in thread
From: Sebastien Fabbro @ 2014-02-03  1:39 UTC (permalink / raw
  To: gentoo-commits

commit:     e73ec8e364662db23944ef9d059f44a80a63b225
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Sun Feb  2 21:52:37 2014 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Sun Feb  2 21:52:37 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=e73ec8e3

Make header installation work again, include/ contains folders only so doheader must recurse (got broken in 4965054a93b9dd9f630a31b290e20c799dc1cf94 )

---
 sci-physics/geant-vmc/ChangeLog                | 5 +++++
 sci-physics/geant-vmc/geant-vmc-4.2.14b.ebuild | 2 +-
 sci-physics/geant-vmc/geant-vmc-4.2.15.ebuild  | 2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/sci-physics/geant-vmc/ChangeLog b/sci-physics/geant-vmc/ChangeLog
index 8f81bf9..bf52756 100644
--- a/sci-physics/geant-vmc/ChangeLog
+++ b/sci-physics/geant-vmc/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  02 Feb 2014; <o.freyermuth@googlemail.com> geant-vmc-4.2.14b.ebuild,
+  geant-vmc-4.2.15.ebuild:
+  Make header installation work again, include/ contains folders only so
+  doheader must recurse
+
   06 Jan 2014; Justin Lecher <jlec@gentoo.org> geant-vmc-4.2.14b.ebuild,
   geant-vmc-4.2.15.ebuild, metadata.xml:
   Add missing die

diff --git a/sci-physics/geant-vmc/geant-vmc-4.2.14b.ebuild b/sci-physics/geant-vmc/geant-vmc-4.2.14b.ebuild
index 5e39bf8..df2884e 100644
--- a/sci-physics/geant-vmc/geant-vmc-4.2.14b.ebuild
+++ b/sci-physics/geant-vmc/geant-vmc-4.2.14b.ebuild
@@ -51,7 +51,7 @@ src_test() {
 
 src_install() {
 	dolib.so lib/tgt_*/{libg4root,libgeant4vmc}.so
-	doheader include/*
+	doheader -r include/*
 	dodoc README history version_number
 	use doc && dohtml -r Geant4VMC.html doc/*
 	if use examples; then

diff --git a/sci-physics/geant-vmc/geant-vmc-4.2.15.ebuild b/sci-physics/geant-vmc/geant-vmc-4.2.15.ebuild
index c350288..f08e490 100644
--- a/sci-physics/geant-vmc/geant-vmc-4.2.15.ebuild
+++ b/sci-physics/geant-vmc/geant-vmc-4.2.15.ebuild
@@ -50,7 +50,7 @@ src_test() {
 
 src_install() {
 	dolib.so lib/tgt_*/{libg4root,libgeant4vmc}.so
-	doheader include/*
+	doheader -r include/*
 	dodoc README history version_number
 	use doc && dohtml -r Geant4VMC.html doc/*
 	if use examples; then


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-physics/geant-vmc/
@ 2014-03-27 21:51 Sebastien Fabbro
  0 siblings, 0 replies; 14+ messages in thread
From: Sebastien Fabbro @ 2014-03-27 21:51 UTC (permalink / raw
  To: gentoo-commits

commit:     c880f8ba6d1ede500b17714006b7a191f011b90e
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Thu Mar 27 08:22:55 2014 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Thu Mar 27 08:22:55 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=c880f8ba

Add subslot-dependency on sci-physics/root, rebuilding is needed on each ROOT version string change. For more details c.f. #505358 .

---
 sci-physics/geant-vmc/ChangeLog                | 5 +++++
 sci-physics/geant-vmc/geant-vmc-3.1.15a.ebuild | 2 +-
 sci-physics/geant-vmc/geant-vmc-4.2.14b.ebuild | 2 +-
 sci-physics/geant-vmc/geant-vmc-4.2.15.ebuild  | 2 +-
 4 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/sci-physics/geant-vmc/ChangeLog b/sci-physics/geant-vmc/ChangeLog
index bf52756..2571fa1 100644
--- a/sci-physics/geant-vmc/ChangeLog
+++ b/sci-physics/geant-vmc/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  27 Mar 2014; Oliver Freyermuth <o.freyermuth@googlemail.com>
+  geant-vmc-3.1.15a.ebuild, geant-vmc-4.2.14b.ebuild, geant-vmc-4.2.15.ebuild:
+  Add subslot-dependency on sci-physics/root, rebuilding is needed on each ROOT
+  version string change. For more details c.f. #505358 .
+
   02 Feb 2014; <o.freyermuth@googlemail.com> geant-vmc-4.2.14b.ebuild,
   geant-vmc-4.2.15.ebuild:
   Make header installation work again, include/ contains folders only so

diff --git a/sci-physics/geant-vmc/geant-vmc-3.1.15a.ebuild b/sci-physics/geant-vmc/geant-vmc-3.1.15a.ebuild
index 229a5e8..ba8fcad 100644
--- a/sci-physics/geant-vmc/geant-vmc-3.1.15a.ebuild
+++ b/sci-physics/geant-vmc/geant-vmc-3.1.15a.ebuild
@@ -19,7 +19,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="examples"
 
 RDEPEND="
-	sci-physics/root[pythia6]
+	sci-physics/root[pythia6]:=
 	!sci-physics/geant:3"
 DEPEND="${RDEPEND}"
 

diff --git a/sci-physics/geant-vmc/geant-vmc-4.2.14b.ebuild b/sci-physics/geant-vmc/geant-vmc-4.2.14b.ebuild
index df2884e..cef4e1f 100644
--- a/sci-physics/geant-vmc/geant-vmc-4.2.14b.ebuild
+++ b/sci-physics/geant-vmc/geant-vmc-4.2.14b.ebuild
@@ -18,7 +18,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples vgm"
 
 RDEPEND="
-	sci-physics/root
+	sci-physics/root:=
 	>=sci-physics/geant-4.9.6[opengl,geant3,examples?]
 	<sci-physics/geant-4.10.00
 	vgm? ( sci-physics/vgm )"

diff --git a/sci-physics/geant-vmc/geant-vmc-4.2.15.ebuild b/sci-physics/geant-vmc/geant-vmc-4.2.15.ebuild
index f08e490..d212967 100644
--- a/sci-physics/geant-vmc/geant-vmc-4.2.15.ebuild
+++ b/sci-physics/geant-vmc/geant-vmc-4.2.15.ebuild
@@ -18,7 +18,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples vgm"
 
 RDEPEND="
-	sci-physics/root
+	sci-physics/root:=
 	>=sci-physics/geant-4.9.6[opengl,geant3,examples?]
 	vgm? ( sci-physics/vgm )"
 DEPEND="${RDEPEND}


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-physics/geant-vmc/
@ 2014-04-02 23:05 Sebastien Fabbro
  0 siblings, 0 replies; 14+ messages in thread
From: Sebastien Fabbro @ 2014-04-02 23:05 UTC (permalink / raw
  To: gentoo-commits

commit:     2e6a7412ec358235dcdb5d8cd3d6aadb754e118d
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Mon Mar 31 23:09:26 2014 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Mon Mar 31 23:09:26 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=2e6a7412

Version bump

---
 sci-physics/geant-vmc/ChangeLog                |  6 +++
 sci-physics/geant-vmc/geant-vmc-4.2.15a.ebuild | 61 ++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/sci-physics/geant-vmc/ChangeLog b/sci-physics/geant-vmc/ChangeLog
index 2571fa1..7a23104 100644
--- a/sci-physics/geant-vmc/ChangeLog
+++ b/sci-physics/geant-vmc/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*geant-vmc-4.2.15a (31 Mar 2014)
+
+  31 Mar 2014; Oliver Freyermuth <o.freyermuth@googlemail.com>
+  +geant-vmc-4.2.15a.ebuild:
+  Version bump
+
   27 Mar 2014; Oliver Freyermuth <o.freyermuth@googlemail.com>
   geant-vmc-3.1.15a.ebuild, geant-vmc-4.2.14b.ebuild, geant-vmc-4.2.15.ebuild:
   Add subslot-dependency on sci-physics/root, rebuilding is needed on each ROOT

diff --git a/sci-physics/geant-vmc/geant-vmc-4.2.15a.ebuild b/sci-physics/geant-vmc/geant-vmc-4.2.15a.ebuild
new file mode 100644
index 0000000..d212967
--- /dev/null
+++ b/sci-physics/geant-vmc/geant-vmc-4.2.15a.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit versionator
+
+MPV=$(get_version_component_range 2-)
+
+DESCRIPTION="Virtual Monte Carlo Geant4 implementation"
+HOMEPAGE="http://root.cern.ch/root/vmc/VirtualMC.html"
+SRC_URI="ftp://root.cern.ch/root/vmc/geant4_vmc.${MPV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="4"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples vgm"
+
+RDEPEND="
+	sci-physics/root:=
+	>=sci-physics/geant-4.9.6[opengl,geant3,examples?]
+	vgm? ( sci-physics/vgm )"
+DEPEND="${RDEPEND}
+	doc? ( app-doc/doxygen )"
+
+S="${WORKDIR}/geant4_vmc"
+
+src_compile() {
+	use vgm && export USE_VGM=1
+	local dirs="g4root source"
+	use examples && dirs+=" examples"
+	local d
+	source $(ls -1 "${EROOT}"usr/share/Geant4-*/geant4make/geant4make.sh) || die
+	for d in ${dirs}; do
+		pushd ${d} > /dev/null || die
+		emake
+		if use doc; then
+			doxygen || die
+		fi
+		popd > /dev/null
+	done
+}
+
+src_test() {
+	cd examples || die
+	emake
+	./run_suite.sh || die
+}
+
+src_install() {
+	dolib.so lib/tgt_*/{libg4root,libgeant4vmc}.so
+	doheader -r include/*
+	dodoc README history version_number
+	use doc && dohtml -r Geant4VMC.html doc/*
+	if use examples; then
+		insinto /usr/share/doc/${PF}
+		emake -C examples clean
+		doins -r examples
+	fi
+}


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-physics/geant-vmc/
@ 2014-04-03 17:48 Sebastien Fabbro
  0 siblings, 0 replies; 14+ messages in thread
From: Sebastien Fabbro @ 2014-04-03 17:48 UTC (permalink / raw
  To: gentoo-commits

commit:     3b27eb8df38476bf37c48bd0e49de78271385deb
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Mon Mar 31 23:17:11 2014 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Wed Apr  2 23:53:23 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=3b27eb8d

Fix syntax bug in dependency atom

Package-Manager: portage-2.2.8-r1

---
 sci-physics/geant-vmc/ChangeLog                | 4 ++++
 sci-physics/geant-vmc/geant-vmc-3.1.15a.ebuild | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/sci-physics/geant-vmc/ChangeLog b/sci-physics/geant-vmc/ChangeLog
index 7a23104..353b841 100644
--- a/sci-physics/geant-vmc/ChangeLog
+++ b/sci-physics/geant-vmc/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  31 Mar 2014; Oliver Freyermuth <o.freyermuth@googlemail.com>
+  geant-vmc-3.1.15a.ebuild:
+  Fix syntax bug in dependency atom
+
 *geant-vmc-4.2.15a (31 Mar 2014)
 
   31 Mar 2014; Oliver Freyermuth <o.freyermuth@googlemail.com>

diff --git a/sci-physics/geant-vmc/geant-vmc-3.1.15a.ebuild b/sci-physics/geant-vmc/geant-vmc-3.1.15a.ebuild
index ba8fcad..06c5def 100644
--- a/sci-physics/geant-vmc/geant-vmc-3.1.15a.ebuild
+++ b/sci-physics/geant-vmc/geant-vmc-3.1.15a.ebuild
@@ -19,7 +19,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="examples"
 
 RDEPEND="
-	sci-physics/root[pythia6]:=
+	sci-physics/root:=[pythia6]
 	!sci-physics/geant:3"
 DEPEND="${RDEPEND}"
 


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-physics/geant-vmc/
@ 2014-07-07  6:36 Justin Lecher
  0 siblings, 0 replies; 14+ messages in thread
From: Justin Lecher @ 2014-07-07  6:36 UTC (permalink / raw
  To: gentoo-commits

commit:     713b71262098ac50a7be419cf485718858e77174
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Sun Jul  6 20:28:45 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Jul  6 20:28:45 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=713b7126

New live ebuild, using cmake-buildsystem (upstream switches to cmake for next release), add flags for g4root and mtroot. Adapt to upstream's fixes concerning install paths, we don't need to do manually installation anymore.
I will skip geant-vmc-3.00b01 from packaging, it does not include those fixes yet.

---
 sci-physics/geant-vmc/ChangeLog             |  8 +++
 sci-physics/geant-vmc/geant-vmc-9999.ebuild | 79 +++++++++++++++++++++++++++++
 sci-physics/geant-vmc/metadata.xml          |  3 ++
 3 files changed, 90 insertions(+)

diff --git a/sci-physics/geant-vmc/ChangeLog b/sci-physics/geant-vmc/ChangeLog
index 353b841..807b464 100644
--- a/sci-physics/geant-vmc/ChangeLog
+++ b/sci-physics/geant-vmc/ChangeLog
@@ -2,6 +2,14 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*geant-vmc-9999 (06 Jul 2014)
+
+  06 Jul 2014; Oliver Freyermuth <o.freyermuth@googlemail.com>
+  +geant-vmc-9999.ebuild, metadata.xml:
+  New live ebuild, using cmake-buildsystem (upstream switches to cmake for next
+  release), add flags for g4root and mtroot. Adapt to upstream's fixes
+  concerning install paths, we don't need to do manually installation anymore.
+
   31 Mar 2014; Oliver Freyermuth <o.freyermuth@googlemail.com>
   geant-vmc-3.1.15a.ebuild:
   Fix syntax bug in dependency atom

diff --git a/sci-physics/geant-vmc/geant-vmc-9999.ebuild b/sci-physics/geant-vmc/geant-vmc-9999.ebuild
new file mode 100644
index 0000000..fa8fa55
--- /dev/null
+++ b/sci-physics/geant-vmc/geant-vmc-9999.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit cmake-utils versionator git-r3
+
+if [[ ${PV} == *9999* ]]; then
+	EGIT_REPO_URI=" http://root.cern.ch/git/geant4_vmc.git"
+	KEYWORDS=""
+else
+	MPV=$(get_version_component_range 2-)
+	SRC_URI="ftp://root.cern.ch/root/vmc/geant4_vmc.${MPV}.tar.gz"
+	KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+fi
+
+DESCRIPTION="Virtual Monte Carlo Geant4 implementation"
+HOMEPAGE="http://root.cern.ch/root/vmc/VirtualMC.html"
+
+LICENSE="GPL-2"
+SLOT="4"
+IUSE="doc examples geant3 +g4root +mtroot vgm"
+
+RDEPEND="
+	sci-physics/root:=
+	>=sci-physics/geant-4.9.6[opengl,geant3?]
+	vgm? ( >=sci-physics/vgm-4.00 )"
+DEPEND="${RDEPEND}
+	doc? ( app-doc/doxygen )"
+
+src_configure() {
+	local mycmakeargs=(
+			$(cmake-utils_use vgm Geant4VMC_USE_VGM)
+			$(cmake-utils_use geant3 Geant4VMC_USE_GEANT4_G3TOG4)
+			$(cmake-utils_use g4root Geant4VMC_USE_G4Root)
+			$(cmake-utils_use mtroot Geant4VMC_USE_MTRoot)
+			$(cmake-utils_use examples Geant4VMC_INSTALL_EXAMPLES)
+			)
+	cmake-utils_src_configure
+}
+
+src_compile() {
+	cmake-utils_src_compile
+	local dirs="g4root mtroot source"
+	use g4root && dirs+=" g4root "
+	use mtroot && dirs+=" mtroot "
+	use examples && dirs+=" examples "
+	local d
+	for d in ${dirs}; do
+		pushd ${d} > /dev/null || die
+		if use doc; then
+			doxygen || die
+		fi
+		popd > /dev/null
+	done
+}
+
+src_test() {
+	cd examples || die
+	local origDir=${CMAKE_USE_DIR}
+	CMAKE_USE_DIR=${CMAKE_USE_DIR}/examples
+	CMAKE_IN_SOURCE_BUILD=1
+	CMAKE_MODULE_PATH=../cmake
+	local mycmakeargs=(
+			-DCMAKE_MODULE_PATH=${origDir}/cmake
+			)
+	cmake-utils_src_configure
+	cmake-utils_src_compile
+	./run_suite.sh || die
+	CMAKE_IN_SOURCE_BUILD=0
+	CMAKE_USE_DIR=$origDir
+}
+
+src_install() {
+	cmake-utils_src_install
+	dodoc README history version_number
+	use doc && dohtml -r Geant4VMC.html doc/*
+}

diff --git a/sci-physics/geant-vmc/metadata.xml b/sci-physics/geant-vmc/metadata.xml
index 1bbc127..828e045 100644
--- a/sci-physics/geant-vmc/metadata.xml
+++ b/sci-physics/geant-vmc/metadata.xml
@@ -15,5 +15,8 @@
 </longdescription>
   <use>
     <flag name="vgm">Enable the Virtual Geometry Model (<pkg>sci-physics/vgm</pkg>)</flag>
+    <flag name="g4root">Build G4Root (interface for GEANT4 simulation with a ROOT geometry)</flag>
+    <flag name="geant3">Build with Geant4 G3toG4 library</flag>
+    <flag name="mtroot">Build MTRoot (provides ROOT IO manager classes with multi-threading support)</flag>
   </use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-physics/geant-vmc/
@ 2014-07-27  8:58 Justin Lecher
  0 siblings, 0 replies; 14+ messages in thread
From: Justin Lecher @ 2014-07-27  8:58 UTC (permalink / raw
  To: gentoo-commits

commit:     f1b0a762af6495064c802db4c47fd46e3e77252f
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Sat Jul 26 19:21:38 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jul 26 19:21:38 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=f1b0a762

Fix doxygen-generation, adapt to now working way to run the test-suite (patched upstream).

---
 sci-physics/geant-vmc/ChangeLog             |  5 +++++
 sci-physics/geant-vmc/geant-vmc-9999.ebuild | 19 +++++--------------
 2 files changed, 10 insertions(+), 14 deletions(-)

diff --git a/sci-physics/geant-vmc/ChangeLog b/sci-physics/geant-vmc/ChangeLog
index 807b464..1a52d9e 100644
--- a/sci-physics/geant-vmc/ChangeLog
+++ b/sci-physics/geant-vmc/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  26 Jul 2014; Oliver Freyermuth <o.freyermuth@googlemail.com>
+  geant-vmc-9999.ebuild:
+  Fix doxygen-generation, adapt to now working way to run the test-suite
+  (patched upstream). 
+
 *geant-vmc-9999 (06 Jul 2014)
 
   06 Jul 2014; Oliver Freyermuth <o.freyermuth@googlemail.com>

diff --git a/sci-physics/geant-vmc/geant-vmc-9999.ebuild b/sci-physics/geant-vmc/geant-vmc-9999.ebuild
index fa8fa55..f0a1ebe 100644
--- a/sci-physics/geant-vmc/geant-vmc-9999.ebuild
+++ b/sci-physics/geant-vmc/geant-vmc-9999.ebuild
@@ -20,7 +20,7 @@ HOMEPAGE="http://root.cern.ch/root/vmc/VirtualMC.html"
 
 LICENSE="GPL-2"
 SLOT="4"
-IUSE="doc examples geant3 +g4root +mtroot vgm"
+IUSE="doc examples geant3 +g4root +mtroot vgm test"
 
 RDEPEND="
 	sci-physics/root:=
@@ -35,6 +35,7 @@ src_configure() {
 			$(cmake-utils_use geant3 Geant4VMC_USE_GEANT4_G3TOG4)
 			$(cmake-utils_use g4root Geant4VMC_USE_G4Root)
 			$(cmake-utils_use mtroot Geant4VMC_USE_MTRoot)
+			$(cmake-utils_use test Geant4VMC_BUILD_EXAMPLES)
 			$(cmake-utils_use examples Geant4VMC_INSTALL_EXAMPLES)
 			)
 	cmake-utils_src_configure
@@ -42,7 +43,7 @@ src_configure() {
 
 src_compile() {
 	cmake-utils_src_compile
-	local dirs="g4root mtroot source"
+	local dirs="source"
 	use g4root && dirs+=" g4root "
 	use mtroot && dirs+=" mtroot "
 	use examples && dirs+=" examples "
@@ -58,18 +59,8 @@ src_compile() {
 
 src_test() {
 	cd examples || die
-	local origDir=${CMAKE_USE_DIR}
-	CMAKE_USE_DIR=${CMAKE_USE_DIR}/examples
-	CMAKE_IN_SOURCE_BUILD=1
-	CMAKE_MODULE_PATH=../cmake
-	local mycmakeargs=(
-			-DCMAKE_MODULE_PATH=${origDir}/cmake
-			)
-	cmake-utils_src_configure
-	cmake-utils_src_compile
-	./run_suite.sh || die
-	CMAKE_IN_SOURCE_BUILD=0
-	CMAKE_USE_DIR=$origDir
+	./test_suite.sh --g3=off --builddir="${BUILD_DIR}" || die
+	./test_suite_exe.sh --g3=off --builddir="${BUILD_DIR}" || die
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-physics/geant-vmc/
@ 2015-01-13  2:06 Christoph Junghans
  0 siblings, 0 replies; 14+ messages in thread
From: Christoph Junghans @ 2015-01-13  2:06 UTC (permalink / raw
  To: gentoo-commits

commit:     f3939ddabde0d3d639e1535671c44ad3a9cffad7
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Tue Jan 13 00:26:08 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Tue Jan 13 00:26:08 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=f3939dda

geant-vmc: Upstream does not provide version_info file anymore, adapt live.

---
 sci-physics/geant-vmc/ChangeLog             | 6 +++++-
 sci-physics/geant-vmc/geant-vmc-9999.ebuild | 4 ++--
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/sci-physics/geant-vmc/ChangeLog b/sci-physics/geant-vmc/ChangeLog
index 1a52d9e..c8c3e82 100644
--- a/sci-physics/geant-vmc/ChangeLog
+++ b/sci-physics/geant-vmc/ChangeLog
@@ -1,7 +1,11 @@
 # ChangeLog for sci-physics/geant-vmc
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  13 Jan 2015; Oliver Freyermuth <o.freyermuth@googlemail.com>
+  geant-vmc-9999.ebuild:
+  version_number-file not provided anymore. 
+
   26 Jul 2014; Oliver Freyermuth <o.freyermuth@googlemail.com>
   geant-vmc-9999.ebuild:
   Fix doxygen-generation, adapt to now working way to run the test-suite

diff --git a/sci-physics/geant-vmc/geant-vmc-9999.ebuild b/sci-physics/geant-vmc/geant-vmc-9999.ebuild
index f0a1ebe..e73ea62 100644
--- a/sci-physics/geant-vmc/geant-vmc-9999.ebuild
+++ b/sci-physics/geant-vmc/geant-vmc-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -65,6 +65,6 @@ src_test() {
 
 src_install() {
 	cmake-utils_src_install
-	dodoc README history version_number
+	dodoc README history
 	use doc && dohtml -r Geant4VMC.html doc/*
 }


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-physics/geant-vmc/
@ 2020-09-22  2:09 Aisha Tammy
  0 siblings, 0 replies; 14+ messages in thread
From: Aisha Tammy @ 2020-09-22  2:09 UTC (permalink / raw
  To: gentoo-commits

commit:     562c2eb606d6c7dd794f646cb91b2009d365339e
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Tue Sep 22 02:08:45 2020 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Tue Sep 22 02:09:15 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=562c2eb6

sci-physics/geant-vmc: drop package

present in ::gentoo

Package-Manager: Portage-3.0.7, Repoman-3.0.1
RepoMan-Options: --force
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 sci-physics/geant-vmc/geant-vmc-3.1.15a.ebuild | 38 --------------
 sci-physics/geant-vmc/geant-vmc-4.2.15a.ebuild | 60 ----------------------
 sci-physics/geant-vmc/geant-vmc-4.3.3.ebuild   | 71 --------------------------
 sci-physics/geant-vmc/geant-vmc-9999.ebuild    | 71 --------------------------
 sci-physics/geant-vmc/metadata.xml             | 25 ---------
 5 files changed, 265 deletions(-)

diff --git a/sci-physics/geant-vmc/geant-vmc-3.1.15a.ebuild b/sci-physics/geant-vmc/geant-vmc-3.1.15a.ebuild
deleted file mode 100644
index 840fe03ce..000000000
--- a/sci-physics/geant-vmc/geant-vmc-3.1.15a.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit fortran-2 versionator
-
-MPV=$(get_version_component_range 2-)
-
-DESCRIPTION="Virtual Monte Carlo Geant3 implementation"
-HOMEPAGE="http://root.cern.ch/root/vmc/VirtualMC.html"
-SRC_URI="http://root.cern.ch/download/vmc/geant321+_vmc.${MPV}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="3"
-
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="examples"
-
-RDEPEND="
-	sci-physics/root:=[pythia6]
-	!sci-physics/geant:3"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/geant3"
-
-src_install() {
-	dolib.so lib/*/*.so
-	insinto /usr/include/TGeant3
-	doins TGeant3/TGeant3.h
-	insinto /usr/include/geant321
-	doins geant321/*.inc
-
-	if use examples; then
-		insinto /usr/shared/doc/${PF}
-		doins -r examples
-	fi
-}

diff --git a/sci-physics/geant-vmc/geant-vmc-4.2.15a.ebuild b/sci-physics/geant-vmc/geant-vmc-4.2.15a.ebuild
deleted file mode 100644
index 2109a907c..000000000
--- a/sci-physics/geant-vmc/geant-vmc-4.2.15a.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit versionator
-
-MPV=$(get_version_component_range 2-)
-
-DESCRIPTION="Virtual Monte Carlo Geant4 implementation"
-HOMEPAGE="http://root.cern.ch/root/vmc/VirtualMC.html"
-SRC_URI="http://root.cern.ch/download/vmc/geant4_vmc.${MPV}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="4"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples vgm"
-
-RDEPEND="
-	sci-physics/root:=
-	>=sci-physics/geant-4.9.6[opengl,geant3,examples?]
-	vgm? ( sci-physics/vgm )"
-DEPEND="${RDEPEND}
-	doc? ( app-doc/doxygen )"
-
-S="${WORKDIR}/geant4_vmc"
-
-src_compile() {
-	use vgm && export USE_VGM=1
-	local dirs="g4root source"
-	use examples && dirs+=" examples"
-	local d
-	source $(ls -1 "${EROOT}"usr/share/Geant4-*/geant4make/geant4make.sh) || die
-	for d in ${dirs}; do
-		pushd ${d} > /dev/null || die
-		default
-		if use doc; then
-			doxygen || die
-		fi
-		popd > /dev/null
-	done
-}
-
-src_test() {
-	cd examples || die
-	default
-	./run_suite.sh || die
-}
-
-src_install() {
-	dolib.so lib/tgt_*/{libg4root,libgeant4vmc}.so
-	doheader -r include/*
-	dodoc README history version_number
-	use doc && dohtml -r Geant4VMC.html doc/*
-	if use examples; then
-		insinto /usr/share/doc/${PF}
-		emake -C examples clean
-		doins -r examples
-	fi
-}

diff --git a/sci-physics/geant-vmc/geant-vmc-4.3.3.ebuild b/sci-physics/geant-vmc/geant-vmc-4.3.3.ebuild
deleted file mode 100644
index 2852a47e0..000000000
--- a/sci-physics/geant-vmc/geant-vmc-4.3.3.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils versionator
-
-if [[ ${PV} == *9999* ]]; then
-	inherit git-r3
-	EGIT_REPO_URI=" http://root.cern.ch/git/geant4_vmc.git"
-	KEYWORDS=""
-else
-	MPV=$(get_version_component_range 2-)
-	SRC_URI="http://root.cern.ch/download/vmc/geant4_vmc.${MPV}.tar.gz"
-	S="${WORKDIR}/geant4_vmc.${MPV}"
-	KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-fi
-
-DESCRIPTION="Virtual Monte Carlo Geant4 implementation"
-HOMEPAGE="http://root.cern.ch/root/vmc/VirtualMC.html"
-
-LICENSE="GPL-2"
-SLOT="4"
-IUSE="doc examples geant3 +g4root +mtroot vgm test"
-
-RDEPEND="
-	sci-physics/root:=
-	>=sci-physics/geant-4.9.6[opengl,geant3?]
-	vgm? ( >=sci-physics/vgm-4.00 )"
-DEPEND="${RDEPEND}
-	doc? ( app-doc/doxygen )"
-
-src_configure() {
-	local mycmakeargs=(
-			-DGeant4VMC_USE_VGM="$(usex vgm)"
-			-DGeant4VMC_USE_GEANT4_G3TOG4="$(usex geant3)"
-			-DGeant4VMC_USE_G4Root="$(usex g4root)"
-			-DGeant4VMC_USE_MTRoot="$(usex mtroot)"
-			-DGeant4VMC_BUILD_EXAMPLES="$(usex test)"
-			-DGeant4VMC_INSTALL_EXAMPLES="$(usex examples)"
-			)
-	cmake-utils_src_configure
-}
-
-src_compile() {
-	cmake-utils_src_compile
-	local dirs="source"
-	use g4root && dirs+=" g4root "
-	use mtroot && dirs+=" mtroot "
-	use examples && dirs+=" examples "
-	local d
-	for d in ${dirs}; do
-		pushd ${d} > /dev/null || die
-		if use doc; then
-			doxygen || die
-		fi
-		popd > /dev/null
-	done
-}
-
-src_test() {
-	cd examples || die
-	./test_suite.sh --g3=off --builddir="${BUILD_DIR}" || die
-	./test_suite_exe.sh --g3=off --builddir="${BUILD_DIR}" || die
-}
-
-src_install() {
-	cmake-utils_src_install
-	dodoc README history
-	use doc && dohtml -r Geant4VMC.html doc/*
-}

diff --git a/sci-physics/geant-vmc/geant-vmc-9999.ebuild b/sci-physics/geant-vmc/geant-vmc-9999.ebuild
deleted file mode 100644
index 2852a47e0..000000000
--- a/sci-physics/geant-vmc/geant-vmc-9999.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils versionator
-
-if [[ ${PV} == *9999* ]]; then
-	inherit git-r3
-	EGIT_REPO_URI=" http://root.cern.ch/git/geant4_vmc.git"
-	KEYWORDS=""
-else
-	MPV=$(get_version_component_range 2-)
-	SRC_URI="http://root.cern.ch/download/vmc/geant4_vmc.${MPV}.tar.gz"
-	S="${WORKDIR}/geant4_vmc.${MPV}"
-	KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-fi
-
-DESCRIPTION="Virtual Monte Carlo Geant4 implementation"
-HOMEPAGE="http://root.cern.ch/root/vmc/VirtualMC.html"
-
-LICENSE="GPL-2"
-SLOT="4"
-IUSE="doc examples geant3 +g4root +mtroot vgm test"
-
-RDEPEND="
-	sci-physics/root:=
-	>=sci-physics/geant-4.9.6[opengl,geant3?]
-	vgm? ( >=sci-physics/vgm-4.00 )"
-DEPEND="${RDEPEND}
-	doc? ( app-doc/doxygen )"
-
-src_configure() {
-	local mycmakeargs=(
-			-DGeant4VMC_USE_VGM="$(usex vgm)"
-			-DGeant4VMC_USE_GEANT4_G3TOG4="$(usex geant3)"
-			-DGeant4VMC_USE_G4Root="$(usex g4root)"
-			-DGeant4VMC_USE_MTRoot="$(usex mtroot)"
-			-DGeant4VMC_BUILD_EXAMPLES="$(usex test)"
-			-DGeant4VMC_INSTALL_EXAMPLES="$(usex examples)"
-			)
-	cmake-utils_src_configure
-}
-
-src_compile() {
-	cmake-utils_src_compile
-	local dirs="source"
-	use g4root && dirs+=" g4root "
-	use mtroot && dirs+=" mtroot "
-	use examples && dirs+=" examples "
-	local d
-	for d in ${dirs}; do
-		pushd ${d} > /dev/null || die
-		if use doc; then
-			doxygen || die
-		fi
-		popd > /dev/null
-	done
-}
-
-src_test() {
-	cd examples || die
-	./test_suite.sh --g3=off --builddir="${BUILD_DIR}" || die
-	./test_suite_exe.sh --g3=off --builddir="${BUILD_DIR}" || die
-}
-
-src_install() {
-	cmake-utils_src_install
-	dodoc README history
-	use doc && dohtml -r Geant4VMC.html doc/*
-}

diff --git a/sci-physics/geant-vmc/metadata.xml b/sci-physics/geant-vmc/metadata.xml
deleted file mode 100644
index ef6deebdf..000000000
--- a/sci-physics/geant-vmc/metadata.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<maintainer type="project">
-		<email>sci-physics@gentoo.org</email>
-		<name>Gentoo Physics Project</name>
-	</maintainer>
-	<longdescription lang="en">
-The Virtual Monte Carlo (VMC) allows to run different simulation
-Monte Carlo without changing the user code and therefore the input
-and output format as well as the geometry and detector response
-definition.
-The core of the VMC is the category of classes vmc in ROOT. It
-provides a set of interfaces which completely decouple the
-dependencies between the user code and the concrete Monte Carlo. 
-Geant3 VMC (C++) is provided within a single package together with
-GEANT3 (Fortran) - geant3.
-</longdescription>
-	<use>
-		<flag name="vgm">Enable the Virtual Geometry Model (<pkg>sci-physics/vgm</pkg>)</flag>
-		<flag name="g4root">Build G4Root (interface for GEANT4 simulation with a ROOT geometry)</flag>
-		<flag name="geant3">Build with Geant4 G3toG4 library</flag>
-		<flag name="mtroot">Build MTRoot (provides ROOT IO manager classes with multi-threading support)</flag>
-	</use>
-</pkgmetadata>


^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2020-09-22  2:09 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-06 17:41 [gentoo-commits] proj/sci:master commit in: sci-physics/geant-vmc/ Justin Lecher
  -- strict thread matches above, loose matches on Subject: below --
2020-09-22  2:09 Aisha Tammy
2015-01-13  2:06 Christoph Junghans
2014-07-27  8:58 Justin Lecher
2014-07-07  6:36 Justin Lecher
2014-04-03 17:48 Sebastien Fabbro
2014-04-02 23:05 Sebastien Fabbro
2014-03-27 21:51 Sebastien Fabbro
2014-02-03  1:39 Sebastien Fabbro
2014-01-06 17:41 Justin Lecher
2013-11-26  5:33 Sebastien Fabbro
2013-06-05 17:17 Sebastien Fabbro
2013-01-21 17:33 Sebastien Fabbro
2013-01-18 23:59 Sebastien Fabbro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox