diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-05 09:25:57 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-05 09:25:57 +0000 |
commit | 6d691ad5b6239929063441bbd14c489e92e7396e (patch) | |
tree | e294f87b1ce66397fee1273bd6c7131aeb586f51 /sci-physics/geant-data | |
parent | d99093fb4bb5652015c06274d64083daa2439e4f (diff) |
gentoo resync : 05.03.2021
Diffstat (limited to 'sci-physics/geant-data')
-rw-r--r-- | sci-physics/geant-data/Manifest | 4 | ||||
-rw-r--r-- | sci-physics/geant-data/geant-data-4.10.7.1.ebuild | 54 | ||||
-rw-r--r-- | sci-physics/geant-data/metadata.xml | 4 |
3 files changed, 57 insertions, 5 deletions
diff --git a/sci-physics/geant-data/Manifest b/sci-physics/geant-data/Manifest index 75c51ce5fc0c..642e860c04ae 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 @@ -17,5 +18,6 @@ DIST G4RealSurface.2.2.tar.gz 132506346 BLAKE2B 8b725cdd4ed5739692e3c07627661921 DIST G4SAIDDATA.2.0.tar.gz 38502 BLAKE2B 349608f8f8f57b091579b4892f1547c25f0c730fe8b22de3a7355f45ea08232c3ab12af64583cf4d48528b54489d0c71c724066715592766a2a51a1a6d4eb745 SHA512 cb192c10cc9805ab8d57d5f6dca595f85ac628ccac5b975b5d8ff965ed3841b9b01071ffa76469c9a03f9ca564267f5c4a300f13d8df5056b43cd71c669bd35c DIST G4TENDL.1.3.2.tar.gz 585100935 BLAKE2B f58bc9e4f6741d7df84559bb41542ecd4de3891b3f79d8194d3f8174de6aed6e87f8d2d648315dac988b6daf6106780b6f88398da2040e67608da8614fb2cf42 SHA512 635707dc421354d8cd596398d69745b6038a80c44b7284951a3e0966829c08ac731bd42f7321adfab75d06d868f99e466c6f1425685770568f44ec6c1035903f EBUILD geant-data-4.10.6.3.ebuild 1524 BLAKE2B e218d267d9420738f133f5da9a0ad510b951caf7db1da87cb4d278376aa14d51a5b8cd9c41ec176a0e69d036bc358c189a7475561b1b12eb7fe9cd10ceb22a8f SHA512 e6f0331490693059dec660ae4eac07bc92fd4ff59f04f690a3d0d78b0edd24cbcc1e8a03830b441790d253d4b932eac1e869e2725fac9ccd5a9e39bd588b668a +EBUILD geant-data-4.10.7.1.ebuild 1525 BLAKE2B 7c7450eb55e2fa451a8a47180ff2dee4aa6b4cf251b7ff7acccd13c4f1d12d2b75a82eab404f4cde71a86d6b5f8d9406ed8d4ae28cf293e0ecd54d856fa807fd SHA512 0d1516d331f5cb31116779c843be93e46a5d77d05e7ec24f57a82a73244d94090a028de4648b27cbe4253de34cfaaabb2a70ad7191a7223c97c77e1e6d26e023 EBUILD geant-data-4.10.7.ebuild 1523 BLAKE2B 9c6f459b64198d767a7d29dc2745bebd8acd8a558d0db42d6795de00af8ab7c3dbde2cb3a34fcf44ca740e7e48091a07fc6e3ae9fb27844a87eefc7e0330dc6f SHA512 606c2eb9e10ed4324d5e5640e00d1a5c2463dd9c6124206d11f05cf0410a4bee9a7a887213ff31e55575ccd1a77585771a84af78c651297111e6cba5a8a38244 -MISC metadata.xml 552 BLAKE2B e4704390fb18f3e4fef4a5de5feb818eb195b649203b37589ab1f2c35b8aa05e25e619034678c90a99bac8155dbd30220407190cb2c25d4006de20807ecb4fe4 SHA512 6c954effed4acc545b110c202ed645930904fd179aa2fb0ef971c7bc38cc419ddc696e06f0d080f358890171467cf311919c2fe0143acadfec9cd77bf748c55e +MISC metadata.xml 424 BLAKE2B fefbe83e24edd2e695371c66a3037b8f8896a53ce94ecc7a9bec2f589884a15894d7bd168a0053bbc1849a2c6f520ecf9123fd3b5288addb2d27270da6ece3c8 SHA512 b4643f858ad9bf4c4ec6c8167639ceb2f5013fbd6f1db49a014c446146a7e61f59d811e10f87a6956bb84a2cb93de0fe1c0f8a72fe9e0c76eaf2fb1d4bdc9169 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} +} diff --git a/sci-physics/geant-data/metadata.xml b/sci-physics/geant-data/metadata.xml index 9d7f4b218bef..f83e916e0ee2 100644 --- a/sci-physics/geant-data/metadata.xml +++ b/sci-physics/geant-data/metadata.xml @@ -5,10 +5,6 @@ <email>amadio@gentoo.org</email> <name>Guilherme Amadio</name> </maintainer> - <maintainer type="project"> - <email>sci-physics@gentoo.org</email> - <name>Gentoo Physics Project</name> - </maintainer> <longdescription lang="en"> For specific, optional physics processes, Geant4 uses extra data which are being installed with this package. |