public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/geant/
Date: Mon,  6 Feb 2017 22:47:27 +0000 (UTC)	[thread overview]
Message-ID: <1486421131.a0828197f5e023de0f7268838a18cac51b05fc56.soap@gentoo> (raw)

commit:     a0828197f5e023de0f7268838a18cac51b05fc56
Author:     Gerhard Bräunlich <wippbox <AT> gmx <DOT> net>
AuthorDate: Sat Feb  4 23:13:55 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Feb  6 22:45:31 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0828197

sci-physics/geant: Version bump to 4.10.03, EAPI bump 5 -> 6

Package-Manager: portage-2.3.3
Closes: https://github.com/gentoo/gentoo/pull/3817

 sci-physics/geant/Manifest             |  1 +
 sci-physics/geant/geant-4.10.03.ebuild | 94 ++++++++++++++++++++++++++++++++++
 2 files changed, 95 insertions(+)

diff --git a/sci-physics/geant/Manifest b/sci-physics/geant/Manifest
index d7afe59..b56cb9c 100644
--- a/sci-physics/geant/Manifest
+++ b/sci-physics/geant/Manifest
@@ -14,5 +14,6 @@ DIST geant4.10.00.tar.gz 30780131 SHA256 ffec1714b03748b6d691eb0b91906f4c74422c1
 DIST geant4.10.01.p02.tar.gz 33708464 SHA256 ee7917f6a4fe4c714cc9c68abaa3a2c32628d328186d8514d7cdecd7c639143f SHA512 056ffca00b6e0496748aa1ca34a0a349eea607505b093f7148557a4e2a704cdb6949731f5313508eff311a3075b53841c4f332f057604c0826b76db0089fc082 WHIRLPOOL 52cdea3f5fc97744cf0547fa374279d5e77e05acb4f44e629970d4c856c52a541c41ebbcb6f4cdcdb4759a0855172ac9825f7bd2a254795ec2f737a3b9dc4a42
 DIST geant4.10.01.tar.gz 43759041 SHA256 d37400e96423fedfbf8dbe1f49e2ef0367317c3893ad99f28eed06bf97e1feb7 SHA512 6b9f154f705e7ca4918dea3e2a9ccc0e6fa8806fd4466b4b947f9beec35968640dbe32d383c2a138f15e40b10085c717256cc1604f4d8407e7cb28e5772b52e6 WHIRLPOOL 24316ae5a05026d7e2eff8fad2d628b2198f810d8a82bb934c6c9481961b6b8b3d68393aed785aa8664ea57074e006211df1d9391fbaed154578fe03f3fb6339
 DIST geant4.10.02.tar.gz 32312192 SHA256 633ca2df88b03ba818c7eb09ba21d0667a94e342f7d6d6ff3c695d83583b8aa3 SHA512 f10fd1205b986f0ad069727ac867f1cd13e2a9da088462e70ba1eb58dee84276c0e5a5f764eee44e3ca832ed0ac4591b29645cd3dcc6b0e57e5fb1bc0c0dc6ea WHIRLPOOL 54835776b40d3fe45d13ea6505a0b7fda126e3a9859ba134225e5bbc2f53f0f66bf363c2cf4ef0f0572ce19004d52f83cef91d27e61c17a2761fc0c82bd3a81a
+DIST geant4.10.03.tar.gz 33143770 SHA256 7da84f3d7ddea31db2130c4769a474a7bd387839cc9c04d3081408a7004cb73b SHA512 61d67e57f1576ab10562f2309995897008b4be1aa60f7e471b4f5efc2d852788d5faf60e64ea7024a4af4035d98c04c0be23df8593a4ed3a510af6b476013c56 WHIRLPOOL af33aff011420c5c96d0227dd5b4e9c183cb977ac80013feb0391992f3815c89e06e850bbb3dca9e93ecca911583f4195331f2a70edfbd6e0585056c14f49d59
 DIST geant4.9.4.p03.tar.gz 25241424 SHA256 5090ca5b506238f16ba2ae2176221a18b6fde06f91180850a109fae1006910c0 SHA512 281b224c126c41cda6b128218dfeb2d77e0e06ca08d2a3dd039be009e3736f3befbf8dd8838543eea197341a5c382543240bf429c38e5e8ca6f0628eb65080b4 WHIRLPOOL 6e9929296624b35cf83a7325d32221f2aaf724b1c27e4f666fea960343c030f08be61723998c5c19cd74a688610a123e3699c907fe5e44f8df2e8058f8691ea5
 DIST geant4.9.6.p02.tar.gz 25480383 SHA256 cf5df83b7e2c99e6729449b32d3ecb0727b4692317426b66fc7fd41951c7351f SHA512 dab5f31568074869adecbbfb8855be0c0a2e92e5ba3119dbeb9cd414878721df3052198a05e5e3c19d0e2942a22602c6618dc0628b05134d3403a50c2bc2032c WHIRLPOOL 8c66d8aa1605a42e6b6f054c32eb49df0bb2afcdf54360ff630908ce7cfc8a7a37b62cdb2a1612af05f1f70a5575c6516aad1f6737a67692449b01e1137b2865

