summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2023-12-12 13:51:37 +0100
committerGuilherme Amadio <amadio@gentoo.org>2023-12-13 13:34:25 +0100
commitde34a6afec71cd971a4ea691c67bf61a065c9e42 (patch)
tree210a1414f2929210184bb37cac7269730960b889 /sci-physics
parentdev-cpp/tomlplusplus: add MrRoy as maintainer (diff)
downloadgentoo-de34a6afec71cd971a4ea691c67bf61a065c9e42.tar.gz
gentoo-de34a6afec71cd971a4ea691c67bf61a065c9e42.tar.bz2
gentoo-de34a6afec71cd971a4ea691c67bf61a065c9e42.zip
sci-physics/geant-data: add 4.11.2.0
Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/geant-data/Manifest3
-rw-r--r--sci-physics/geant-data/geant-data-4.11.2.0.ebuild48
2 files changed, 51 insertions, 0 deletions
diff --git a/sci-physics/geant-data/Manifest b/sci-physics/geant-data/Manifest
index 12f8b8df3a58..600628b0c61b 100644
--- a/sci-physics/geant-data/Manifest
+++ b/sci-physics/geant-data/Manifest
@@ -1,8 +1,11 @@
DIST G4ABLA.3.1.tar.gz 107286 BLAKE2B ff60665b01dcdb85a76028af472e6f71068b8132187701c46e5c4e8509125d34853d3c574561be22f34cc5f35503ec0808f2964888cd19259392de8054f19647 SHA512 4178870783ca015dade0b07006afc27fed095ff195251c672a0812f9c8e13908b5dfa9a127e8f3ec473f242bf7faf6d49a3371a75e669a06245722924b7c4278
+DIST G4ABLA.3.3.tar.gz 170253 BLAKE2B 57598e044d7f40c59aeff35160008b257b29b4a5a10ca4a083a4dcd2fbac4d0558b2560918865d7e5101d0121bb671b930c70524933e6e34c86ffd34c45e5e06 SHA512 579da18ee262392d554846c58ec9e55890f8a7e3c057314a327fbe87fe3d51f0664fe5ce6c502bf33d61716bcfffcff94c1ad6339ceee728e7c982262a615f5b
DIST G4EMLOW.8.0.tar.gz 326834565 BLAKE2B fff006b48524cd840871fa50a4d7af671e871f0bb84da780c151899285a583dff3c1fd15e0e5652d43e6d170512e41ec4b003ed335a5e850b2aa7fc4d2822b13 SHA512 754e875a461950a9ad1accef5a83970f8c7bfdbc1970fedb35eefd1f70d5b5309c3d6c3c262892bf9318330e1ab721a76c7836d8b880205af69fa3c1a0c7e079
DIST G4EMLOW.8.2.tar.gz 329428359 BLAKE2B 06630cd193783b52a3f501037d82c239304d1527c98587ae6297d7c21db3cc4e9e521833f6a301f82ed8e57eeb110a56315aedb9eedb0ea3f6d2939987ce8630 SHA512 93bf3595604c11e821fb9eeecf6adbe55289a1033ce31aaf9ebe751822cb4d8b986ec9af7459753cb4f475b9af04e799cc7211a8e5edc199c2d0a1105f877af6
+DIST G4EMLOW.8.5.tar.gz 340782306 BLAKE2B 74e0bf372c455edee7577cf5c46712b5cffe919d7c5203c1577d8c1dce0ae8a9e615a783df553af62190971ff6340e0220efa26d3ade54672cf7182a3f30aaa9 SHA512 fa5de4841bb24267de89d70237446bb785cb326caa81624fc58983837940f9f09105ef44038b11867f16ccee2cd780a083bcf38d0b5e593afb8cc5562091fb7f
DIST G4ENSDFSTATE.2.3.tar.gz 290745 BLAKE2B 89c642a43ebcb979b233cfb1af1bde9b2f4fd5a5ff2f282f8975aae9514c3579d67e66b1b3559e75a633b13d272c0f54fc41aef415463583a6920fc6e3f66b78 SHA512 0f92d1871f532a979829406a150e263ac13141e594acca6728edd1dbe0a181c03d0be23f7cbb6a6e73550dc71bf1337edb799c9845dff6df991b44ea8cb8ceec
DIST G4INCL.1.0.tar.gz 95840 BLAKE2B 2c264b7563620cdbdb8a5e529f21766a5b5ea3e2e51047362518714d01854de8d9ca2ca2a0183ab672cc2f8a4d951327b0e1a7298799695fd48233fa5e529686 SHA512 9d769566d1728674bd6d1e59fc05882943cd240d2f0a9e47dff37fa64fe27720b20b66f6dea6d300c3c9082a22f7f71bb416df8c7d2b5bae87251c4a0113f49b
+DIST G4INCL.1.2.tar.gz 98438 BLAKE2B bac691277d3dcb6e617c2e522852e789a8f05388d3902d8c73756634e570c503496883fa699f6b698c0c32392b38e60af7762ee655d0dcf23c183d16bd49f574 SHA512 fb2e92814b9d22ce5b683daa9a08887fb96b61047c3bc4087c4a1e3d92f54d26f4fe032b90a6208e9a82283b24d3915cbace581e37617b91b20adecd93c33849
DIST G4NDL.4.6.tar.gz 599862135 BLAKE2B 78e30dd0f02f3b7d7fce12a3a4dcb83e1405ba45f19ed2a743ee7e72be426e09a31cedb521a62a116a8a580a39c83987d4e39ab621b73e0d7a41e7dab8f36d41 SHA512 29b7d933d3e691b03cf45db0c4a9335c03f34ce57149a37b66a0f85e41d500d985f86bc8becc206d85202f129f60ea9fb1ef16bc4a9eef48cde593ffd5a85f24
DIST G4NDL.4.7.tar.gz 1114928821 BLAKE2B 03595a4d200e1d87eb02ebdfe13172dd166212c3e29cc2e568dcd41e0d89923dbb1c5eda3e1c7630d155cdd0a95859bbc4ed9dca3d7c2f50f3936ec179679d88 SHA512 035ff48e1976fc4ee4fe3af373dbfa002112ae2dde0330678ddf4fec7da003309abe94044f13bdcbf8615fcfccbeec56e655be7bff04e703c738e3c5b7461380
DIST G4PARTICLEXS.4.0.tar.gz 12242648 BLAKE2B 3f092e460e612c13b423cc364d7f040f28a1261fb38fda05f644b3a29fea4d78564330899d1a63cdad33b0e56153d6a88ebfc5fe8308ef49dadbb754a81635e0 SHA512 ccc0284ce8735d60b8597856fa27ba33959de93664ad849608689b9d7c7a34245f2eac32f607b9dac6d62afe69b2bce4007665a9482ef209c5c7ff759b20dab4
diff --git a/sci-physics/geant-data/geant-data-4.11.2.0.ebuild b/sci-physics/geant-data/geant-data-4.11.2.0.ebuild
new file mode 100644
index 000000000000..f17fe6b89fc1
--- /dev/null
+++ b/sci-physics/geant-data/geant-data-4.11.2.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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.5 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.3 G4ABLADATA"
+ [G4INCL]="G4INCL 1.2 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"
+
+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}
+}