summaryrefslogtreecommitdiff
path: root/sci-physics/vgm/vgm-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sci-physics/vgm/vgm-9999.ebuild')
-rw-r--r--sci-physics/vgm/vgm-9999.ebuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/sci-physics/vgm/vgm-9999.ebuild b/sci-physics/vgm/vgm-9999.ebuild
index 1b4fee789728..3f6fd2b4e8e0 100644
--- a/sci-physics/vgm/vgm-9999.ebuild
+++ b/sci-physics/vgm/vgm-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -8,7 +8,6 @@ inherit cmake
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/vmc-project/${PN}.git"
- KEYWORDS=""
else
MY_PV=$(ver_rs 1- -)
SRC_URI="https://github.com/vmc-project/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
@@ -17,7 +16,7 @@ else
fi
DESCRIPTION="Virtual Geometry Model for High Energy Physics Experiments"
-HOMEPAGE="https://ivana.home.cern.ch/ivana/VGM.html"
+HOMEPAGE="https://ivana.home.cern.ch/ivana/VGM.html https://github.com/vmc-project/vgm/"
LICENSE="GPL-2"
SLOT="0"
@@ -38,7 +37,8 @@ DEPEND="${RDEPEND}
RESTRICT="
!geant4? ( test )
!root? ( test )
- !test? ( test )"
+ !test? ( test )
+ !examples? ( test )"
DOCS=(
doc/README
@@ -75,7 +75,9 @@ src_compile() {
src_test() {
cd "${BUILD_DIR}"/test || die
- ./test_suite.sh || die
+ # See upstream issue: https://github.com/vmc-project/vgm/issues/5
+ sed -i 's/ ScaledSolids / /' test3_suite.sh || die
+ PATH="${BUILD_DIR}"/test:${PATH} ./test_suite.sh || die
}
src_install() {