public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/vgm/
Date: Mon,  7 Jul 2014 06:36:47 +0000 (UTC)	[thread overview]
Message-ID: <1404678712.20fec395aeec140cb11e0cde9c7c486434e36f5a.jlec@gentoo> (raw)

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

New live ebuild for VGM, adapting to fixes for cmake install paths in upstream (no need to manually install in ebuild anymore).
Released VGM-4.00 does not have these fixes yet, I am discussing with upstream whether they can also provide some tarballs of released versions (as sourceforge svn-snapshotting is unusable for us) and delay packaging of VGM-4.00 until then.

---
 sci-physics/vgm/ChangeLog       |  6 ++++
 sci-physics/vgm/vgm-9999.ebuild | 68 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/sci-physics/vgm/ChangeLog b/sci-physics/vgm/ChangeLog
index 78f7e21..a316389 100644
--- a/sci-physics/vgm/ChangeLog
+++ b/sci-physics/vgm/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*vgm-9999 (06 Jul 2014)
+
+  06 Jul 2014; Oliver Freyermuth <o.freyermuth@googlemail.com> +vgm-9999.ebuild:
+  New live ebuild for VGM, adapting to fixes for cmake install paths in upstream
+  (no need to manually install in ebuild anymore).
+
   03 Apr 2014; Oliver Freyermuth <o.freyermuth@googlemail.com> vgm-3.06.ebuild:
   Use zip-snapshot mirrored by jlec, sourceforge cannot automatically recreate
   them and changes CRC each time

diff --git a/sci-physics/vgm/vgm-9999.ebuild b/sci-physics/vgm/vgm-9999.ebuild
new file mode 100644
index 0000000..ddadd99
--- /dev/null
+++ b/sci-physics/vgm/vgm-9999.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit cmake-utils versionator subversion
+
+if [[ ${PV} == *9999* ]]; then
+	ESVN_REPO_URI="svn://svn.code.sf.net/p/vgm/code/trunk/vgm"
+	KEYWORDS=""
+else
+	# .zip-snapshot can be recreated by visiting
+	# http://sourceforge.net/p/${PN}/code/${COMMIT}/tarball?path=/tags/v$(replace_all_version_separators '-')
+	TAG_VER="${PN}-code-731-tags-v$(replace_all_version_separators '-')"
+	SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${TAG_VER}.zip"
+	S=${WORKDIR}/${TAG_VER}/${PN}
+	KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+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 xml"
+
+RDEPEND="
+	sci-physics/clhep:=
+	root? ( sci-physics/root:= )
+	geant4? ( >=sci-physics/geant-4.9.6 )
+	xml? ( dev-libs/xerces-c )"
+DEPEND="${RDEPEND}
+	doc? ( app-doc/doxygen[dot] )
+	test? ( geant4? ( xml? ( >=sci-physics/geant-4.9.6[gdml] ) ) )"
+
+src_configure() {
+	local mycmakeargs=(
+		-DCLHEP_DIR="${EROOT}usr"
+		$(cmake-utils_use_with examples)
+		$(cmake-utils_use examples VGM_INSTALL_EXAMPLES)
+		$(cmake-utils_use_with geant4)
+		$(cmake-utils_use_with root)
+		$(cmake-utils_use_with test)
+		$(cmake-utils_use_with xml xercesc)
+	)
+	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
+	./test_suite.sh || die
+}
+
+src_install() {
+	cmake-utils_src_install
+	cd doc || die
+	dodoc README todo.txt VGMhistory.txt VGM.html VGMversions.html
+	use doc && dohtml -r html/*
+}


             reply	other threads:[~2014-07-07  6:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-07  6:36 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-09-22  2:10 [gentoo-commits] proj/sci:master commit in: sci-physics/vgm/ Aisha Tammy
2014-07-07  6:36 Justin Lecher
2014-04-03 17:48 Sebastien Fabbro
2014-03-27 21:51 Sebastien Fabbro
2014-03-23 13:58 Christoph Junghans
2013-01-21 17:33 Sebastien Fabbro
2013-01-18 23:59 Sebastien Fabbro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1404678712.20fec395aeec140cb11e0cde9c7c486434e36f5a.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox