summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2020-03-16 16:51:43 +0100
committerGuilherme Amadio <amadio@gentoo.org>2020-03-16 17:58:49 +0100
commit1feaf402beafd5effcbd80df6a4f408ac26707b8 (patch)
tree3d041224ec8f82d85c9a89ab0c357c31f9841e67 /sci-physics
parentsci-physics/geant-data: add myself as maintainer (diff)
downloadgentoo-1feaf402beafd5effcbd80df6a4f408ac26707b8.tar.gz
gentoo-1feaf402beafd5effcbd80df6a4f408ac26707b8.tar.bz2
gentoo-1feaf402beafd5effcbd80df6a4f408ac26707b8.zip
sci-physics/geant-data: version bumps for Geant4 10.6
This set of versions have been rewritten to support easier bumping of Geant4 in the future, as well as storing the data into ${EPREFIX}/usr/share/geant4/data, to avoid having to use PDEPEND in sci-physics/geant. Geant4 can be configured to use data from a custom directory, so future ebuilds will make use of that. Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/geant-data/Manifest7
-rw-r--r--sci-physics/geant-data/geant-data-4.10.6.ebuild54
-rw-r--r--sci-physics/geant-data/geant-data-4.10.6_beta1.ebuild54
-rw-r--r--sci-physics/geant-data/geant-data-4.10.6_p1.ebuild54
4 files changed, 169 insertions, 0 deletions
diff --git a/sci-physics/geant-data/Manifest b/sci-physics/geant-data/Manifest
index b65b14ee7dd9..f73ad67e6737 100644
--- a/sci-physics/geant-data/Manifest
+++ b/sci-physics/geant-data/Manifest
@@ -2,17 +2,24 @@ DIST G4ABLA.3.0.tar.gz 54909 BLAKE2B d2e893c7b85836bd1bc9c2ab0923696d66a71d75360
DIST G4ABLA.3.1.tar.gz 107286 BLAKE2B ff60665b01dcdb85a76028af472e6f71068b8132187701c46e5c4e8509125d34853d3c574561be22f34cc5f35503ec0808f2964888cd19259392de8054f19647 SHA512 4178870783ca015dade0b07006afc27fed095ff195251c672a0812f9c8e13908b5dfa9a127e8f3ec473f242bf7faf6d49a3371a75e669a06245722924b7c4278
DIST G4EMLOW.6.50.tar.gz 28334495 BLAKE2B 057cbf55da026e080df26e95328b9aa416acedac11cfc4666c96954538488309e589376648638746bbea2ffca04461a0ae8f4adc98db04213742637a6daf1fd2 SHA512 587b6103b44ade27d5715eb804bfc172989cef63ca9a01e7454ff07140db85bb10083c036441905b6bbd5f04d373f51a73dc4bf7f7712c0314da1155406d8588
DIST G4EMLOW.7.7.tar.gz 107307909 BLAKE2B dc97ecadc6f17e789e781e90531e09131641e9d2e4cfa06adcf9913ec9720f92d23b18871d06bd090cf036e35af7b0d1a80fb41e816ebb41cc23d8c18d0ba647 SHA512 de8b942cfe009ebd614a1c0824ab889183b319bd3fb835d1f0fd98076e50f1372bb318ede30a7a936d9c64ba039231be5fcb74b4ca6c813691e9d5ceb862fdb0
+DIST G4EMLOW.7.9.1.tar.gz 119756769 BLAKE2B 67be0b7ac34beb995ad4132883927fb99a78f93e7c99390c93fe897b4208a94a3ea5faaab1d04def5c248151c82d46431b411cb22303ffe941c6fe8a57d30423 SHA512 7f52ad5a3935323b60e5ea5196a64a2209337ca3d208109bceb648b95a5a3b0aa33f9a46f878884cb398e49302733c6f5b6316254261d350d038af8ec412952f
+DIST G4EMLOW.7.9.tar.gz 118027817 BLAKE2B 3456d07a0d87accbdf90049626e653488bb592f113e898e364638924259ce889940a20b7c84e40f16e654ca3fbb9e892050ce7e66a62a9e267706c5750bcd313 SHA512 6c5ae214915b273d20bec1483267279d53a015a13ed30ba1de325d489b5b34e65b227f8fd6caeb5fef28c2a582b7285002338e866f32c7f151fb1508ee55c54d
DIST G4ENSDFSTATE.2.1.tar.gz 290690 BLAKE2B e43fb12b502a06565b4fcf182ce2ffc0807d08f5f46a98944cfe86ba3d3c03e8aa4858b057c3e9f8ede7f4cb7d9ff5faa430dc11b0d3ebac633b61d0a17449cc SHA512 8e56a00bd5e3956de10931f8b702c614e84471e0f2fa65fe81d44a6a28719ed65d9b61e5ebd6216f35a044ad6c6f430c761a52703f72eab0c1fe99e794a8e284
DIST G4ENSDFSTATE.2.2.tar.gz 290632 BLAKE2B aff44d0b6512e4a227fa61a33045023652699843f80d1e90e236d491afd90be828a7bb393a4bb5b224b296d6e3f899a11027340b9e1ebffe705d08708af283fa SHA512 4feaa4229ac520d0e81ab0e31691ee899fa1f10b1a57f66b986fbe19729f7548000b8bac3519d09e91a1f7e116aa7a5bfeae5a3f5b6c3364168b51f4b5bb88c3
DIST G4INCL.1.0.tar.gz 95840 BLAKE2B 2c264b7563620cdbdb8a5e529f21766a5b5ea3e2e51047362518714d01854de8d9ca2ca2a0183ab672cc2f8a4d951327b0e1a7298799695fd48233fa5e529686 SHA512 9d769566d1728674bd6d1e59fc05882943cd240d2f0a9e47dff37fa64fe27720b20b66f6dea6d300c3c9082a22f7f71bb416df8c7d2b5bae87251c4a0113f49b
DIST G4NDL.4.5.tar.gz 421710294 BLAKE2B dab13b4c4ad9406e91172e1f8ec343a9be7c6c64f82e6a3b42a6fb19dec3d52b07a7a4848136af29e0cc82daff0ff02aa9e252d57e667c1a1e1a050039fff2fd SHA512 166d0189693f14c08fa9c48e4212c1cb275a848fdf0be3dfc4240bd01d1d4816f3ec3c85149995192e7055b58fd56c7e078e9d6819e01fdeafc13457bfa90470
+DIST G4NDL.4.6.tar.gz 599862135 BLAKE2B 78e30dd0f02f3b7d7fce12a3a4dcb83e1405ba45f19ed2a743ee7e72be426e09a31cedb521a62a116a8a580a39c83987d4e39ab621b73e0d7a41e7dab8f36d41 SHA512 29b7d933d3e691b03cf45db0c4a9335c03f34ce57149a37b66a0f85e41d500d985f86bc8becc206d85202f129f60ea9fb1ef16bc4a9eef48cde593ffd5a85f24
DIST G4NEUTRONXS.1.4.tar.gz 2249001 BLAKE2B 9c830fdbf38931b03e45c98ea80f44a4f1ff324ba7448165112c66d849a18149f1f9173b87e8cdd7d773cc471d1fd5d2b0153ac63e19fec648c4f28a5bb01ad5 SHA512 f0de306e35d0cacc77fcea4d233077247afa172413a69ef1255e47fd250e36460c38c47265dbc81499dd47c0aca7266c5299cb5c0cabef04684b796ba890f944
DIST G4PARTICLEXS.1.1.tar.gz 3388648 BLAKE2B ed179d003a84007dc26319f2b3e7349586f8e1ef58de8acb8e8560867195ada039cb62b763afc58e5e234425db39297a9f586a0249c59bca5199e78d5f219861 SHA512 feaf86d0382c199f7a443bffd4d083e635ab3e9c535b535b426c447a8e25f2ddbaac39965038eb1b9cac12132a9c19c7b86c5670863dc4e93d3aa1f4ecebf369
+DIST G4PARTICLEXS.2.0.tar.gz 4597118 BLAKE2B bc93da5bd9d8384c84056092ff404b93d5f28c88777365e514b6e8f17504a836036e98a469fe5e56123ea34f2846351b9441a01e9711ceef4f392438011bf4c3 SHA512 c3bff7f60f9ed7b0ebfecfc71a2415980b94b924827c5bbc964257d522318743765ebe826e9ab4d41cc856c65ceb7be6e2033a5d47bac036b50a21b51f7e8416
+DIST G4PARTICLEXS.2.1.tar.gz 4600435 BLAKE2B 7132411824d9d3f47b5a4b1fced0a4099baed6a91596661d74ba540b91b5d12e475eb5bb364b8be7457592136fe2c629c98a9f8015a7b6fbd380c8c720078cd5 SHA512 b96c62a4cfd654381cf57eddcff10902ce42327a500eee007dc01ce4fbda6da44905d00ed9731740f6ff2ad2177194d7098b675bb7b72deba16394add81028c1
DIST G4PII.1.3.tar.gz 4293607 BLAKE2B 1ddf90c0e49ea51129b08bf6eb3cdf62f88abe19325e8aec76f156da32602c0498ddee36d1598035fa21df95f9d86b99137f9a6f49d7c9ef2b8eb6081db233b1 SHA512 dc458f5845948f54315477886d28fd51ea2d45f3675f45d42e8352cc5961705d920d200097dc9b55ad826ff426a655258b970ddd5a96867f706eb14e9ebbfd1a
DIST G4PhotonEvaporation.4.3.tar.gz 19394277 BLAKE2B 57c851a0d5b0563120dfd0d57d0171c995202d0380f2549420b761b748ef7baf2ce9bb8d990ee592f938e09955a1702e9621865a8b225bb759839f0ccf75857f SHA512 7c9333d0c2644316acbbea61b60d5b7f981ec7cad06e630332572c598133bab4b4568fbe8c10b84a54a0fee5d95dc8f05232626d70244c2d36fcb5c4d077ad9c
DIST G4PhotonEvaporation.5.3.tar.gz 9877289 BLAKE2B a7c76c2b85f1006f2336b37d743f76fb8eaa1730d3d1f34b15ee34a7af09b4811c0a57cd661ad4a627f0424edb94b6126cdc7ef63dc4beb2ad3ea0f24b096de6 SHA512 19038cc64eaa07a996f5ae2a73b82cb3b02996880ae3b72a0d24c2b9058a53683b99b4ed1f265fd1d4d37fe9e72329d0fbe08e40f7b9d007b69aa68a3b6eb719
+DIST G4PhotonEvaporation.5.5.tar.gz 10087354 BLAKE2B c336b015c0fe8471e899b95d66c3feb3a1b9aeac01010bd840a9d9bf88b7e91924c9f2d17e5626451be8841f5b95ddf10540e05305269a97608b339d6cd5cf78 SHA512 50c27edbcc271e5af353addc08132470df9b5efdeeece8c980d8d449adea6996109b880cd9cac0abab6e0a65e8c3f5c32ac7dc998a7760196bc862ccfc87f0bd
DIST G4RadioactiveDecay.5.1.tar.gz 1057159 BLAKE2B eb7beac3686f897507a688c1ff7eb588bf7ba639d2dd8b8a4d1c6c64aeadae14d60b6da4d6414fc1a6ebf166156f9e2feb502c50a5468593b5ac9aab434b4662 SHA512 d9b7a18fb2259374982037db619d18d474bc6a64ebd21546f6b30146b77a2f5c4e5460b02258f9eaa13a5bfde772ce674f5269f84210bbc58face08cea51a797
DIST G4RadioactiveDecay.5.3.tar.gz 1022013 BLAKE2B a9470e3cf1eb50c0e79d5c136e88b94c83123a1ed7f88da7eada669a7c3497ab54a647f6a4b84a11904ffcfb4194503bd6fa660127351c958f3b18dcd2919a29 SHA512 a11169de1044eae15e4f5ca43ec25e917aa31b901ab1bdc3055cb999281124f4b98a8c20e53043c012f1e7572172467209ec306c21770f66e7039f7199cffc5a
+DIST G4RadioactiveDecay.5.4.tar.gz 1059968 BLAKE2B 5093ca0c7e529c1f1ddb732f6d2ddb24b7533d266a325601271a73fff23fe05b57a591a5ca229e1c479c5d85dfe3a40aa00869231976e9ecf2976679030a8027 SHA512 2462c8f1503a4dde96c62d9644155a5c7de4430251c06f76b8e3dd35df98d96e34687c77cc11a9be198b918ad64585a10a81a0fef4ff26d63f0737b5b1254f17
DIST G4RealSurface.2.1.1.tar.gz 133386050 BLAKE2B 68fb3ebadabe0c04a34279c9ff3a15545cfcf05ea18324d0fa776f4616feaeea2cd26af61d0078204c95c819d247963b416326433fda1e96a2918f23d4b2ff02 SHA512 f7755b41e30f8728710cf878d8783df9ac07d5394d0cf3358d9f4f6f4f73b9563c22657bdd9cf4ee7bebb9823fa530d86a64d2e0acbca77a80a411786c6b7202
DIST G4SAIDDATA.1.1.tar.gz 25800 BLAKE2B d742a1de20c9ea7736a518a3ea130df2e62e06a3ab3330961aa1b9156fbaaf07ce85736bf9d135f6bf087488cc3e23564bd360439add0dc1a105805b4460390d SHA512 191627972dbf859e40e07ec4a63c5e7300571da6792c2588a6ad997e246c3fc41e890679aced918ba2496586da643c23884c4d9754329387e3579e52c87b6202
DIST G4SAIDDATA.2.0.tar.gz 38502 BLAKE2B 349608f8f8f57b091579b4892f1547c25f0c730fe8b22de3a7355f45ea08232c3ab12af64583cf4d48528b54489d0c71c724066715592766a2a51a1a6d4eb745 SHA512 cb192c10cc9805ab8d57d5f6dca595f85ac628ccac5b975b5d8ff965ed3841b9b01071ffa76469c9a03f9ca564267f5c4a300f13d8df5056b43cd71c669bd35c
diff --git a/sci-physics/geant-data/geant-data-4.10.6.ebuild b/sci-physics/geant-data/geant-data-4.10.6.ebuild
new file mode 100644
index 000000000000..7c0919671e17
--- /dev/null
+++ b/sci-physics/geant-data/geant-data-4.10.6.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2020 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.9 G4LEDATA"
+ [PhotonEvaporation]="G4PhotonEvaporation 5.5 G4LEVELGAMMADATA"
+ [RadioactiveDecay]="G4RadioactiveDecay 5.4 G4RADIOACTIVEDATA"
+ [G4PARTICLEXS]="G4PARTICLEXS 2.1 G4PARTICLEXSDATA"
+ [G4PII]="G4PII 1.3 G4PIIDATA"
+ [RealSurface]="G4RealSurface 2.1.1 G4REALSURFACEDATA"
+ [G4SAIDDATA]="G4SAIDDATA 2.0 G4SAIDXSDATA"
+ [G4ABLA]="G4ABLA 3.1 G4ABLADATA"
+ [G4INCL]="G4INCL 1.0 G4INCLDATA"
+ [G4ENSDFSTATE]="G4ENSDFSTATE 2.2 G4ENSDFSTATEDATA"
+ [G4TENDL]="G4TENDL 1.3.2 G4PROTONHPDATA"
+)
+
+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/geant-data-4.10.6_beta1.ebuild b/sci-physics/geant-data/geant-data-4.10.6_beta1.ebuild
new file mode 100644
index 000000000000..bfb0044595e7
--- /dev/null
+++ b/sci-physics/geant-data/geant-data-4.10.6_beta1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2020 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.5 G4NEUTRONHPDATA"
+ [G4EMLOW]="G4EMLOW 7.7 G4LEDATA"
+ [PhotonEvaporation]="G4PhotonEvaporation 5.3 G4LEVELGAMMADATA"
+ [RadioactiveDecay]="G4RadioactiveDecay 5.3 G4RADIOACTIVEDATA"
+ [G4PARTICLEXS]="G4PARTICLEXS 2.0 G4PARTICLEXSDATA"
+ [G4PII]="G4PII 1.3 G4PIIDATA"
+ [RealSurface]="G4RealSurface 2.1.1 G4REALSURFACEDATA"
+ [G4SAIDDATA]="G4SAIDDATA 2.0 G4SAIDXSDATA"
+ [G4ABLA]="G4ABLA 3.1 G4ABLADATA"
+ [G4INCL]="G4INCL 1.0 G4INCLDATA"
+ [G4ENSDFSTATE]="G4ENSDFSTATE 2.2 G4ENSDFSTATEDATA"
+ [G4TENDL]="G4TENDL 1.3.2 G4PROTONHPDATA"
+)
+
+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/geant-data-4.10.6_p1.ebuild b/sci-physics/geant-data/geant-data-4.10.6_p1.ebuild
new file mode 100644
index 000000000000..8dae65a66711
--- /dev/null
+++ b/sci-physics/geant-data/geant-data-4.10.6_p1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2020 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.9.1 G4LEDATA"
+ [PhotonEvaporation]="G4PhotonEvaporation 5.5 G4LEVELGAMMADATA"
+ [RadioactiveDecay]="G4RadioactiveDecay 5.4 G4RADIOACTIVEDATA"
+ [G4PARTICLEXS]="G4PARTICLEXS 2.1 G4PARTICLEXSDATA"
+ [G4PII]="G4PII 1.3 G4PIIDATA"
+ [RealSurface]="G4RealSurface 2.1.1 G4REALSURFACEDATA"
+ [G4SAIDDATA]="G4SAIDDATA 2.0 G4SAIDXSDATA"
+ [G4ABLA]="G4ABLA 3.1 G4ABLADATA"
+ [G4INCL]="G4INCL 1.0 G4INCLDATA"
+ [G4ENSDFSTATE]="G4ENSDFSTATE 2.2 G4ENSDFSTATEDATA"
+ [G4TENDL]="G4TENDL 1.3.2 G4PROTONHPDATA"
+)
+
+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}
+}