diff options
author | Guilherme Amadio <amadio@gentoo.org> | 2021-12-10 17:06:14 +0100 |
---|---|---|
committer | Guilherme Amadio <amadio@gentoo.org> | 2021-12-14 15:58:24 +0100 |
commit | c3abc04b44286b2ba757c960d3aed257ea239a24 (patch) | |
tree | 8f2a94dd7fc90c404a00469c48a71f2cc41deb22 /sci-physics/geant-data | |
parent | app-doc/geant-docs: version bump to 4.11.0 (diff) | |
download | gentoo-c3abc04b44286b2ba757c960d3aed257ea239a24.tar.gz gentoo-c3abc04b44286b2ba757c960d3aed257ea239a24.tar.bz2 gentoo-c3abc04b44286b2ba757c960d3aed257ea239a24.zip |
sci-physics/geant-data: version bump to 4.11.0.0
Package-Manager: Portage-3.0.29, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Diffstat (limited to 'sci-physics/geant-data')
-rw-r--r-- | sci-physics/geant-data/Manifest | 3 | ||||
-rw-r--r-- | sci-physics/geant-data/geant-data-4.11.0.0.ebuild | 54 |
2 files changed, 57 insertions, 0 deletions
diff --git a/sci-physics/geant-data/Manifest b/sci-physics/geant-data/Manifest index b38e7fd0d709..f4158d9d8c9e 100644 --- a/sci-physics/geant-data/Manifest +++ b/sci-physics/geant-data/Manifest @@ -1,14 +1,17 @@ DIST G4ABLA.3.1.tar.gz 107286 BLAKE2B ff60665b01dcdb85a76028af472e6f71068b8132187701c46e5c4e8509125d34853d3c574561be22f34cc5f35503ec0808f2964888cd19259392de8054f19647 SHA512 4178870783ca015dade0b07006afc27fed095ff195251c672a0812f9c8e13908b5dfa9a127e8f3ec473f242bf7faf6d49a3371a75e669a06245722924b7c4278 DIST G4EMLOW.7.13.tar.gz 298636910 BLAKE2B ee9c83410183a6fef3a2d44e866818a765f85aecb637879a6f96b2958e0c3675acb0a2891b6dd07c81fffabcb95dcc541f23f076b4aa1cbb2131e72b2b869b93 SHA512 8789ee0cae6d62c6e6af5f8c5f49706f37230df609cad375bef9568d13d5cd62fa1bded616385fd4790d047bb305090ba08957980fe7881d169a2a0e31693879 DIST G4EMLOW.7.17.tar.gz 325266417 BLAKE2B 66c2912441620d0e005391f389f846c6ad4e8d122f763ffc22f7b071891c2fcdfa677ce11f5e35a02efae530517130ba0820d23e0a8a58f6931fbc814f15de22 SHA512 63e961f9afc79f8d03e15d6971cbe9889c8bbf1ef1d1a7896684b71c69fedfdfc1725780f88804299337971f719d03c2cc908a0a8fa84ceb9150eadbfbe4db38 +DIST G4EMLOW.8.0.tar.gz 326834565 BLAKE2B fff006b48524cd840871fa50a4d7af671e871f0bb84da780c151899285a583dff3c1fd15e0e5652d43e6d170512e41ec4b003ed335a5e850b2aa7fc4d2822b13 SHA512 754e875a461950a9ad1accef5a83970f8c7bfdbc1970fedb35eefd1f70d5b5309c3d6c3c262892bf9318330e1ab721a76c7836d8b880205af69fa3c1a0c7e079 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 G4PARTICLEXS.3.1.1.tar.gz 8613102 BLAKE2B ec515e090a847021d184ff63957a252f3b2329531f20b63baf64ee94550b1e97f300ba817c8830e7597fa03af46a8593f9ecb072a3e63487de4855e2ab0def28 SHA512 afc38e0815462a9ec2ee969bd730dee86922d6eb03bddee7a031fcb5cd1e474cc316a2c81b8d8f3e17659bb1a1373bf623ca33c8b03fd934d8cc178d0b3a25b4 DIST G4PARTICLEXS.3.1.tar.gz 8598195 BLAKE2B 2c45ca634991c5def3781c3c9eb801bd5e5475d46817147d3be59d4b6abdfd7f2c4fbeeb64bb0152fa45f68b82a73f2bc590a30d4d0fb0e3651fe34e3ea87121 SHA512 a4e134e15a0a6582da56bee84ae525d1e8cf126517da9bd3dea01d5149e6b0b4dd223825e851a932899e73fab8733cb9c2e7da90e09f15fb1ae792d8a6f7c18b +DIST G4PARTICLEXS.4.0.tar.gz 12242648 BLAKE2B 3f092e460e612c13b423cc364d7f040f28a1261fb38fda05f644b3a29fea4d78564330899d1a63cdad33b0e56153d6a88ebfc5fe8308ef49dadbb754a81635e0 SHA512 ccc0284ce8735d60b8597856fa27ba33959de93664ad849608689b9d7c7a34245f2eac32f607b9dac6d62afe69b2bce4007665a9482ef209c5c7ff759b20dab4 DIST G4PII.1.3.tar.gz 4293607 BLAKE2B 1ddf90c0e49ea51129b08bf6eb3cdf62f88abe19325e8aec76f156da32602c0498ddee36d1598035fa21df95f9d86b99137f9a6f49d7c9ef2b8eb6081db233b1 SHA512 dc458f5845948f54315477886d28fd51ea2d45f3675f45d42e8352cc5961705d920d200097dc9b55ad826ff426a655258b970ddd5a96867f706eb14e9ebbfd1a DIST G4PhotonEvaporation.5.7.tar.gz 10089240 BLAKE2B 5a82697f3f5f94e98ab7f6fbc033cab251d0f18d885fe3f124a0a1f8dd73ff8bf12db45ec748bc1baf24945407fdedadc0e10b237ceb587852e8fa6340dd7ac2 SHA512 5a03921c5974f329637ce74f03cad444b989c3affa22bf40b68103a6a668ac6425e85da3d0b72ce3d81c2e4360e7202cd26cbb9e20ccc355f2243cd92031496f DIST G4RadioactiveDecay.5.6.tar.gz 1059792 BLAKE2B 610761030c01445ecd3159df0193814f96fc011e677bc9306788c93cd3089f2623aab96c1ad94edf22b0e9aed701288de465c898e3dce59540e2619947ea8f75 SHA512 825b04f79097c39aac7152484e322f87e69046ee5a8bb25b6e2d337026ae0eb0f77faed83e870816571c42c83120eda085dbbf2bd2f891f2b2932fad9078334d DIST G4RealSurface.2.2.tar.gz 132506346 BLAKE2B 8b725cdd4ed5739692e3c07627661921e8d7e08bd448cb70f1d9cdd7ca8e2e090f4c65ac3b4fc3fbceb96cca22bef3ac9000075df490b3ac520b515a40b2cf6e SHA512 360fc0cd829f9daa21300b4df8da294982d13659a9fe77cbdf1f5c411eace0153d8202c658525d4b82b7925524baf8e138a51ae71bdbd1f91f674fc80958ffed DIST G4SAIDDATA.2.0.tar.gz 38502 BLAKE2B 349608f8f8f57b091579b4892f1547c25f0c730fe8b22de3a7355f45ea08232c3ab12af64583cf4d48528b54489d0c71c724066715592766a2a51a1a6d4eb745 SHA512 cb192c10cc9805ab8d57d5f6dca595f85ac628ccac5b975b5d8ff965ed3841b9b01071ffa76469c9a03f9ca564267f5c4a300f13d8df5056b43cd71c669bd35c DIST G4TENDL.1.3.2.tar.gz 585100935 BLAKE2B f58bc9e4f6741d7df84559bb41542ecd4de3891b3f79d8194d3f8174de6aed6e87f8d2d648315dac988b6daf6106780b6f88398da2040e67608da8614fb2cf42 SHA512 635707dc421354d8cd596398d69745b6038a80c44b7284951a3e0966829c08ac731bd42f7321adfab75d06d868f99e466c6f1425685770568f44ec6c1035903f +DIST G4TENDL.1.4.tar.gz 912261874 BLAKE2B 9ed05676ed52ca8341007cade3620b655fcf56eea3d3bda01814ae7133ec04bd2ef84b1c34ee5cd76114407bd6977bd4392322decebea1e1ed7e6377a482e1e8 SHA512 6fb1e5fc8daad9ef8391ff04793f10394cfc28cab0967bba0d9c91a69b92a7af7406e543275d9c1d9ff76d3dfec2c9f653bcff40040e17edbb765fb21012cae8 diff --git a/sci-physics/geant-data/geant-data-4.11.0.0.ebuild b/sci-physics/geant-data/geant-data-4.11.0.0.ebuild new file mode 100644 index 000000000000..268325241188 --- /dev/null +++ b/sci-physics/geant-data/geant-data-4.11.0.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 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 8.0 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() { + 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} +} |