diff options
author | Guilherme Amadio <amadio@gentoo.org> | 2021-03-04 11:19:05 +0100 |
---|---|---|
committer | Guilherme Amadio <amadio@gentoo.org> | 2021-03-04 11:53:22 +0100 |
commit | a2cce0d853b55c312d3f018f1f756ced7663a0b3 (patch) | |
tree | f0427439780c5dd7dcfec94576581985114c375f /sci-physics/geant-data | |
parent | app-backup/restic: x86 stable wrt bug #773973 (diff) | |
download | gentoo-a2cce0d853b55c312d3f018f1f756ced7663a0b3.tar.gz gentoo-a2cce0d853b55c312d3f018f1f756ced7663a0b3.tar.bz2 gentoo-a2cce0d853b55c312d3f018f1f756ced7663a0b3.zip |
sci-physics/geant-data: version bump to 10.7.1
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Diffstat (limited to 'sci-physics/geant-data')
-rw-r--r-- | sci-physics/geant-data/Manifest | 1 | ||||
-rw-r--r-- | sci-physics/geant-data/geant-data-4.10.7.1.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/sci-physics/geant-data/Manifest b/sci-physics/geant-data/Manifest index c564745f74c8..4e7379cef728 100644 --- a/sci-physics/geant-data/Manifest +++ b/sci-physics/geant-data/Manifest @@ -6,6 +6,7 @@ DIST G4ENSDFSTATE.2.3.tar.gz 290745 BLAKE2B 89c642a43ebcb979b233cfb1af1bde9b2f4f DIST G4INCL.1.0.tar.gz 95840 BLAKE2B 2c264b7563620cdbdb8a5e529f21766a5b5ea3e2e51047362518714d01854de8d9ca2ca2a0183ab672cc2f8a4d951327b0e1a7298799695fd48233fa5e529686 SHA512 9d769566d1728674bd6d1e59fc05882943cd240d2f0a9e47dff37fa64fe27720b20b66f6dea6d300c3c9082a22f7f71bb416df8c7d2b5bae87251c4a0113f49b DIST G4NDL.4.6.tar.gz 599862135 BLAKE2B 78e30dd0f02f3b7d7fce12a3a4dcb83e1405ba45f19ed2a743ee7e72be426e09a31cedb521a62a116a8a580a39c83987d4e39ab621b73e0d7a41e7dab8f36d41 SHA512 29b7d933d3e691b03cf45db0c4a9335c03f34ce57149a37b66a0f85e41d500d985f86bc8becc206d85202f129f60ea9fb1ef16bc4a9eef48cde593ffd5a85f24 DIST G4PARTICLEXS.2.1.tar.gz 4600435 BLAKE2B 7132411824d9d3f47b5a4b1fced0a4099baed6a91596661d74ba540b91b5d12e475eb5bb364b8be7457592136fe2c629c98a9f8015a7b6fbd380c8c720078cd5 SHA512 b96c62a4cfd654381cf57eddcff10902ce42327a500eee007dc01ce4fbda6da44905d00ed9731740f6ff2ad2177194d7098b675bb7b72deba16394add81028c1 +DIST G4PARTICLEXS.3.1.1.tar.gz 8613102 BLAKE2B ec515e090a847021d184ff63957a252f3b2329531f20b63baf64ee94550b1e97f300ba817c8830e7597fa03af46a8593f9ecb072a3e63487de4855e2ab0def28 SHA512 afc38e0815462a9ec2ee969bd730dee86922d6eb03bddee7a031fcb5cd1e474cc316a2c81b8d8f3e17659bb1a1373bf623ca33c8b03fd934d8cc178d0b3a25b4 DIST G4PARTICLEXS.3.1.tar.gz 8598195 BLAKE2B 2c45ca634991c5def3781c3c9eb801bd5e5475d46817147d3be59d4b6abdfd7f2c4fbeeb64bb0152fa45f68b82a73f2bc590a30d4d0fb0e3651fe34e3ea87121 SHA512 a4e134e15a0a6582da56bee84ae525d1e8cf126517da9bd3dea01d5149e6b0b4dd223825e851a932899e73fab8733cb9c2e7da90e09f15fb1ae792d8a6f7c18b DIST G4PII.1.3.tar.gz 4293607 BLAKE2B 1ddf90c0e49ea51129b08bf6eb3cdf62f88abe19325e8aec76f156da32602c0498ddee36d1598035fa21df95f9d86b99137f9a6f49d7c9ef2b8eb6081db233b1 SHA512 dc458f5845948f54315477886d28fd51ea2d45f3675f45d42e8352cc5961705d920d200097dc9b55ad826ff426a655258b970ddd5a96867f706eb14e9ebbfd1a DIST G4PhotonEvaporation.5.5.tar.gz 10087354 BLAKE2B c336b015c0fe8471e899b95d66c3feb3a1b9aeac01010bd840a9d9bf88b7e91924c9f2d17e5626451be8841f5b95ddf10540e05305269a97608b339d6cd5cf78 SHA512 50c27edbcc271e5af353addc08132470df9b5efdeeece8c980d8d449adea6996109b880cd9cac0abab6e0a65e8c3f5c32ac7dc998a7760196bc862ccfc87f0bd diff --git a/sci-physics/geant-data/geant-data-4.10.7.1.ebuild b/sci-physics/geant-data/geant-data-4.10.7.1.ebuild new file mode 100644 index 000000000000..4924802c541f --- /dev/null +++ b/sci-physics/geant-data/geant-data-4.10.7.1.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 7.13 G4LEDATA" + [PhotonEvaporation]="G4PhotonEvaporation 5.7 G4LEVELGAMMADATA" + [RadioactiveDecay]="G4RadioactiveDecay 5.6 G4RADIOACTIVEDATA" + [G4PARTICLEXS]="G4PARTICLEXS 3.1.1 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.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} +} |