summaryrefslogtreecommitdiff
path: root/sci-physics
diff options
context:
space:
mode:
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/Manifest.gzbin5875 -> 5877 bytes
-rw-r--r--sci-physics/geant-python/Manifest8
-rw-r--r--sci-physics/geant-python/files/geant-python-4.10.0-config.patch27
-rw-r--r--sci-physics/geant-python/files/geant-python-4.10.0-polycone.patch15
-rw-r--r--sci-physics/geant-python/files/geant-python-4.9.5-visverbose.patch13
-rw-r--r--sci-physics/geant-python/geant-python-4.10.00.ebuild122
-rw-r--r--sci-physics/geant-python/geant-python-4.9.6_p02.ebuild120
-rw-r--r--sci-physics/geant-python/metadata.xml11
-rw-r--r--sci-physics/root/Manifest2
-rw-r--r--sci-physics/root/root-6.12.04-r2.ebuild2
-rw-r--r--sci-physics/vgm/Manifest4
-rw-r--r--sci-physics/vgm/metadata.xml24
-rw-r--r--sci-physics/vgm/vgm-4.4.ebuild73
-rw-r--r--sci-physics/vgm/vgm-9999.ebuild73
14 files changed, 177 insertions, 317 deletions
diff --git a/sci-physics/Manifest.gz b/sci-physics/Manifest.gz
index 7e9de791003b..20ca37080ae1 100644
--- a/sci-physics/Manifest.gz
+++ b/sci-physics/Manifest.gz
Binary files differ
diff --git a/sci-physics/geant-python/Manifest b/sci-physics/geant-python/Manifest
deleted file mode 100644
index 25ec1f9d67cd..000000000000
--- a/sci-physics/geant-python/Manifest
+++ /dev/null
@@ -1,8 +0,0 @@
-AUX geant-python-4.10.0-config.patch 879 BLAKE2B 2e84f4ce3e12fe5d7196f8753cfcc7f537a7522172066d995fa8a8fd4b1c781206decc78237242a7de1fada0014f9c735997022120651c173bda56c8db728f07 SHA512 409951aeaf6cb33d8ab0d70c94ab04901f449554c8e1e14706a40144e132d4f33543e85740d7f99ca32bfd28fac1e12ddd6deeee6d0b101c42283fdf74da5ea7
-AUX geant-python-4.10.0-polycone.patch 609 BLAKE2B c0a17cb5c8e91a7a6f01535900656ed7cdf930b23a077f90a68605b4c25b45f21b30e5c234e76a8fcdbc0a3366f7ca2ba93017a7c7c9999895e82b9e85405f6a SHA512 d65395f12928ca500452545c19bcdefd0b3740fb27c2ff2ccd01748d70347e1d3e8935d94e9b1ae142037c0930551e58bc6dd93dd944c3d712255555a639d5c5
-AUX geant-python-4.9.5-visverbose.patch 557 BLAKE2B b709aaa09c954e3595a70fc3af95b7fe478bab085e3167d04462fa5447ff9578d7855d8a8ef550e0ec69f02991e2e1084534bf0ae21635cd9dee3261429c93a1 SHA512 6780065ef2ba4efa79bdd835e500f25309baf6b3d8bf2418b83f2cbb984a8b6a48d27e10a1327cd42e6e236663557fedb5bb2f9f34ee0d1631fc316868959fb0
-DIST geant4.10.00.tar.gz 30780131 BLAKE2B 22702e73f3e2f973e3251dc650f4cfd38c905edabc27f2d09d40bb9a518ea46fafc55be9f91b35eb4bcc7a35a442905347b652a1388055eebb856e998184d8f2 SHA512 c9288b26df8b858622e728158b687cd7bc257c49f26a21b93d1b9fa4619c22dfea2a7604689118ac493b407888690db42d1ec9c8048aa1f45bf8beeb6a657e87
-DIST geant4.9.6.p02.tar.gz 25480383 BLAKE2B db0e1a8997d91a4e989bf3d038fd0898a2612fa79d6ad195ea3280b49e1290712926ac04de2501d2f75f99de54868f1214284db70de47bd3661345b9bb7503e1 SHA512 dab5f31568074869adecbbfb8855be0c0a2e92e5ba3119dbeb9cd414878721df3052198a05e5e3c19d0e2942a22602c6618dc0628b05134d3403a50c2bc2032c
-EBUILD geant-python-4.10.00.ebuild 3588 BLAKE2B 2d089358a48a91b6b2d57f32340348a5fa0e99f8720bdaf0c1e685dde0c2d9f22b0829509be62e906ac4dac88da761467fe2aac8f3e73f1d7c0a4b7cc9788652 SHA512 12958db78cddbcf273d01f5dc77638fdcfbc6cdd0e17db47a715c465700ef53699e8049dc24c8319184de216accd29b626ced19fbb69d20a83faf3e2ebebd422
-EBUILD geant-python-4.9.6_p02.ebuild 3490 BLAKE2B b01c2adfd7f66d5767837e59fadf58799845b4d84aced025114050ab7048e5f847117c479d098815e16f24b12de35f6b2fd5248c2604829ec25d753937dc16bc SHA512 6d119b9fc63e3d4e3556404f8e1d27af4f8b1f81f4ba13f95be171e3b03d7cb2ed51a138881e750212b96c6a32fe13cd250057607a72ad8452dca9198d442574
-MISC metadata.xml 339 BLAKE2B 21406d69ef5679afdfd06dfb46702e4e3af24e4f4e165a59bf7a1957768c5b9c3d13096002e3f17e4f261f86529f5c5c5264d985daa9519cf5b4847715fa6120 SHA512 70075446df6f911524b3a0cc239b00ab9f8f7da8f022c9c050145aec664216026e0dc10f36a75d525a3ad8d02fea858d45b8cd880e26e2f1fe17b7bfb8dbebdd
diff --git a/sci-physics/geant-python/files/geant-python-4.10.0-config.patch b/sci-physics/geant-python/files/geant-python-4.10.0-config.patch
deleted file mode 100644
index 50f4dabb43c3..000000000000
--- a/sci-physics/geant-python/files/geant-python-4.10.0-config.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-do not hard code PATH; QGSP.hh is renamed to G4QGSParticipants.hh in geant-4.10
-
-http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1545
-http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1546
-Index: g4py/configure
-===================================================================
---- g4py.orig/configure
-+++ g4py/configure
-@@ -4,9 +4,6 @@
- # ======================================================================
- export LANG=C
-
--PATH=/bin:/usr/bin
--export PATH
--
- # ======================================================================
- # testing the echo features
- # ======================================================================
-@@ -377,7 +374,7 @@ fi
-
- # ---
- echo $ac_n "Checking for physics list support ...$ac_c"
--if [ -f "$g4_incdir"/QGSP.hh ]; then
-+if [ -f "$g4_incdir"/G4QGSParticipants.hh ]; then
- enable_physicslist=1
- fi
- if [ $enable_physicslist = 0 ]; then
diff --git a/sci-physics/geant-python/files/geant-python-4.10.0-polycone.patch b/sci-physics/geant-python/files/geant-python-4.10.0-polycone.patch
deleted file mode 100644
index 492e4700ac4f..000000000000
--- a/sci-physics/geant-python/files/geant-python-4.10.0-polycone.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-polycone API has been changed.
-
-http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1544
-Index: g4py/source/geometry/pyG4Polycone.cc
-===================================================================
---- g4py.orig/source/geometry/pyG4Polycone.cc
-+++ g4py/source/geometry/pyG4Polycone.cc
-@@ -96,7 +96,6 @@ void export_G4Polycone()
- .def("GetStartPhi", &G4Polycone::GetStartPhi)
- .def("GetEndPhi", &G4Polycone::GetEndPhi)
- .def("IsOpen", &G4Polycone::IsOpen)
-- .def("IsGeneric", &G4Polycone::IsGeneric)
- .def("GetNumRZCorner", &G4Polycone::GetNumRZCorner)
-
- // operators
diff --git a/sci-physics/geant-python/files/geant-python-4.9.5-visverbose.patch b/sci-physics/geant-python/files/geant-python-4.9.5-visverbose.patch
deleted file mode 100644
index 0508f28b6fa6..000000000000
--- a/sci-physics/geant-python/files/geant-python-4.9.5-visverbose.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/source/visualization/pyG4VisManager.cc b/source/visualization/pyG4VisManager.cc
-index 33bb0d4..00f86a5 100644
---- a/source/visualization/pyG4VisManager.cc
-+++ b/source/visualization/pyG4VisManager.cc
-@@ -41,7 +41,7 @@ using namespace boost::python;
- // ====================================================================
- class PyG4VisManager : public G4VisManager {
- public:
-- PyG4VisManager() { SetVerboseLevel(quiet); }
-+ PyG4VisManager() { SetVerboseLevel(all); }
- ~PyG4VisManager() { }
-
- virtual void RegisterGraphicsSystems() { }
diff --git a/sci-physics/geant-python/geant-python-4.10.00.ebuild b/sci-physics/geant-python/geant-python-4.10.00.ebuild
deleted file mode 100644
index 160244ef9e49..000000000000
--- a/sci-physics/geant-python/geant-python-4.10.00.ebuild
+++ /dev/null
@@ -1,122 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit python-r1 versionator multilib eutils
-
-MYP="geant$(replace_version_separator 3 .)"
-
-DESCRIPTION="Python bindings for Geant4"
-HOMEPAGE="http://geant4.cern.ch/"
-SRC_URI="http://geant4.cern.ch/support/source/${MYP}.tar.gz"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-
-LICENSE="geant4"
-SLOT="0"
-IUSE="examples"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
- ${PYTHON_DEPS}
- dev-libs/boost:=[python,${PYTHON_USEDEP}]
- dev-libs/xerces-c
- =sci-physics/geant-${PV}*"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${MYP}/environments/g4py"
-
-pkg_setup() {
- if use amd64; then
- ARG=linux64
- elif use x86; then
- ARG=linux
- else
- die "platform unknown"
- fi
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-4.9.5-visverbose.patch
- epatch "${FILESDIR}"/${PN}-4.10.0-config.patch
- epatch "${FILESDIR}"/${PN}-4.10.0-polycone.patch
- sed -i -e "s/lib64/$(get_libdir)/g" configure || die
- sed -i -e 's/-lG4clhep/-lCLHEP/g' config/g4py.gmk || die
- # respect user toolchain and flags
- sed -i \
- -e '/^CXX.*:=/d' \
- -e '/CXXFLAGS/s/-f\(template-depth-255\|inline-functions\|permissive\)//g' \
- -e "/CXXFLAGS/s/-O2/${CXXFLAGS}/g" \
- -e '/^rpathflag/s|:\($(rpath.)\)| -Wl,-rpath,\1 |g' \
- -e "s/\$(rpathflag)/\$(LDFLAGS) \$(rpathflag)/g" \
- config/sys/linux* || die
- python_copy_sources
-
- run_sed() {
- sed -i -e "s/\(python_exe=\)python/\1${EPYTHON}/" configure || die
- [[ ${EPYTHON} == python3* ]] && sed -i -e "s/with_python3=0/with_python3=1/" configure
- # let Geant4 module installed into python sitedir instead of default
- sed -i \
- -e "/G4PY_LIBDIR :=/cG4PY_LIBDIR := $\(DESTDIR\)$(python_get_sitedir)/Geant4" \
- config/install.gmk || die "sed failed on config/install.gmk"
-
- local mfile
- for mfile in source/python{3,}/GNUmakefile
- do
- sed -i \
- -e "/install_dir :=/cinstall_dir := $\(DESTDIR\)$(python_get_sitedir)/Geant4" \
- "${mfile}" || die "sed failed on ${mfile}"
- done
-
- # let g4py module installed into python sitedir instead of default
- sed -i \
- -e "/install_dir :=/cinstall_dir := $\(DESTDIR\)$(python_get_sitedir)/g4py" \
- config/site-install.gmk || die "sed failed on config/site-install.gmk"
- for mfile in {processes/emcalculator,utils/MCScore}/{python3/,}GNUmakefile python/GNUmakefile
- do
- sed -i \
- -e "/install_dir :=/cinstall_dir := $\(DESTDIR\)$(python_get_sitedir)/g4py" \
- "site-modules/${mfile}" || die "sed failed on site-modules/${mfile}"
- done
-
- }
- python_foreach_impl run_in_build_dir run_sed
-}
-
-src_configure() {
- run_configure() {
- # not the autotools configure
- ./configure ${ARG} \
- --prefix="${EPREFIX}/usr" \
- --with-g4install-dir="${EPREFIX}/usr" \
- --with-python-incdir="$(python_get_includedir)" \
- --with-python-libdir="${EPREFIX}/usr/$(get_libdir)" \
- --with-boost-incdir="${EPREFIX}/usr/include" \
- --with-boost-libdir="${EPREFIX}/usr/$(get_libdir)" \
- --with-boost-python-lib="boost_python-${EPYTHON#python}" \
- --with-xercesc-incdir="${EPREFIX}/usr/include" \
- --with-xercesc-libdir="${EPREFIX}/usr/$(get_libdir)" \
- || die "configure failed"
- }
- python_foreach_impl run_in_build_dir run_configure
-}
-
-src_compile() {
- python_foreach_impl run_in_build_dir emake CPPVERBOSE=1
-}
-
-src_test() {
- run_test() {
- emake -C tests
- }
- python_foreach_impl run_in_build_dir run_test
-}
-
-src_install() {
- python_foreach_impl run_in_build_dir emake DESTDIR="${D}" install
- dodoc README.md History
- insinto /usr/share/doc/${PF}
- use examples && doins -r examples
-}
diff --git a/sci-physics/geant-python/geant-python-4.9.6_p02.ebuild b/sci-physics/geant-python/geant-python-4.9.6_p02.ebuild
deleted file mode 100644
index f590877fadab..000000000000
--- a/sci-physics/geant-python/geant-python-4.9.6_p02.ebuild
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit python-r1 versionator multilib eutils
-
-MYP="geant$(replace_version_separator 3 .)"
-
-DESCRIPTION="Python bindings for Geant4"
-HOMEPAGE="http://geant4.cern.ch/"
-SRC_URI="http://geant4.cern.ch/support/source/${MYP}.tar.gz"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-
-LICENSE="geant4"
-SLOT="0"
-IUSE="examples"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
- ${PYTHON_DEPS}
- dev-libs/boost:=[python,${PYTHON_USEDEP}]
- dev-libs/xerces-c
- =sci-physics/geant-${PV}*"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${MYP}/environments/g4py"
-
-pkg_setup() {
- if use amd64; then
- ARG=linux64
- elif use x86; then
- ARG=linux
- else
- die "platform unknown"
- fi
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-4.9.5-visverbose.patch
- sed -i -e "s/lib64/$(get_libdir)/g" configure || die
- sed -i -e 's/-lG4clhep/-lCLHEP/g' config/g4py.gmk || die
- # respect user toolchain and flags
- sed -i \
- -e '/^CXX.*:=/d' \
- -e '/CXXFLAGS/s/-f\(template-depth-255\|inline-functions\|permissive\)//g' \
- -e "/CXXFLAGS/s/-O2/${CXXFLAGS}/g" \
- -e '/^rpathflag/s|:\($(rpath.)\)| -Wl,-rpath,\1 |g' \
- -e "s/\$(rpathflag)/\$(LDFLAGS) \$(rpathflag)/g" \
- config/sys/linux* || die
- python_copy_sources
-
- run_sed() {
- sed -i -e "s/\(python_exe=\)python/\1${EPYTHON}/" configure || die
- [[ ${EPYTHON} == python3* ]] && sed -i -e "s/with_python3=0/with_python3=1/" configure
- # let Geant4 module installed into python sitedir instead of default
- sed -i \
- -e "/G4PY_LIBDIR :=/cG4PY_LIBDIR := $\(DESTDIR\)$(python_get_sitedir)/Geant4" \
- config/install.gmk || die "sed failed on config/install.gmk"
-
- local mfile
- for mfile in source/python{3,}/GNUmakefile
- do
- sed -i \
- -e "/install_dir :=/cinstall_dir := $\(DESTDIR\)$(python_get_sitedir)/Geant4" \
- "${mfile}" || die "sed failed on ${mfile}"
- done
-
- # let g4py module installed into python sitedir instead of default
- sed -i \
- -e "/install_dir :=/cinstall_dir := $\(DESTDIR\)$(python_get_sitedir)/g4py" \
- config/site-install.gmk || die "sed failed on config/site-install.gmk"
- for mfile in {processes/emcalculator,utils/MCScore}/{python3/,}GNUmakefile python/GNUmakefile
- do
- sed -i \
- -e "/install_dir :=/cinstall_dir := $\(DESTDIR\)$(python_get_sitedir)/g4py" \
- "site-modules/${mfile}" || die "sed failed on site-modules/${mfile}"
- done
-
- }
- python_foreach_impl run_in_build_dir run_sed
-}
-
-src_configure() {
- run_configure() {
- # not the autotools configure
- ./configure ${ARG} \
- --prefix="${EPREFIX}/usr" \
- --with-g4install-dir="${EPREFIX}/usr" \
- --with-python-incdir="$(python_get_includedir)" \
- --with-python-libdir="${EPREFIX}/usr/$(get_libdir)" \
- --with-boost-incdir="${EPREFIX}/usr/include" \
- --with-boost-libdir="${EPREFIX}/usr/$(get_libdir)" \
- --with-boost-python-lib="boost_python-${EPYTHON#python}" \
- --with-xercesc-incdir="${EPREFIX}/usr/include" \
- --with-xercesc-libdir="${EPREFIX}/usr/$(get_libdir)" \
- || die "configure failed"
- }
- python_foreach_impl run_in_build_dir run_configure
-}
-
-src_compile() {
- python_foreach_impl run_in_build_dir emake CPPVERBOSE=1
-}
-
-src_test() {
- run_test() {
- emake -C tests
- }
- python_foreach_impl run_in_build_dir run_test
-}
-
-src_install() {
- python_foreach_impl run_in_build_dir emake DESTDIR="${D}" install
- dodoc README.md History
- insinto /usr/share/doc/${PF}
- use examples && doins -r examples
-}
diff --git a/sci-physics/geant-python/metadata.xml b/sci-physics/geant-python/metadata.xml
deleted file mode 100644
index e89041142af4..000000000000
--- a/sci-physics/geant-python/metadata.xml
+++ /dev/null
@@ -1,11 +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">
- Python binding to Geant 4.
- </longdescription>
-</pkgmetadata>
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 856284a808f6..0ca78699c6e9 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -18,5 +18,5 @@ AUX rootd.initd 622 BLAKE2B 7edeaf3cf550303642a89eb69edb65e6625215ac2daae5766904
DIST root_v5.34.36.source.tar.gz 75427331 BLAKE2B 203af03e1459c7fe079fcb1b30da145b3262f90c074abb7ff8fb3b1b2b90ac24391ce51aa8afbd10e0db8d69549207f15176207bc30a13720e0ae94342a38dfa SHA512 2cc0c8f8b63b2a3ce01c49c41704483548a7324d92c21a63e3e36a00f4d6f5656a7844fdf48cb71a6f2a2c974112527300ffd3bb5502d8365ffaf138e6ae4c7a
DIST root_v6.12.04.source.tar.gz 162106020 BLAKE2B f27382cf748d4e31d71b460ecbf9b9f12294fb212bf23dc3d34c98737d8815b2eea2318247e56953ba184bb790bbb2f4b43c675dcb7a02b77c011f19e15d0d83 SHA512 67e400e9e7e8cabfb036a1eb1c262d462f613de7d6e18f8a17109c8eb52932e9ba77e69ab7b1f62c582d06b7f4d020cc888a0dfbefb4d3716743f142c3e3c063
EBUILD root-5.34.36.ebuild 12173 BLAKE2B 4829235ce5fae8b912afde7d28b619e98c9335cea9f614716f9222916734ef71b87df3d791f18337ddd477a854053ef690e4f4edfd43aeab7ba519686c2baa68 SHA512 52fee9354448cb8b471e28ff4ee2a552a975f36d9b6efc3af1b0e3e83a554dc406c502348ea49bbbbec82cf86cbeb9ed7d6df01645a31e4f5211c665abb27dfd
-EBUILD root-6.12.04-r2.ebuild 9863 BLAKE2B 82a42426e15dbc11e7c1811098499de15c43680c43bfd24d44701a4268544ceed20de7d662013725ad13113454981856e81b2e450137953368adb908da47cf57 SHA512 70327e1f82e968c9c089a6a8fa6c498ed42a20a8392d5a58835c996af76b9c8adcb1068f16e0b101a735fc807bcfe12f98c7901b98af86a498c96f9f4d331cd7
+EBUILD root-6.12.04-r2.ebuild 9931 BLAKE2B 91db5e7baf12ba2e12faa959cc258a76f0fa1783f2ae888a50944f9697722f2b9d30a1558df77bfa3561870785fb500559c928dd217f22f1da880c4045c9e60b SHA512 c0ff456b41c16886461ae4c1eb96d1919d65a8ea3ad8c33e73667d15d091455356b11a45cc857d23fe6ab6f56e6b3d6e8c056055c32bbb06821aae6888733016
MISC metadata.xml 3238 BLAKE2B 0396ebafbf0bd14c88f7ba401f12f698ccca313c0c04cab46f9fa198681b0f305f21413bab8a86c97bb65e0bbe00eb6b6f488600402784109dc13ed196d6589b SHA512 2ba887003b3dc6dc3d4de379ec9dde8a7ba8144c2bbd7be50ebcfc7b3bfb3154733edd39007fcd8c380034d028a0d3f352e4cb973d8facd9412f38f820c16b1e
diff --git a/sci-physics/root/root-6.12.04-r2.ebuild b/sci-physics/root/root-6.12.04-r2.ebuild
index 144d2eaaf836..15613207ee75 100644
--- a/sci-physics/root/root-6.12.04-r2.ebuild
+++ b/sci-physics/root/root-6.12.04-r2.ebuild
@@ -4,6 +4,8 @@
EAPI=6
CMAKE_BUILD_TYPE=Release
+# ninja does not work due to fortran
+CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
diff --git a/sci-physics/vgm/Manifest b/sci-physics/vgm/Manifest
new file mode 100644
index 000000000000..a1980489fcb8
--- /dev/null
+++ b/sci-physics/vgm/Manifest
@@ -0,0 +1,4 @@
+DIST vgm.4.4.tar.gz 3064087 BLAKE2B 845d04fa3ebaaa07f90ef7f216cac10e5ca4129ebbd6161e3fecce39663379b2575026186fe2b88ae8bf08f71bed6d8afcbbd5d7aa9922d37b3f9ed900d35a33 SHA512 500ae0e2ac66b580bbc26b6cd1a8bd6d6e3127c99e6fe6babe5825406e576d72da5cd76d22d0d1b82d7df9eb74ddddf084ee9a96b544c97af5b12cbf948d3406
+EBUILD vgm-4.4.ebuild 1503 BLAKE2B 6764a9390ab89da0acf288d84faa3d81a6e5625b297aa33a24672a8a485b16ab3c3520d1c01ce0f39234a4d9b6e594c8fd79db59639a2ee0a2aadf592d209f1d SHA512 c3303252cba3c9aa77d8cac84515cbed4cbe7e51e35f15af76c5093213727deff9c1efe09cb6511d7d8bcae2e16380b328bef916324ff4ab5e7a660de91f3609
+EBUILD vgm-9999.ebuild 1503 BLAKE2B 6764a9390ab89da0acf288d84faa3d81a6e5625b297aa33a24672a8a485b16ab3c3520d1c01ce0f39234a4d9b6e594c8fd79db59639a2ee0a2aadf592d209f1d SHA512 c3303252cba3c9aa77d8cac84515cbed4cbe7e51e35f15af76c5093213727deff9c1efe09cb6511d7d8bcae2e16380b328bef916324ff4ab5e7a660de91f3609
+MISC metadata.xml 887 BLAKE2B 2bed4c9deeb9bbda28704462bf45eaf31d810b115608bd66ccdd8f5e8494556b87962301395d0f0cbf229aaf8d497b1f07b9821600d6c101aad34c5ef49cf643 SHA512 5e52d57dc9cc78020a147c4984aa037b3441f910f6288e75a3919398a0b22d16f312fd910bf0a692bfb039c3540f2854e4f2c660f7d3c4a4c23cbc63f9885dbf
diff --git a/sci-physics/vgm/metadata.xml b/sci-physics/vgm/metadata.xml
new file mode 100644
index 000000000000..cd1e3ea3587f
--- /dev/null
+++ b/sci-physics/vgm/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>o.freyermuth@googlemail.com</email>
+ <name>Oliver Freyermuth</name>
+ <description>Proxy-maintainer, assign bugs</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription lang="en">
+ The Virtual Geometry Model (VGM) is an
+ abstraction layer between the Geant4 and ROOT software.
+ </longdescription>
+ <use>
+ <flag name="geant4">Enable interaction with Geant4(<pkg>sci-physics/geant</pkg>:4)</flag>
+ <flag name="root">Enable interaction with ROOT (<pkg>sci-physics/root</pkg>)</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">vmc-project/vgm</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sci-physics/vgm/vgm-4.4.ebuild b/sci-physics/vgm/vgm-4.4.ebuild
new file mode 100644
index 000000000000..c7202c3244e6
--- /dev/null
+++ b/sci-physics/vgm/vgm-4.4.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2018 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="https://github.com/vmc-project/${PN}.git"
+else
+ SRC_URI="http://ivana.home.cern.ch/ivana/${PN}.${PV}.tar.gz"
+ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+ S="${WORKDIR}/${PN}.${PV}"
+fi
+
+DESCRIPTION="Virtual Geometry Model for High Energy Physics Experiments"
+HOMEPAGE="http://ivana.home.cern.ch/ivana/VGM.html"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="doc examples +geant4 +root test"
+
+RDEPEND="
+ sci-physics/clhep:=
+ root? ( sci-physics/root:= )
+ geant4? ( >=sci-physics/geant-4.10.03 )"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen[dot] )"
+
+DOCS=(
+ doc/README
+ doc/todo.txt
+ doc/VGMhistory.txt
+ doc/VGM.html
+ doc/VGMversions.html
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DCLHEP_DIR="${EROOT}usr"
+ -DWITH_EXAMPLES="$(usex examples)"
+ -DINSTALL_EXAMPLES="$(usex examples)"
+ -DWITH_GEANT4="$(usex geant4)"
+ -DWITH_ROOT="$(usex root)"
+ -DWITH_TEST="$(usex test)"
+ )
+ if use test && use root && use geant4; then
+ mycmakeargs+=( -DWITH_G4ROOT=yes )
+ else
+ mycmakeargs+=( -DWITH_G4ROOT=no )
+ fi
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+ if use doc; then
+ cd packages
+ doxygen || die
+ fi
+}
+
+src_test() {
+ cd "${BUILD_DIR}"/test || die
+ ./test_suite.sh || die
+}
+
+src_install() {
+ cmake-utils_src_install
+ use doc && local HTML_DOCS=( doc/html/. )
+ einstalldocs
+}
diff --git a/sci-physics/vgm/vgm-9999.ebuild b/sci-physics/vgm/vgm-9999.ebuild
new file mode 100644
index 000000000000..c7202c3244e6
--- /dev/null
+++ b/sci-physics/vgm/vgm-9999.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2018 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="https://github.com/vmc-project/${PN}.git"
+else
+ SRC_URI="http://ivana.home.cern.ch/ivana/${PN}.${PV}.tar.gz"
+ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+ S="${WORKDIR}/${PN}.${PV}"
+fi
+
+DESCRIPTION="Virtual Geometry Model for High Energy Physics Experiments"
+HOMEPAGE="http://ivana.home.cern.ch/ivana/VGM.html"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="doc examples +geant4 +root test"
+
+RDEPEND="
+ sci-physics/clhep:=
+ root? ( sci-physics/root:= )
+ geant4? ( >=sci-physics/geant-4.10.03 )"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen[dot] )"
+
+DOCS=(
+ doc/README
+ doc/todo.txt
+ doc/VGMhistory.txt
+ doc/VGM.html
+ doc/VGMversions.html
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DCLHEP_DIR="${EROOT}usr"
+ -DWITH_EXAMPLES="$(usex examples)"
+ -DINSTALL_EXAMPLES="$(usex examples)"
+ -DWITH_GEANT4="$(usex geant4)"
+ -DWITH_ROOT="$(usex root)"
+ -DWITH_TEST="$(usex test)"
+ )
+ if use test && use root && use geant4; then
+ mycmakeargs+=( -DWITH_G4ROOT=yes )
+ else
+ mycmakeargs+=( -DWITH_G4ROOT=no )
+ fi
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+ if use doc; then
+ cd packages
+ doxygen || die
+ fi
+}
+
+src_test() {
+ cd "${BUILD_DIR}"/test || die
+ ./test_suite.sh || die
+}
+
+src_install() {
+ cmake-utils_src_install
+ use doc && local HTML_DOCS=( doc/html/. )
+ einstalldocs
+}