diff --git a/sci-physics/geant/geant-4.10.03.ebuild b/sci-physics/geant/geant-4.10.03.ebuild
new file mode 100644
index 00000000..f9619c4
--- /dev/null
+++ b/sci-physics/geant/geant-4.10.03.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils versionator
+
+MY_P=${PN}${PV}
+SPV="$(get_version_component_range 1 ${PV}).$(get_version_component_range 2 ${PV}).$(printf %1d $(get_version_component_range 3 ${PV}))"
+
+DESCRIPTION="Toolkit for simulation of passage of particles through matter"
+HOMEPAGE="http://geant4.cern.ch/"
+SRC_URI="http://geant4.cern.ch/support/source/${MY_P}.tar.gz"
+
+LICENSE="geant4"
+SLOT="4"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="+data dawn doc examples gdml geant3 inventor motif opengl
+	raytracerx qt4 static-libs vrml zlib threads"
+
+RDEPEND="
+	dev-libs/expat
+	>=sci-physics/clhep-2.3.3.0:2=
+	dawn? ( media-gfx/dawn )
+	gdml? ( dev-libs/xerces-c )
+	motif? ( x11-libs/motif:0 )
+	opengl? ( virtual/opengl )
+	inventor? ( media-libs/SoXt )
+	qt4? (
+		dev-qt/qtgui:4
+		opengl? ( dev-qt/qtopengl:4 )
+	)
+	raytracerx? (
+		x11-libs/libX11
+		x11-libs/libXmu
+	)
+	zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND} prefix? ( app-shells/tcsh )"
+PDEPEND="
+	data? ( ~sci-physics/geant-data-${PV} )
+	doc? ( ~app-doc/geant-docs-${PV} )"
+
+HTML_DOCS=( ReleaseNotes/ReleaseNotes${SPV}.html )
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+	cmake-utils_src_prepare
+
+	if ! use examples; then
+		sed -i '/install(DIRECTORY examples/,/)/d' CMakeLists.txt || die
+	fi
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DGEANT4_USE_SYSTEM_CLHEP=ON
+		-DGEANT4_INSTALL_DATA=OFF
+		-DUSE_GEANT4_BUILD_MULTITHREADED=$(usex threads)
+		-DUSE_GEANT4_USE_NETWORKDAWN=$(usex dawn)
+		-DUSE_GEANT4_USE_GDML=$(usex gdml)
+		-DUSE_GEANT4_USE_G3TOG4=$(usex geant3)
+		-DUSE_GEANT4_USE_XM=$(usex motif)
+		-DUSE_GEANT4_USE_OPENGL_X11=$(usex opengl)
+		-DUSE_GEANT4_USE_INVENTOR=$(usex inventor)
+		-DUSE_GEANT4_USE_QT=$(usex qt4)
+		-DUSE_GEANT4_USE_RAYTRACER_X11=$(usex raytracerx)
+		-DUSE_GEANT4_USE_NETWORKVRML=$(usex vrml)
+		-DUSE_GEANT4_USE_SYSTEM_ZLIB=$(usex zlib)
+		-DBUILD_STATIC_LIBS=$(usex static-libs)
+	)
+	if use inventor; then
+		mycmakeargs+=(
+			-DINVENTOR_INCLUDE_DIR="$(coin-config --includedir)"
+			-DINVENTOR_SOXT_INCLUDE_DIR="$(coin-config --includedir)"
+		)
+	fi
+	cmake-utils_src_configure
+}
+
+src_install() {
+	# adjust clhep linking flags for system clhep
+	# binmake.gmk is only useful for legacy build systems
+	sed -i -e 's/-lG4clhep/-lCLHEP/' config/binmake.gmk || die
+	cmake-utils_src_install
+	[[ -f ReleaseNotes/Patch${SPV}-1.txt ]] && DOCS+=( ReleaseNotes/Patch${SPV}-*.txt )
+	einstalldocs
+}
+
+pkg_postinst() {
+	elog "The following scripts are provided for backward compatibility:"
+	elog "$(ls -1 ${EROOT%/}/usr/share/${PN^}${SPV}.*/geant4make/*sh)"
+}


             reply	other threads:[~2017-02-06 22:48 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-06 22:47 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-30 14:19 [gentoo-commits] repo/gentoo:master commit in: sci-physics/geant/ Guilherme Amadio
2024-04-23 20:37 Sam James
2024-03-10 20:04 Guilherme Amadio
2024-03-10 20:04 Guilherme Amadio
2024-03-10 20:04 Guilherme Amadio
2023-12-13 12:40 Guilherme Amadio
2023-12-05 12:16 Guilherme Amadio
2023-12-05 12:16 Guilherme Amadio
2023-11-23  7:59 Guilherme Amadio
2023-10-31 11:46 Guilherme Amadio
2023-10-31 11:46 Guilherme Amadio
2023-09-12 21:14 Guilherme Amadio
2023-06-09 15:06 Arthur Zamarin
2023-05-24  6:50 Guilherme Amadio
2023-05-24  6:50 Guilherme Amadio
2023-05-24  6:50 Guilherme Amadio
2023-05-24  6:50 Guilherme Amadio
2023-05-24  6:50 Guilherme Amadio
2023-01-30 19:48 Andreas Sturmlechner
2022-12-18 20:01 Arthur Zamarin
2022-12-15 15:40 Guilherme Amadio
2022-11-03 22:57 Sam James
2022-09-19 13:31 Guilherme Amadio
2022-09-19 12:11 Guilherme Amadio
2022-09-19 12:11 Guilherme Amadio
2022-09-19 12:11 Guilherme Amadio
2022-09-04 12:12 David Seifert
2022-08-26 10:46 Sam James
2022-05-31  6:53 Guilherme Amadio
2022-05-31  6:53 Guilherme Amadio
2022-05-31  6:53 Guilherme Amadio
2022-05-23 15:21 Guilherme Amadio
2022-03-10 13:07 Guilherme Amadio
2021-12-15  9:57 Guilherme Amadio
2021-12-14 22:03 Guilherme Amadio
2021-12-14 15:12 Guilherme Amadio
2021-12-14 15:12 Guilherme Amadio
2021-12-14 15:12 Guilherme Amadio
2021-11-19 16:27 Guilherme Amadio
2021-06-29 11:48 Guilherme Amadio
2021-06-28 16:15 Guilherme Amadio
2021-06-28 13:10 Guilherme Amadio
2021-06-28 10:46 Guilherme Amadio
2021-06-14  9:27 Guilherme Amadio
2021-06-14  9:27 Guilherme Amadio
2021-03-04 11:03 Guilherme Amadio
2021-03-04 10:53 Guilherme Amadio
2020-12-05 14:58 Guilherme Amadio
2020-12-01  9:42 Guilherme Amadio
2020-11-18 15:50 Guilherme Amadio
2020-11-18 15:50 Guilherme Amadio
2020-06-03  7:47 Guilherme Amadio
2020-06-02  8:48 Guilherme Amadio
2020-04-07 12:50 Guilherme Amadio
2020-03-16 16:59 Guilherme Amadio
2020-03-16 16:59 Guilherme Amadio
2019-06-30  3:56 Benda XU
2018-05-18 15:38 Guilherme Amadio
2018-01-12 18:52 Andreas Sturmlechner
2018-01-12 18:52 Andreas Sturmlechner
2018-01-12 18:52 Andreas Sturmlechner
2017-02-06 22:47 David Seifert
2017-01-01 16:32 Johannes Huber
2016-07-04 18:20 Andrew Savchenko
2016-01-12 19:58 Guilherme Amadio
2016-01-12 19:06 Guilherme Amadio
2015-11-11 10:04 Justin Lecher
2015-11-11  9:54 Agostino Sarubbo
2015-11-10 11:45 Agostino Sarubbo

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=1486421131.a0828197f5e023de0f7268838a18cac51b05fc56.soap@gentoo \
    --to=soap@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