summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2022-12-15 16:27:42 +0100
committerGuilherme Amadio <amadio@gentoo.org>2022-12-15 16:40:10 +0100
commit113e14cbf0ee293d8da13e281fdc142b76dc8d4e (patch)
tree08abe31800b5983621074ac99702b7fdde69384f /sci-physics/geant-data
parentsci-physics/clhep: stabilize 2.4.5.3 for amd64, x86 (diff)
downloadgentoo-113e14cbf0ee293d8da13e281fdc142b76dc8d4e.tar.gz
gentoo-113e14cbf0ee293d8da13e281fdc142b76dc8d4e.tar.bz2
gentoo-113e14cbf0ee293d8da13e281fdc142b76dc8d4e.zip
sci-physics/geant-data: version bump to 4.11.1.0
Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Diffstat (limited to 'sci-physics/geant-data')
-rw-r--r--sci-physics/geant-data/Manifest2
-rw-r--r--sci-physics/geant-data/geant-data-4.11.1.0.ebuild49
2 files changed, 51 insertions, 0 deletions
diff --git a/sci-physics/geant-data/Manifest b/sci-physics/geant-data/Manifest
index 1c0bc4c608d2..c0b366596b07 100644
--- a/sci-physics/geant-data/Manifest
+++ b/sci-physics/geant-data/Manifest
@@ -1,9 +1,11 @@
DIST G4ABLA.3.1.tar.gz 107286 BLAKE2B ff60665b01dcdb85a76028af472e6f71068b8132187701c46e5c4e8509125d34853d3c574561be22f34cc5f35503ec0808f2964888cd19259392de8054f19647 SHA512 4178870783ca015dade0b07006afc27fed095ff195251c672a0812f9c8e13908b5dfa9a127e8f3ec473f242bf7faf6d49a3371a75e669a06245722924b7c4278
DIST G4EMLOW.7.13.tar.gz 298636910 BLAKE2B ee9c83410183a6fef3a2d44e866818a765f85aecb637879a6f96b2958e0c3675acb0a2891b6dd07c81fffabcb95dcc541f23f076b4aa1cbb2131e72b2b869b93 SHA512 8789ee0cae6d62c6e6af5f8c5f49706f37230df609cad375bef9568d13d5cd62fa1bded616385fd4790d047bb305090ba08957980fe7881d169a2a0e31693879
DIST G4EMLOW.8.0.tar.gz 326834565 BLAKE2B fff006b48524cd840871fa50a4d7af671e871f0bb84da780c151899285a583dff3c1fd15e0e5652d43e6d170512e41ec4b003ed335a5e850b2aa7fc4d2822b13 SHA512 754e875a461950a9ad1accef5a83970f8c7bfdbc1970fedb35eefd1f70d5b5309c3d6c3c262892bf9318330e1ab721a76c7836d8b880205af69fa3c1a0c7e079
+DIST G4EMLOW.8.2.tar.gz 329428359 BLAKE2B 06630cd193783b52a3f501037d82c239304d1527c98587ae6297d7c21db3cc4e9e521833f6a301f82ed8e57eeb110a56315aedb9eedb0ea3f6d2939987ce8630 SHA512 93bf3595604c11e821fb9eeecf6adbe55289a1033ce31aaf9ebe751822cb4d8b986ec9af7459753cb4f475b9af04e799cc7211a8e5edc199c2d0a1105f877af6
DIST G4ENSDFSTATE.2.3.tar.gz 290745 BLAKE2B 89c642a43ebcb979b233cfb1af1bde9b2f4fd5a5ff2f282f8975aae9514c3579d67e66b1b3559e75a633b13d272c0f54fc41aef415463583a6920fc6e3f66b78 SHA512 0f92d1871f532a979829406a150e263ac13141e594acca6728edd1dbe0a181c03d0be23f7cbb6a6e73550dc71bf1337edb799c9845dff6df991b44ea8cb8ceec
DIST G4INCL.1.0.tar.gz 95840 BLAKE2B 2c264b7563620cdbdb8a5e529f21766a5b5ea3e2e51047362518714d01854de8d9ca2ca2a0183ab672cc2f8a4d951327b0e1a7298799695fd48233fa5e529686 SHA512 9d769566d1728674bd6d1e59fc05882943cd240d2f0a9e47dff37fa64fe27720b20b66f6dea6d300c3c9082a22f7f71bb416df8c7d2b5bae87251c4a0113f49b
DIST G4NDL.4.6.tar.gz 599862135 BLAKE2B 78e30dd0f02f3b7d7fce12a3a4dcb83e1405ba45f19ed2a743ee7e72be426e09a31cedb521a62a116a8a580a39c83987d4e39ab621b73e0d7a41e7dab8f36d41 SHA512 29b7d933d3e691b03cf45db0c4a9335c03f34ce57149a37b66a0f85e41d500d985f86bc8becc206d85202f129f60ea9fb1ef16bc4a9eef48cde593ffd5a85f24
+DIST G4NDL.4.7.tar.gz 1114928821 BLAKE2B 03595a4d200e1d87eb02ebdfe13172dd166212c3e29cc2e568dcd41e0d89923dbb1c5eda3e1c7630d155cdd0a95859bbc4ed9dca3d7c2f50f3936ec179679d88 SHA512 035ff48e1976fc4ee4fe3af373dbfa002112ae2dde0330678ddf4fec7da003309abe94044f13bdcbf8615fcfccbeec56e655be7bff04e703c738e3c5b7461380
DIST G4PARTICLEXS.3.1.1.tar.gz 8613102 BLAKE2B ec515e090a847021d184ff63957a252f3b2329531f20b63baf64ee94550b1e97f300ba817c8830e7597fa03af46a8593f9ecb072a3e63487de4855e2ab0def28 SHA512 afc38e0815462a9ec2ee969bd730dee86922d6eb03bddee7a031fcb5cd1e474cc316a2c81b8d8f3e17659bb1a1373bf623ca33c8b03fd934d8cc178d0b3a25b4
DIST G4PARTICLEXS.4.0.tar.gz 12242648 BLAKE2B 3f092e460e612c13b423cc364d7f040f28a1261fb38fda05f644b3a29fea4d78564330899d1a63cdad33b0e56153d6a88ebfc5fe8308ef49dadbb754a81635e0 SHA512 ccc0284ce8735d60b8597856fa27ba33959de93664ad849608689b9d7c7a34245f2eac32f607b9dac6d62afe69b2bce4007665a9482ef209c5c7ff759b20dab4
DIST G4PII.1.3.tar.gz 4293607 BLAKE2B 1ddf90c0e49ea51129b08bf6eb3cdf62f88abe19325e8aec76f156da32602c0498ddee36d1598035fa21df95f9d86b99137f9a6f49d7c9ef2b8eb6081db233b1 SHA512 dc458f5845948f54315477886d28fd51ea2d45f3675f45d42e8352cc5961705d920d200097dc9b55ad826ff426a655258b970ddd5a96867f706eb14e9ebbfd1a
diff --git a/sci-physics/geant-data/geant-data-4.11.1.0.ebuild b/sci-physics/geant-data/geant-data-4.11.1.0.ebuild
new file mode 100644
index 000000000000..11d98c4d2e2f
--- /dev/null
+++ b/sci-physics/geant-data/geant-data-4.11.1.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2022 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.7 G4NEUTRONHPDATA"
+ [G4EMLOW]="G4EMLOW 8.2 G4LEDATA"
+ [PhotonEvaporation]="G4PhotonEvaporation 5.7 G4LEVELGAMMADATA"
+ [RadioactiveDecay]="G4RadioactiveDecay 5.6 G4RADIOACTIVEDATA"
+ [G4PARTICLEXS]="G4PARTICLEXS 4.0 G4PARTICLEXSDATA"
+ [G4PII]="G4PII 1.3 G4PIIDATA"
+ [RealSurface]="G4RealSurface 2.2 G4REALSURFACEDATA"
+ [G4SAIDDATA]="G4SAIDDATA 2.0 G4SAIDXSDATA"
+ [G4ABLA]="G4ABLA 3.1 G4ABLADATA"
+ [G4INCL]="G4INCL 1.0 G4INCLDATA"
+ [G4ENSDFSTATE]="G4ENSDFSTATE 2.3 G4ENSDFSTATEDATA"
+ [G4TENDL]="G4TENDL 1.4 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() {
+ dodir /usr/share/geant4/data
+ cd "${ED}/usr/share/geant4/data" || die
+ unpack ${A}
+}