diff options
author | Benda Xu <heroxbd@gentoo.org> | 2019-06-30 11:53:19 +0800 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2019-06-30 11:56:44 +0800 |
commit | 0cc885f518823b618edec214114213ef67c29aae (patch) | |
tree | ef97cb4597d769e0c8e3774cb3dbc68a926747d4 /sci-physics | |
parent | sci-physics/geant: version bump. (diff) | |
download | gentoo-0cc885f518823b618edec214114213ef67c29aae.tar.gz gentoo-0cc885f518823b618edec214114213ef67c29aae.tar.bz2 gentoo-0cc885f518823b618edec214114213ef67c29aae.zip |
sci-physics/geant-data: version bump.
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/geant-data/Manifest | 10 | ||||
-rw-r--r-- | sci-physics/geant-data/geant-data-4.10.05.ebuild | 52 |
2 files changed, 62 insertions, 0 deletions
diff --git a/sci-physics/geant-data/Manifest b/sci-physics/geant-data/Manifest index ad44fe16df9b..da189eb56d29 100644 --- a/sci-physics/geant-data/Manifest +++ b/sci-physics/geant-data/Manifest @@ -1,11 +1,21 @@ DIST G4ABLA.3.0.tar.gz 54909 BLAKE2B d2e893c7b85836bd1bc9c2ab0923696d66a71d75360b00f65320d4634164c5525cf3d939746dcc4ab7720387a6f4cf6350ec577605a94727ae53550b519e33d7 SHA512 905a56c142793de005dc5771509cdd8c4f98e596b95223a1a058cbf614cf48805478839eeec3a29594daf3d89c6b4d72cb33b016a596cdadc4247e452afbd526 +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 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 G4NEUTRONXS.1.4.tar.gz 2249001 BLAKE2B 9c830fdbf38931b03e45c98ea80f44a4f1ff324ba7448165112c66d849a18149f1f9173b87e8cdd7d773cc471d1fd5d2b0153ac63e19fec648c4f28a5bb01ad5 SHA512 f0de306e35d0cacc77fcea4d233077247afa172413a69ef1255e47fd250e36460c38c47265dbc81499dd47c0aca7266c5299cb5c0cabef04684b796ba890f944 +DIST G4PARTICLEXS.1.1.tar.gz 3388648 BLAKE2B ed179d003a84007dc26319f2b3e7349586f8e1ef58de8acb8e8560867195ada039cb62b763afc58e5e234425db39297a9f586a0249c59bca5199e78d5f219861 SHA512 feaf86d0382c199f7a443bffd4d083e635ab3e9c535b535b426c447a8e25f2ddbaac39965038eb1b9cac12132a9c19c7b86c5670863dc4e93d3aa1f4ecebf369 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 G4RadioactiveDecay.5.1.tar.gz 1057159 BLAKE2B eb7beac3686f897507a688c1ff7eb588bf7ba639d2dd8b8a4d1c6c64aeadae14d60b6da4d6414fc1a6ebf166156f9e2feb502c50a5468593b5ac9aab434b4662 SHA512 d9b7a18fb2259374982037db619d18d474bc6a64ebd21546f6b30146b77a2f5c4e5460b02258f9eaa13a5bfde772ce674f5269f84210bbc58face08cea51a797 +DIST G4RadioactiveDecay.5.3.tar.gz 1022013 BLAKE2B a9470e3cf1eb50c0e79d5c136e88b94c83123a1ed7f88da7eada669a7c3497ab54a647f6a4b84a11904ffcfb4194503bd6fa660127351c958f3b18dcd2919a29 SHA512 a11169de1044eae15e4f5ca43ec25e917aa31b901ab1bdc3055cb999281124f4b98a8c20e53043c012f1e7572172467209ec306c21770f66e7039f7199cffc5a +DIST G4RealSurface.2.1.1.tar.gz 160518784 BLAKE2B 2ab95fd4d918e0c4ca30cd7f39164a007ab32a66fc45c3ed69f49a5341d668712643d5383989ec6945fa813b07de52e8acb67a93eaa1d7eecb399861716ab154 SHA512 f1d56c201462946a316fd1a6710ca38839d2c10fda3aec43fd1e9c9b332bf826c0e8e59b4cbf3f2a206381326964573f0a8396d09411c236655411d3f4ea09ab DIST G4SAIDDATA.1.1.tar.gz 25800 BLAKE2B d742a1de20c9ea7736a518a3ea130df2e62e06a3ab3330961aa1b9156fbaaf07ce85736bf9d135f6bf087488cc3e23564bd360439add0dc1a105805b4460390d SHA512 191627972dbf859e40e07ec4a63c5e7300571da6792c2588a6ad997e246c3fc41e890679aced918ba2496586da643c23884c4d9754329387e3579e52c87b6202 +DIST G4SAIDDATA.2.0.tar.gz 38502 BLAKE2B 349608f8f8f57b091579b4892f1547c25f0c730fe8b22de3a7355f45ea08232c3ab12af64583cf4d48528b54489d0c71c724066715592766a2a51a1a6d4eb745 SHA512 cb192c10cc9805ab8d57d5f6dca595f85ac628ccac5b975b5d8ff965ed3841b9b01071ffa76469c9a03f9ca564267f5c4a300f13d8df5056b43cd71c669bd35c +DIST G4TENDL.1.3.2.tar.gz 149189664 BLAKE2B d948367be89b9bf6b4202b59e5eadbba812c07f538b4e7c914d84c29e8d27efd8492649619ba8233956e4836b356445fbfffe9b59e51a199acbd35b7d4768c74 SHA512 74b46cd66be635879cf2122f8095ac75aed86584697fc93762bd1738a7edb8d6e70fc5cc94c6e35714ca13e54ad9d57d0f6036ea1651f3d5a4f4481c7716c43c DIST G4TENDL.1.3.tar.gz 587566993 BLAKE2B a747dc692488b54c0fd26acfc29854d8d3703018dcb37443a08f285ba555aaf3e647f6b76bae87dcdc202b92c05ddfceda2ae6b38e2df669c2e36c919dce8b61 SHA512 09ca25c3e8d188fc14f1619ba000a87d6d5b3d5d25057cbb07d6c9b464fb425eeb99d0f521e594c30eaaa625f5100772461ac53bb280bf9813c821370c847b22 DIST RealSurface.1.0.tar.gz 1257863 BLAKE2B 51186baa6b7deb009adad446a8c6b16e858708a696a79aebb722121ab73c3d11e2448c7f6bfe8d9be6fe2b26c2efe5cadfae4d99f7472baa39e9e0b4293ed6ee SHA512 6457e1931fe1989f822493dbcb3193d97fdb37ecdc8341e953af1fb66816aa589e9d5abaa8a937e4599924c005fc32c763dd0db9af567c4c94aa07fae292be76 diff --git a/sci-physics/geant-data/geant-data-4.10.05.ebuild b/sci-physics/geant-data/geant-data-4.10.05.ebuild new file mode 100644 index 000000000000..df59a575cc3f --- /dev/null +++ b/sci-physics/geant-data/geant-data-4.10.05.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Data files for Geant4 physical processes" +HOMEPAGE="http://geant4.cern.ch/" + +GEANT4_DATA=" + G4NDL.4.5 + G4EMLOW.7.7 + G4PhotonEvaporation.5.3 + G4RadioactiveDecay.5.3 + G4SAIDDATA.2.0 + G4PARTICLEXS.1.1 + G4ABLA.3.1 + G4INCL.1.0 + G4PII.1.3 + G4ENSDFSTATE.2.2 + G4RealSurface.2.1.1 + G4TENDL.1.3.2" + +SRC_COM="http://geant4.cern.ch/support/source" +for d in ${GEANT4_DATA}; do + SRC_URI="${SRC_URI} ${SRC_COM}/${d}.tar.gz" +done +unset d + +LICENSE="geant4" +SLOT="4" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=">=sci-physics/geant-${PV}:4" +DEPEND="${RDEPEND}" + +S="${WORKDIR}" + +src_unpack() { + # unpack in destination only to avoid copy + return +} + +src_install() { + sed -n "s,export \(G4.\+DATA=\"\).*\(/share/Geant.\+/data/.\+\) > /dev/null ; pwd\`,\1${EPREFIX}/usr\2,p" \ + "${EPREFIX}/usr/bin/geant4.sh" > 99geant-data || die + doenvd 99geant-data + local g4dir=/usr/$(sed -n 's|.*/\(share/Geant4.*/data\).*|\1|p' "${EPREFIX}/usr/bin/geant4.sh" | tail -n 1) + dodir ${g4dir} + cd "${ED%/}/${g4dir}" || die + unpack ${A} +} |