public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Guilherme Amadio" <amadio@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/geant-data/
Date: Wed, 18 Nov 2020 15:50:09 +0000 (UTC)	[thread overview]
Message-ID: <1605714548.5426e2ba7368d0c82fc0119f511105634c92ac13.amadio@gentoo> (raw)

commit:     5426e2ba7368d0c82fc0119f511105634c92ac13
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 18 13:24:46 2020 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Nov 18 15:49:08 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5426e2ba

sci-physics/geant-data: version bump for 4.10.6.3

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>

 sci-physics/geant-data/geant-data-4.10.6.3.ebuild | 54 +++++++++++++++++++++++
 1 file changed, 54 insertions(+)

diff --git a/sci-physics/geant-data/geant-data-4.10.6.3.ebuild b/sci-physics/geant-data/geant-data-4.10.6.3.ebuild
new file mode 100644
index 00000000000..23e22d50b30
--- /dev/null
+++ b/sci-physics/geant-data/geant-data-4.10.6.3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Data files for Geant4 physical processes"
+HOMEPAGE="https://geant4.web.cern.ch"
+SRC_DATA="https://geant4-data.web.cern.ch/geant4-data/datasets"
+
+declare -A DATASETS
+
+DATASETS=(
+	[G4NDL]="G4NDL 4.6 G4NEUTRONHPDATA"
+	[G4EMLOW]="G4EMLOW 7.9.1 G4LEDATA"
+	[PhotonEvaporation]="G4PhotonEvaporation 5.5 G4LEVELGAMMADATA"
+	[RadioactiveDecay]="G4RadioactiveDecay 5.4 G4RADIOACTIVEDATA"
+	[G4PARTICLEXS]="G4PARTICLEXS 2.1 G4PARTICLEXSDATA"
+	[G4PII]="G4PII 1.3 G4PIIDATA"
+	[RealSurface]="G4RealSurface 2.1.1 G4REALSURFACEDATA"
+	[G4SAIDDATA]="G4SAIDDATA 2.0 G4SAIDXSDATA"
+	[G4ABLA]="G4ABLA 3.1 G4ABLADATA"
+	[G4INCL]="G4INCL 1.0 G4INCLDATA"
+	[G4ENSDFSTATE]="G4ENSDFSTATE 2.2 G4ENSDFSTATEDATA"
+	[G4TENDL]="G4TENDL 1.3.2 G4PARTICLEHPDATA"
+)
+
+for DATASET in ${!DATASETS[@]}; do
+	read FILENAME VERSION ENVVAR <<< "${DATASETS[$DATASET]}"
+	SRC_URI+="${SRC_DATA}/${FILENAME}.${VERSION}.tar.gz "
+done
+unset DATASET FILENAME VERSION ENVVAR
+
+LICENSE="geant4"
+SLOT="4"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+S="${WORKDIR}"
+
+src_unpack() {
+	# unpack in destination only to avoid copy
+	return
+}
+
+src_install() {
+	for DATASET in ${!DATASETS[@]}; do
+		read FILENAME VERSION ENVVAR <<< "${DATASETS[$DATASET]}"
+		echo $ENVVAR=\"${EPREFIX}/usr/share/geant4/data/${DATASET}${VERSION}\";
+	done >| 99geant-data
+	doenvd 99geant-data
+	dodir /usr/share/geant4/data
+	cd "${ED}/usr/share/geant4/data" || die
+	unpack ${A}
+}


             reply	other threads:[~2020-11-18 15:50 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-18 15:50 Guilherme Amadio [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-10 20:04 [gentoo-commits] repo/gentoo:master commit in: sci-physics/geant-data/ Guilherme Amadio
2024-03-10 20:04 Guilherme Amadio
2023-12-13 12:40 Guilherme Amadio
2023-10-31 11:46 Guilherme Amadio
2023-06-09 15:06 Arthur Zamarin
2023-05-24  6:50 Guilherme Amadio
2023-05-24  6:50 Guilherme Amadio
2022-12-15 15:40 Guilherme Amadio
2022-05-31  6:53 Guilherme Amadio
2021-12-14 15:12 Guilherme Amadio
2021-12-14 15:12 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
2021-01-20 10:16 David Seifert
2020-12-05 14:58 Guilherme Amadio
2020-11-19 15:36 Guilherme Amadio
2020-11-18 15:50 Guilherme Amadio
2020-11-18 15:50 Guilherme Amadio
2020-06-04  6:33 Matt Turner
2020-04-27  9:05 Guilherme Amadio
2020-03-16 16:59 Guilherme Amadio
2020-03-16 16:59 Guilherme Amadio
2020-03-16 16:59 Guilherme Amadio
2019-07-05 14:58 Ulrich Müller
2019-06-30 10:47 Benda XU
2019-06-30  3:56 Benda XU
2018-01-19 18:40 Andreas Sturmlechner
2017-11-25 17:42 David Seifert
2017-02-06 22:47 David Seifert
2016-01-12 19:06 Guilherme Amadio

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=1605714548.5426e2ba7368d0c82fc0119f511105634c92ac13.amadio@gentoo \
    --to=amadio@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