diff options
-rw-r--r-- | sci-physics/geant-data/ChangeLog | 7 | ||||
-rw-r--r-- | sci-physics/geant-data/Manifest | 19 | ||||
-rw-r--r-- | sci-physics/geant-data/geant-data-4.10.00.ebuild | 57 | ||||
-rw-r--r-- | sci-physics/geant-python/ChangeLog | 9 | ||||
-rw-r--r-- | sci-physics/geant-python/Manifest | 28 | ||||
-rw-r--r-- | sci-physics/geant-python/files/geant-python-4.10.0-config.patch | 27 | ||||
-rw-r--r-- | sci-physics/geant-python/files/geant-python-4.10.0-polycone.patch | 15 | ||||
-rw-r--r-- | sci-physics/geant-python/geant-python-4.10.00.ebuild | 122 | ||||
-rw-r--r-- | sci-physics/geant/ChangeLog | 8 | ||||
-rw-r--r-- | sci-physics/geant/Manifest | 15 | ||||
-rw-r--r-- | sci-physics/geant/files/geant-4.10.0-no-examples.patch | 22 | ||||
-rw-r--r-- | sci-physics/geant/geant-4.10.00.ebuild | 87 |
12 files changed, 368 insertions, 48 deletions
diff --git a/sci-physics/geant-data/ChangeLog b/sci-physics/geant-data/ChangeLog index d0591daa55c5..b9217e28eddc 100644 --- a/sci-physics/geant-data/ChangeLog +++ b/sci-physics/geant-data/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-physics/geant-data # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant-data/ChangeLog,v 1.2 2013/06/10 17:22:59 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant-data/ChangeLog,v 1.3 2013/12/20 06:06:20 heroxbd Exp $ + +*geant-data-4.10.00 (20 Dec 2013) + + 20 Dec 2013; Benda Xu <heroxbd@gentoo.org> +geant-data-4.10.00.ebuild: + version bump 10 Jun 2013; Sébastien Fabbro <bicatali@gentoo.org> geant-data-4.9.6_p02.ebuild: diff --git a/sci-physics/geant-data/Manifest b/sci-physics/geant-data/Manifest index 4f8762da7796..2613fe643d32 100644 --- a/sci-physics/geant-data/Manifest +++ b/sci-physics/geant-data/Manifest @@ -1,23 +1,20 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - DIST G4ABLA.3.0.tar.gz 54909 SHA256 ff0b77be6b36204eeeba71099f6b7530edd80b79eb015994535bc4334bc821eb SHA512 905a56c142793de005dc5771509cdd8c4f98e596b95223a1a058cbf614cf48805478839eeec3a29594daf3d89c6b4d72cb33b016a596cdadc4247e452afbd526 WHIRLPOOL daa65dd65160cfa62b1a7b747702cc6cf41230f95b406e2e5e18a743524647842639e8c76906334671d00860b88139f4812c811307803bdc4260468b4c6703cb DIST G4EMLOW.6.32.tar.gz 17724068 SHA256 bdb3c00af89b18c21553d79fd823110429fdcf1e83c029aa450185d9caf4a7cf SHA512 c1abc0f5e69cd29f5d3885e672937cfe4ff7ec1a37847e6def6e3dd80ba120bb10cfdd80ccfeadc9ed2c37423a87a185ef2b70f78716c8b40a48277a5c0e65fb WHIRLPOOL 5bcb17be16eddd474a3c96f305a968422ca11075683065c3bc3442289fde6b386f04552dbba4d2635ecabd86a79e558b559f0e7aab20960b1774c24291247231 +DIST G4EMLOW.6.35.tar.gz 19092577 SHA256 1564045a0acad344c8d432cd48c2c3bb2e051a81ab3099a84e0f56ba0fe82cec SHA512 106bd9de3a3b729629341f6e3b18bce3ee61239fe7bcf543da5d456a4db9a835a781b64b3b56d1a43e449e41f2d9447f17d3fbbd6006772333237d7f7b7012ab WHIRLPOOL 1cbabfe8195d3e0f477309a1a2579151bb2b39e1b145a0052fcfcff7099fd59e23a588c677f501a181b84aa35ef34a8620076b60124e8167bb68fd824efbbf9e +DIST G4ENSDFSTATE.1.0.tar.gz 234612 SHA256 4562e7476aa2df7204a1a77263e9d2331e9ffcdb591d11814dcc2d6b605021dd SHA512 ac3f4c4206976e4bbae93f81faca6bd2ce3d86fc10470abe3a06de2b5df58cdb110f4ab4988bfa16d1671759804874977b4feb4cc5bb0930e03c0db1b4c0a112 WHIRLPOOL 0ef5c0355f3f01faaa8ab1ce5e0dcba4cae7218817441cf7831517f419860584f6fc9d60daf74d5cb09b27e0abdf4a0ad2263cef0bb2b9d35ef34d9c0d1d7a36 DIST G4NDL.4.2.tar.gz 303309551 SHA256 173f60a506b9176d7ff531d6a5f6195dcec74df30ffafc09644f47f979bd641b SHA512 64397c38afbca4365dfed6898220a6946f00f86c5f52ad23b3d10d0ce79504b74ac653ea398f21e1724e4370573f23a62c016490cfed26cc70745a82d9beb7c0 WHIRLPOOL 1c50cd2cf258aeb8a5d029d945eb5dcdb84399012fd693c44fcb98e2d7f4381717138e6a31919235eea268fcf54072c973858040e7e6968764d3036c84090fe7 +DIST G4NDL.4.4.tar.gz 421555304 SHA256 e9fe8800566a83ccaf9b5229a1fa1d2cd24530bbd2e9fcb96eb6b5b117233071 SHA512 25a26411bf6430e90ec5b8098d12259a60bf688728ef9b97afda66002d8f479dadf9ce8c16c4cfd8068da173d492f7667748802690eb29787e9388c1773c8ade WHIRLPOOL 0575033751e881d8ba8ae04ba06d1c788b89ee3c294b8543da817096e1782e82cff9a5b794096694eaa743411bc695d94353ad0ee3f5f1781a1bd2d3753b4557 DIST G4NDL4.2.TS.tar.gz 128939542 SHA256 641972c6001fc8f7d4d55e428cf9237e9ae0e44ab0c4940dfbb05e657a8b9851 SHA512 8466b3bb9a604460ba713847dc59bae7cbc5af8204754eb8d46f83bc40e9bb6afff17433bb96fb76f17b4633c6dab6af88e49d30916a1b0bca18f705c18c6779 WHIRLPOOL 3074ad131888eec9e0dfd4fa018d9504437129e0a5b59df09e161970a69b6af9121ba2ac25aca1203d99b8faf831cb60dd90e217c320efd203032639d4e2fa10 DIST G4NEUTRONXS.1.2.tar.gz 2221211 SHA256 9ce488505b4c3623e2d98209f708a30e3f213a1371a9110d289257a02b2d7d5c SHA512 94a71e7865c0dd4eab7b477d2cd115b3a90fd3528e7807e5ef85651e1add82b1478753c3382437b22b0ec2e774a12d2af942dffaca6c944229553b240a1594bb WHIRLPOOL 2250323bd915963b5efd92c02a946025d367d3530750b5240cbe1338b253f1dea3467b8c8cd16a9a20b70c9654005ae239863d5cfbd78dd6700b5ff17da209fc +DIST G4NEUTRONXS.1.4.tar.gz 2249001 SHA256 57b38868d7eb060ddd65b26283402d4f161db76ed2169437c266105cca73a8fd SHA512 f0de306e35d0cacc77fcea4d233077247afa172413a69ef1255e47fd250e36460c38c47265dbc81499dd47c0aca7266c5299cb5c0cabef04684b796ba890f944 WHIRLPOOL 17426f0e690768f789fe9409c01c2b23689745f9a6bef85e825ec25de4b0e166bb93729c174c4162ca5aa5871ba3c367a6b6fd6dfa25c2dfab2e1cd7db67b859 DIST G4PII.1.3.tar.gz 4293607 SHA256 6225ad902675f4381c98c6ba25fc5a06ce87549aa979634d3d03491d6616e926 SHA512 dc458f5845948f54315477886d28fd51ea2d45f3675f45d42e8352cc5961705d920d200097dc9b55ad826ff426a655258b970ddd5a96867f706eb14e9ebbfd1a WHIRLPOOL 97c0aa7055ee6aaae30223a59f71edc11126560187cf038cd47fbe69c62b610e01f33d7b8d856aaa3f145c08d2bb4fc31047849634e57a6516dd197d6f53be79 DIST G4PhotonEvaporation.2.3.tar.gz 7508401 SHA256 60449df933794aa0ad3938886c8c023e3093ff59ad6c752923390d5c550f34cb SHA512 1db97368f6579565447083a912ead17cd0fa1021d13aada4ed514e1b3245ff03509c963a064a97a1c7d5f5530ac036427c6c9e29be198976daebe8623c41e664 WHIRLPOOL a1651adbaf38132f89419b9821a1af4e741c3a058016f4946d815b5d48cd096ea057632f91142ac6d87cb38b24b1f26c664601f5838e92a03189c5227daa16c7 +DIST G4PhotonEvaporation.3.0.tar.gz 8864188 SHA256 c76a843672eca21110e97a274a6b5cd9a58b66f35235301c8e1b162926e0e7cb SHA512 a185e034e5d53a5f0aa00a0a701e40c47a667bafe78a41153d2846b102ce578f2a0bda6f95cd5102a8abb752070c91597ca6f940ca0d9ebe7b2eb67529dca552 WHIRLPOOL 0420b01dcc276f8e3561899f15a010d5169cb236280f0b5a988c849f15f5face3b513e9aa75442ccff610cfbd9f7e747c44c9a2633a1167b60984224cdcba31b DIST G4RadioactiveDecay.3.6.tar.gz 736879 SHA256 3502ed4be04d694115a3acf59d7a3593725a2d79f3adad0ffa135ff653f89d1d SHA512 30502587d5f1cd5e365c6803e286bcb469999642fdc56bb8f162736b31334f09aae9f96bd71ac1a664fca7a303127c10c5ffe5b460e846756977e97a5f958d51 WHIRLPOOL c991d159c952a6d59e355cd0a691a5a9a8de07bb8985cdc4797853a56c38b3f6320928a3dc1fa19d21a35be9dddc7d6901116f10bb347b2a5bcef70dbe71c06e +DIST G4RadioactiveDecay.4.0.tar.gz 985509 SHA256 ed2053bddee507920a29a27db4364fbef255b951597686b0410d5458e9b38cb5 SHA512 5caa7b69643acb3071003a81950177061d8221c2b64e9babc46f8aebfe97cea2875ff664183b441a37f0b2c0fb7b3624998ac3f012a2e0308c5fd1ab4b7b8f8d WHIRLPOOL ece7aa1f4734b69af8cceaab6dc7c573ea962efd332e1e778ec1e0b7abf15c7acdaddfd518e6e357633214a58621b076b6ec88836fc7ba945b191cc56b79e325 DIST G4SAIDDATA.1.1.tar.gz 25800 SHA256 a38cd9a83db62311922850fe609ecd250d36adf264a88e88c82ba82b7da0ed7f SHA512 191627972dbf859e40e07ec4a63c5e7300571da6792c2588a6ad997e246c3fc41e890679aced918ba2496586da643c23884c4d9754329387e3579e52c87b6202 WHIRLPOOL d47075356db9e5589f12c03563143d1fd816e78d165785d5f37a415a8f1504be8e471064b81311f27a54cf108259dec07b0ef22fbc30374afaa4d46d7e7b648a DIST RealSurface.1.0.tar.gz 1257863 SHA256 3e2d2506600d2780ed903f1f2681962e208039329347c58ba1916740679020b1 SHA512 6457e1931fe1989f822493dbcb3193d97fdb37ecdc8341e953af1fb66816aa589e9d5abaa8a937e4599924c005fc32c763dd0db9af567c4c94aa07fae292be76 WHIRLPOOL 7b36a782278a663866b5676fda2ed5425c61219804aaa3fb6042455f6815e0e16a0f82445947d6e1a9585b9c09fb88fb70230bfd692f3bf10aa4ac8c43c37cae +EBUILD geant-data-4.10.00.ebuild 1298 SHA256 367e7d6dc6497ba48f4a407f9bf2e0ed5af9d911a37d50d4d774947504823f3a SHA512 58a4c0b3cca40a2a5e70aa19f829903f7ca60eaa7f4a236aeaf02ab0f296757e85dc8bb7c99cb48df34e0a1f99763b295ff6be03b5293a6c460457795c26a1c2 WHIRLPOOL 272fd7698ffd1b7d8e619f45d17096c51040e01c8956ae2ca23484026c6e5b78ad76c56cf43e2a17b107a6e050a10470a1631a63a16158f6bb04b6b3c974b1a2 EBUILD geant-data-4.9.6_p02.ebuild 1343 SHA256 f5bd43324cacfcabdf839b439ca1aa12aea4fd1d34e9ab0445280ecc8b542dc6 SHA512 f6a6fc871b61d6d1a5bd02b7d18e4a209c636667625c7eb4f2dca9dabffece1b6d25ed46633abc05a44ff24a18dbde0940ca577e07df4eade477ef58005f92ab WHIRLPOOL 47551794789828aa515e6b2d294195aaca23d09fc845d0d8ac15bd28a279fe262e8c6662ac14f7c4736fcd6fc52e61f83d6c4465c1173d0799436cd6913d4e5f -MISC ChangeLog 530 SHA256 77155847d105cb3d37ef28574717115f0f212074e4fdf6fed6661bb721821466 SHA512 9ee45031fb8223b998ce23b1cc26be88bed396171999598961dacc84bdcd50a9c5c384d94b15e2c9c3670a523ea2aabeda4f747eeddfc993b40507d57faa3d8e WHIRLPOOL a283b8cf35ccba2ed3723196c21e2b3d6410bde13a81ded6ef30dcbfe13d289876e278476b60fce860c53dc18caff416436193c1ff9c238b3d7f93d5b011e8bf +MISC ChangeLog 653 SHA256 b10f67c612559682b51d7b24021bb247d52d597465a66ade68823072c2d9ec90 SHA512 01fe8ba5b8e06401434a03d0798948b710b3173c3341ffc73f413fb4a2ca8fff7fbe0b136a16a7bd2b569f9b0f7fd4dfd388df8aab3737c97385cd5f64b0942f WHIRLPOOL 7b00877b54bcedb6773c4bff5be745b465c8db2c4fcbe7ffd4907eed04baaebf3fce6b07c44b3efd7023e6e4ff46017972f0974aa3a9b8d6dee5907fe153c88c MISC metadata.xml 325 SHA256 7de1a009f89a9de3975ac76f4f14ab2727a3e1910d38c89f99eacd32934a6f7c SHA512 1a1be182d9b496c2bb07d4b7c7271327b88064bc1822eedc5510bcc05c0055ae2aa6edc0413e87fd545e3d4b9dba5ab04d4aad80529f5cd2d2bcdcf61aa3c5a5 WHIRLPOOL 0caa49da62f993c0d315ddd42204d01de769cd37f624cf9003b09108912417c5b818e704962103e10e10a31515005923e6fbf3d47b3cad68230ebca39c3f0be0 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.20 (GNU/Linux) - -iEYEAREIAAYFAlG2C3gACgkQ1ycZbhPLE2D1CQCgmjHDEOlcAaZdlpyxxUChmQhF -nYMAmQGObcuCi423AXFHN1ZNznhG+8h5 -=B2dD ------END PGP SIGNATURE----- diff --git a/sci-physics/geant-data/geant-data-4.10.00.ebuild b/sci-physics/geant-data/geant-data-4.10.00.ebuild new file mode 100644 index 000000000000..4c76c0f2c9f2 --- /dev/null +++ b/sci-physics/geant-data/geant-data-4.10.00.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant-data/geant-data-4.10.00.ebuild,v 1.1 2013/12/20 06:06:20 heroxbd Exp $ + +EAPI=5 + +DESCRIPTION="Data files for Geant4 physical processes" +HOMEPAGE="http://geant4.cern.ch/" + +GEANT4_DATA=" + G4NDL.4.4 + G4EMLOW.6.35 + G4RadioactiveDecay.4.0 + G4SAIDDATA.1.1 + G4NEUTRONXS.1.4 + G4PII.1.3 + G4PhotonEvaporation.3.0 + G4ABLA.3.0 + RealSurface.1.0 + G4ENSDFSTATE.1.0" + +SRC_COM="http://geant4.cern.ch/support/source" +for d in ${GEANT4_DATA}; do + SRC_URI="${SRC_URI} ${SRC_COM}/${d}.tar.gz" +done + +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 +} + +prout() { + for d in ${GEANT4_DATA}; do + local p=${d/.} + doins -r *${p/G4} + done +} + +src_install() { + sed -n "s,export \(G4.\+DATA=\"\).*\(/share/Geant.\+/data/.\+\) > /dev/null ; pwd\`,\1${EROOT%/}/usr\2,p" \ + "${EROOT}/usr/bin/geant4.sh" > 99geant-data + doenvd 99geant-data + local g4dir=/usr/$(sed -n 's|.*/\(share/Geant4.*/data\).*|\1|p' "${EROOT}/usr/bin/geant4.sh" | tail -n 1) + dodir ${g4dir} + cd "${ED}${g4dir}" + unpack ${A} +} diff --git a/sci-physics/geant-python/ChangeLog b/sci-physics/geant-python/ChangeLog index 60274c3e136e..96bcb6f596d7 100644 --- a/sci-physics/geant-python/ChangeLog +++ b/sci-physics/geant-python/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-physics/geant-python # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant-python/ChangeLog,v 1.10 2013/09/05 19:44:53 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant-python/ChangeLog,v 1.11 2013/12/20 06:09:22 heroxbd Exp $ + +*geant-python-4.10.00 (20 Dec 2013) + + 20 Dec 2013; Benda Xu <heroxbd@gentoo.org> + +files/geant-python-4.10.0-config.patch, + +files/geant-python-4.10.0-polycone.patch, +geant-python-4.10.00.ebuild: + version bump 05 Sep 2013; Michał Górny <mgorny@gentoo.org> geant-python-4.9.6_p02.ebuild: Clean up PYTHON_COMPAT from old implementations. diff --git a/sci-physics/geant-python/Manifest b/sci-physics/geant-python/Manifest index 5428a5c2198c..342d2cc1c8f9 100644 --- a/sci-physics/geant-python/Manifest +++ b/sci-physics/geant-python/Manifest @@ -1,27 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - +AUX geant-python-4.10.0-config.patch 879 SHA256 472fdaabbc9bfc55e53e103c8c607f46ec254cb6cdb5d94f96fa0ec9a357eaa1 SHA512 409951aeaf6cb33d8ab0d70c94ab04901f449554c8e1e14706a40144e132d4f33543e85740d7f99ca32bfd28fac1e12ddd6deeee6d0b101c42283fdf74da5ea7 WHIRLPOOL 8e804ca3e0ad6d70fb9c1bf5201086108d6fceb1ac6035ebe498d05e77c9cab6156f775ff3d10eaae8a72fc83b33212aef87cdd512961ddb0fe22a8da79fcd0f +AUX geant-python-4.10.0-polycone.patch 609 SHA256 8a32107400595505079f119fe90d16e5399b41a00761e24d927c4d88d7e0710f SHA512 d65395f12928ca500452545c19bcdefd0b3740fb27c2ff2ccd01748d70347e1d3e8935d94e9b1ae142037c0930551e58bc6dd93dd944c3d712255555a639d5c5 WHIRLPOOL 0ca9675689078c901de99094d15ae6467d7ebcd3f6f49a3068d9ab00e6c2b42e0cccf51019c93d097a9d7fcb74572288b03da3f59cd81404a0d92ec1dd85b1ef AUX geant-python-4.9.5-visverbose.patch 557 SHA256 0955cd39ce1f8e842e2804370359a4e367b14f4791a40fd653918c32884bed8a SHA512 6780065ef2ba4efa79bdd835e500f25309baf6b3d8bf2418b83f2cbb984a8b6a48d27e10a1327cd42e6e236663557fedb5bb2f9f34ee0d1631fc316868959fb0 WHIRLPOOL f3a982c6d8781bf04094f85cd6d0187d984dfb45eff1676d7e459b4d7614847890e40ec63b56a52e0c8bcc5e273d4d333795e14fac3056c22b0c960a9d3ba556 +DIST geant4.10.00.tar.gz 30780131 SHA256 ffec1714b03748b6d691eb0b91906f4c74422c1ad1f8afa918e03be421af8a17 SHA512 c9288b26df8b858622e728158b687cd7bc257c49f26a21b93d1b9fa4619c22dfea2a7604689118ac493b407888690db42d1ec9c8048aa1f45bf8beeb6a657e87 WHIRLPOOL 20eb2002e867a0fe3dab683820ebeeb5de2140c5cd7c4c57c07b5da2a62900d4ee2bf1f6372e034781ed536001e40a5a79d5654729e45a16995415febfefb26d DIST geant4.9.6.p02.tar.gz 25480383 SHA256 cf5df83b7e2c99e6729449b32d3ecb0727b4692317426b66fc7fd41951c7351f SHA512 dab5f31568074869adecbbfb8855be0c0a2e92e5ba3119dbeb9cd414878721df3052198a05e5e3c19d0e2942a22602c6618dc0628b05134d3403a50c2bc2032c WHIRLPOOL 8c66d8aa1605a42e6b6f054c32eb49df0bb2afcdf54360ff630908ce7cfc8a7a37b62cdb2a1612af05f1f70a5575c6516aad1f6737a67692449b01e1137b2865 +EBUILD geant-python-4.10.00.ebuild 3683 SHA256 9e9a573a9f1298c4830d1f15a51c1f4d4e74ef07c3df2da98563b833656b12e2 SHA512 3d3c76ad0523153aabb493aadb9f6de3a6c5c181dfa6705c560dd40465b7c287711a328ab0e311a3a03f26af4fa9c76245da5f1ce549b15183f690b87198ecdd WHIRLPOOL ec818afc9f0dcd10a7080eab59e5413324f633e94664d15b57f9e7e60eb351812501b988d99c8017728a16535828cb4e140a0812af161e701702a16af1dc21d0 EBUILD geant-python-4.9.6_p02.ebuild 3586 SHA256 644cbb5d55847a886343c1fce4203b966064bae049c4b5617ad26c74e8125421 SHA512 69558bafd63c37e13af2a0abae136f3c8f7ac84b321ec00c372c45e2995671520c633c1082bf12346f9bb5ad9f9b375573543b8ea99767cfcd3569d557f2e789 WHIRLPOOL b78a06296cf4bcb3c8fc32407b3ac57c3fa7b7f50334bae46706d131d647db7ea35a4de820f2d3cbcf214bd939027237557861bbf0adc768d90bf97bd1a10145 -MISC ChangeLog 1981 SHA256 3f231636b86eac1dcb25ea4c0baa437256268a5e753ac8f59856d521f696eee6 SHA512 2d7a93fa612d8d51f1903fb4bd0953f656639ae69f53bd11f17903bd7135852be5d18bf91b3200d8781ed4086625c21865c65fabf3f15f568696ab5a36ffb065 WHIRLPOOL 5b30cb3d8e715d2e4d39e2769c1bcef249186461445913323831bc46d0b7013233cbdbb382a978102615423743f66cbac3c2d0bd50d2685625f5d458befb43cc +MISC ChangeLog 2198 SHA256 98e81210aabbbac0a7dd2a241970f69becee075f922f7b0cbfd0f365daed524b SHA512 e6609c81f31456217725b79aff9e92da1e82416e020c059b98b94ab3d4ebfa94d2cecc2867959c384bddf10eb62863954e57458dc55166d71973c0cbab59285f WHIRLPOOL 3a4bccb25e346d0cb67c7d5ef559d5ba4070baf0d23103f2212b187260026c5502e6441975fef9b8e3448afd21042580d28022b3d9c11361d3417b107f62a60f MISC metadata.xml 240 SHA256 d3241f908758d6318e86dac13c97b7f58c4ffe74595ea7b00494ed312f26fac1 SHA512 a1f547acd80a2870b33dc9914d2e3fa948d05779e4a70cba55bb47d2c41b15d6072b0b8feb938ba6d32104fc9732d4c25ba28aa7b117f30ac405907ee9b52dd6 WHIRLPOOL 44a5de47075f89ce9ec2ae89c99f84906650d6aa7f1e89ba527130fa5443200e8a601b09d8c8fe021d03fc574df33d4d57ded9478e94abfb9d3762480c21409c ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.21 (GNU/Linux) - -iQJ8BAEBCABmBQJSKN+CXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w -ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC -MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOLDQP/jiHpZUirlMKViZyzZ6WpnM1 -04gDfF3O5PicOabNwQ3eo/5aQ1kNoaCV9A6zkQEnbj9fkuQnPp7IktVsrhXZgELc -IC/zqB44bPJ/qCMaL6uIRlexpkWIrm00p9NDFeF+gEyynqKF17UTD7Q6Am0BECtm -qUmmSl+wS+BDS6OvshXWqz/PJtAt/FMAEFYIHkbStTtzclHDUXPSCEkA2fAxbffQ -E05zg85zNHu+JTKElZEckcsNkw3qx3yJldV4rO6ke0j8gMFORn0ls4aD5kp/XBlE -WSzb5AzUW+f6wBtY9c3Y3nuHWScci8II4/n5DP87uRVuWvAOo9Q2bjBLqRmkYj5A -op+ukxpvnmfCQEJ+kjOvAU06T5qsUohDujpTxY7KNjslJAOLKCTZyF84o26ZB4JU -hTdCjSp5atmTIMZm2EK5Qxzo8SwYEzHROkOVXDn3KUGfJ4OrxlQlq07HoNHwErNx -Z9CViYgFrij+S/+6xxUs185SWmxaCStPhsTw3kgD8jJPg0KW84tvwspvqHfbh/ed -lzw14P9sEuhyz5IUHUvvevAed1nQvA9/lBzequJ7NPIJTBqz/869WmoDO9OHV35V -l+26lZSNnYhcCjwbli8G/VTs9/c5p8J3g77giSoHzXIsCwQGQB1Hked1wvBqx64D -7qc0diAE083a+30uLKHf -=ztXn ------END PGP SIGNATURE----- diff --git a/sci-physics/geant-python/files/geant-python-4.10.0-config.patch b/sci-physics/geant-python/files/geant-python-4.10.0-config.patch new file mode 100644 index 000000000000..50f4dabb43c3 --- /dev/null +++ b/sci-physics/geant-python/files/geant-python-4.10.0-config.patch @@ -0,0 +1,27 @@ +do not hard code PATH; QGSP.hh is renamed to G4QGSParticipants.hh in geant-4.10 + +http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1545 +http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1546 +Index: g4py/configure +=================================================================== +--- g4py.orig/configure ++++ g4py/configure +@@ -4,9 +4,6 @@ + # ====================================================================== + export LANG=C + +-PATH=/bin:/usr/bin +-export PATH +- + # ====================================================================== + # testing the echo features + # ====================================================================== +@@ -377,7 +374,7 @@ fi + + # --- + echo $ac_n "Checking for physics list support ...$ac_c" +-if [ -f "$g4_incdir"/QGSP.hh ]; then ++if [ -f "$g4_incdir"/G4QGSParticipants.hh ]; then + enable_physicslist=1 + fi + if [ $enable_physicslist = 0 ]; then diff --git a/sci-physics/geant-python/files/geant-python-4.10.0-polycone.patch b/sci-physics/geant-python/files/geant-python-4.10.0-polycone.patch new file mode 100644 index 000000000000..492e4700ac4f --- /dev/null +++ b/sci-physics/geant-python/files/geant-python-4.10.0-polycone.patch @@ -0,0 +1,15 @@ +polycone API has been changed. + +http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1544 +Index: g4py/source/geometry/pyG4Polycone.cc +=================================================================== +--- g4py.orig/source/geometry/pyG4Polycone.cc ++++ g4py/source/geometry/pyG4Polycone.cc +@@ -96,7 +96,6 @@ void export_G4Polycone() + .def("GetStartPhi", &G4Polycone::GetStartPhi) + .def("GetEndPhi", &G4Polycone::GetEndPhi) + .def("IsOpen", &G4Polycone::IsOpen) +- .def("IsGeneric", &G4Polycone::IsGeneric) + .def("GetNumRZCorner", &G4Polycone::GetNumRZCorner) + + // operators diff --git a/sci-physics/geant-python/geant-python-4.10.00.ebuild b/sci-physics/geant-python/geant-python-4.10.00.ebuild new file mode 100644 index 000000000000..ac84b3f91060 --- /dev/null +++ b/sci-physics/geant-python/geant-python-4.10.00.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant-python/geant-python-4.10.00.ebuild,v 1.1 2013/12/20 06:09:22 heroxbd Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) + +inherit python-r1 versionator multilib eutils + +MYP="geant$(replace_version_separator 3 .)" + +DESCRIPTION="Python bindings for Geant4" +HOMEPAGE="http://geant4.cern.ch/" +SRC_URI="http://geant4.cern.ch/support/source/${MYP}.tar.gz" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +LICENSE="geant4" +SLOT="0" +IUSE="examples" + +RDEPEND=" + ${PYTHON_DEPS} + dev-libs/boost[${PYTHON_USEDEP}] + dev-libs/xerces-c + =sci-physics/geant-${PV}*" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MYP}/environments/g4py" + +pkg_setup() { + if use amd64; then + ARG=linux64 + elif use x86; then + ARG=linux + else + die "platform unknown" + fi +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-4.9.5-visverbose.patch + epatch "${FILESDIR}"/${PN}-4.10.0-config.patch + epatch "${FILESDIR}"/${PN}-4.10.0-polycone.patch + sed -i -e "s/lib64/$(get_libdir)/g" configure || die + sed -i -e 's/-lG4clhep/-lCLHEP/g' config/g4py.gmk || die + # respect user toolchain and flags + sed -i \ + -e '/^CXX.*:=/d' \ + -e '/CXXFLAGS/s/-f\(template-depth-255\|inline-functions\|permissive\)//g' \ + -e "/CXXFLAGS/s/-O2/${CXXFLAGS}/g" \ + -e '/^rpathflag/s|:\($(rpath.)\)| -Wl,-rpath,\1 |g' \ + -e "s/\$(rpathflag)/\$(LDFLAGS) \$(rpathflag)/g" \ + config/sys/linux* || die + python_copy_sources + + run_sed() { + sed -i -e "s/\(python_exe=\)python/\1${EPYTHON}/" configure || die + [[ ${EPYTHON} == python3* ]] && sed -i -e "s/with_python3=0/with_python3=1/" configure + # let Geant4 module installed into python sitedir instead of default + sed -i \ + -e "/G4PY_LIBDIR :=/cG4PY_LIBDIR := $\(DESTDIR\)$(python_get_sitedir)/Geant4" \ + config/install.gmk || die "sed failed on config/install.gmk" + + local mfile + for mfile in source/python{3,}/GNUmakefile + do + sed -i \ + -e "/install_dir :=/cinstall_dir := $\(DESTDIR\)$(python_get_sitedir)/Geant4" \ + "${mfile}" || die "sed failed on ${mfile}" + done + + # let g4py module installed into python sitedir instead of default + sed -i \ + -e "/install_dir :=/cinstall_dir := $\(DESTDIR\)$(python_get_sitedir)/g4py" \ + config/site-install.gmk || die "sed failed on config/site-install.gmk" + for mfile in {processes/emcalculator,utils/MCScore}/{python3/,}GNUmakefile python/GNUmakefile + do + sed -i \ + -e "/install_dir :=/cinstall_dir := $\(DESTDIR\)$(python_get_sitedir)/g4py" \ + "site-modules/${mfile}" || die "sed failed on site-modules/${mfile}" + done + + } + python_foreach_impl run_in_build_dir run_sed +} + +src_configure() { + run_configure() { + # not the autotools configure + ./configure ${ARG} \ + --prefix="${EPREFIX}/usr" \ + --with-g4install-dir="${EPREFIX}/usr" \ + --with-python-incdir="$(python_get_includedir)" \ + --with-python-libdir="${EPREFIX}/usr/$(get_libdir)" \ + --with-boost-incdir="${EPREFIX}/usr/include" \ + --with-boost-libdir="${EPREFIX}/usr/$(get_libdir)" \ + --with-boost-python-lib="boost_python-${EPYTHON#python}" \ + --with-xercesc-incdir="${EPREFIX}/usr/include" \ + --with-xercesc-libdir="${EPREFIX}/usr/$(get_libdir)" \ + || die "configure failed" + } + python_foreach_impl run_in_build_dir run_configure +} + +src_compile() { + python_foreach_impl run_in_build_dir emake CPPVERBOSE=1 +} + +src_test() { + run_test() { + emake -C tests + } + python_foreach_impl run_in_build_dir run_test +} + +src_install() { + python_foreach_impl run_in_build_dir emake DESTDIR="${D}" install + dodoc README.md History + insinto /usr/share/doc/${PF} + use examples && doins -r examples +} diff --git a/sci-physics/geant/ChangeLog b/sci-physics/geant/ChangeLog index a4a5a8c4e661..0457303f8142 100644 --- a/sci-physics/geant/ChangeLog +++ b/sci-physics/geant/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-physics/geant # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/ChangeLog,v 1.76 2013/07/02 17:18:56 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/ChangeLog,v 1.77 2013/12/20 06:07:41 heroxbd Exp $ + +*geant-4.10.00 (20 Dec 2013) + + 20 Dec 2013; Benda Xu <heroxbd@gentoo.org> + +files/geant-4.10.0-no-examples.patch, +geant-4.10.00.ebuild: + version bump 02 Jul 2013; Sébastien Fabbro <bicatali@gentoo.org> geant-4.9.6_p02-r1.ebuild: Added doc flag pulling app-doc/geant-docs package diff --git a/sci-physics/geant/Manifest b/sci-physics/geant/Manifest index b024cfaffbd3..150f32002169 100644 --- a/sci-physics/geant/Manifest +++ b/sci-physics/geant/Manifest @@ -1,6 +1,4 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - +AUX geant-4.10.0-no-examples.patch 692 SHA256 3f2151ae9df66ee7b7bb36e0f519da1ea796de9bc6e6b31bf5047cb925164ed3 SHA512 852f2bba645a3a223efabef184bbcc37cf75dc1e2c301bfde634b479503c39d7df0b938156a09e151fb8a287f7bd26bc87816014ca3b56c59ee72937f8ac063c WHIRLPOOL 7794d2363486382ed59f5ede2702df02c3922b0a028a948919587c68786ed61ed6542aaccda737ba61679250858b74f9316107999ef927acf9658b54536675de AUX geant-4.9.4-datadir.patch 2203 SHA256 3c97d883732299ecb008d6c114d92556a937b93966ec21fb612809b03d0a95f8 SHA512 d0f9cd8da02f7820917f2b9b0ae61412a457dca387d0bf8e0ea216b4e0648f3d1aa2a6ae45134b8870a7fd9bd2c763684a465ee648ed6bdfa7fc8c12ae603899 WHIRLPOOL d18d3b0dd0c00ef9943d937b4679566df2bc7893f06bc2c93b9cd3b09f4d21b112a7270e1f57b150b6dd36945b243d0251897e6258c4eaca40e5b266d2dccb8d AUX geant-4.9.4-libdir.patch 1328 SHA256 36f43915868ea87f2b80c9ea360b24726389a8839ef06323e58a08fdf5833338 SHA512 816f995504c2a98e3d8c89da5baa0a416b7342d4b3297ac2643a2b74fb8456dc28c01bbf61ca6558efdf87d81c742e27a039a31b6b9c091c66c5c8b3dcc61558 WHIRLPOOL 21887a59415c682046e8a7eb296169f6517c2096f01d54956923aecf5de9ec480f07683b099da3898774bb72f483c08f3e5c75f60fbcc80e933e422f9ad3365f AUX geant-4.9.4-no-benchmarks.patch 370 SHA256 5ff40079b5669335b1701831fba3922b525d2fdd594704750111d7eaea45b693 SHA512 3ff8ae180c94d689edccb5698f2d436583ed11023cf3aa6f6c9aeb036f8a1041816278dc8e70a71ac6b9d8f9783b278255fb218f8297f1536993b82755e720b7 WHIRLPOOL dba193eb35410468509dafc5ab2ec2ab4783498373e10c277551b2d45431115b68b4ab815273dd155e6b4cd973231e817a754cc2c6bc9cd41b05a106877b550f @@ -18,18 +16,13 @@ DIST RealSurface.1.0.tar.gz 1257863 SHA256 3e2d2506600d2780ed903f1f2681962e20803 DIST geant321_3.21.14.dfsg-8.diff.gz 41909 SHA256 785277dab1e1d3e17d60c85f3826bc67bbd6de7e6a6d40ff7af901371c4d2ce1 SHA512 d69ecb773f06bb1bfea8c336297b693bf1ff62c051408bd64398077b7ccc81a893ad69a29dbe127d78cbe7d6bce125423fc53a68fc719880ee13e03dc4e52662 WHIRLPOOL 9e2fcd4c8f32dba1af6f71e1fd7153c9ab9a26d6200ca71ab2152df0e66d9ed3933d4f27fc44a0fa1f9a8caa375b2f2be0414c681faec3c79545aa733a0ad01f DIST geant321_3.21.14.dfsg-9.diff.gz 47589 SHA256 419bc2315e2692fe84b353d445cbae7af995d84a6a0290b7f9051ee041243d20 SHA512 fd04f42e5ca8bc7f8015bacf038a78e90ac0ebc95ab85ed65e2010a7c05aed8874057de9f28e11fefee8b6c6b983a5db8dcd8480953c185e6d45d1ca16adba01 WHIRLPOOL 6ca0e08fdf464076dda58cd26dc7c92511d82315ea58979de8201c3f8eeab6860bb136d1ebffcea23b7a53b71b5a6a894495b3153c905aa31f9260517f30e526 DIST geant321_3.21.14.dfsg.orig.tar.gz 10922928 SHA256 186fe98a08ad1de39f68698a09a46e7c2f14c37b22f8f990257b0bd66215c5b4 SHA512 733a77e529ecfe17c35d1e0bf44cf9062dbd9f2e3880e12cbfabf7372e6c60ea9690df010574094b44aef6fe306dfd85dfd4f42641b8f03efda3938a50313734 WHIRLPOOL fc2b230e1bf2ae1157cf9c92f474ff72fc1f3158e5db5a8f1a7d4f7c983fae9b886dc1aeb148019cb961bc602abc629d75a1aa728d66b10887daa45de040def6 +DIST geant4.10.00.tar.gz 30780131 SHA256 ffec1714b03748b6d691eb0b91906f4c74422c1ad1f8afa918e03be421af8a17 SHA512 c9288b26df8b858622e728158b687cd7bc257c49f26a21b93d1b9fa4619c22dfea2a7604689118ac493b407888690db42d1ec9c8048aa1f45bf8beeb6a657e87 WHIRLPOOL 20eb2002e867a0fe3dab683820ebeeb5de2140c5cd7c4c57c07b5da2a62900d4ee2bf1f6372e034781ed536001e40a5a79d5654729e45a16995415febfefb26d DIST geant4.9.4.p03.tar.gz 25241424 SHA256 5090ca5b506238f16ba2ae2176221a18b6fde06f91180850a109fae1006910c0 SHA512 281b224c126c41cda6b128218dfeb2d77e0e06ca08d2a3dd039be009e3736f3befbf8dd8838543eea197341a5c382543240bf429c38e5e8ca6f0628eb65080b4 WHIRLPOOL 6e9929296624b35cf83a7325d32221f2aaf724b1c27e4f666fea960343c030f08be61723998c5c19cd74a688610a123e3699c907fe5e44f8df2e8058f8691ea5 DIST geant4.9.6.p02.tar.gz 25480383 SHA256 cf5df83b7e2c99e6729449b32d3ecb0727b4692317426b66fc7fd41951c7351f SHA512 dab5f31568074869adecbbfb8855be0c0a2e92e5ba3119dbeb9cd414878721df3052198a05e5e3c19d0e2942a22602c6618dc0628b05134d3403a50c2bc2032c WHIRLPOOL 8c66d8aa1605a42e6b6f054c32eb49df0bb2afcdf54360ff630908ce7cfc8a7a37b62cdb2a1612af05f1f70a5575c6516aad1f6737a67692449b01e1137b2865 EBUILD geant-3.21.14-r2.ebuild 1863 SHA256 280320afafaed437cb867022573df8db82440fe432ad65da970fb960efcd0b9a SHA512 49d0dbe37041d311f2e7f4180ae22c44855504ad93750abc442be931d916bcdae756c4de144610802bc166dd415bb032fc81aeeacab4f1b6f36b10c72392ca14 WHIRLPOOL a67420977142aa5572b9807b31ad739346b30fc8f45eedf2a69eb54b07d13845e66d1eb02f84b91bccb5c0a4e5280d8152298f705f08e5ac85f1ba54d026aaed EBUILD geant-3.21.14-r3.ebuild 1719 SHA256 53205b50b0d88302d5be5de4858ed392333a774dd47784f4c9f16a66855cfb6b SHA512 3b89b08be9e4659ac992d6d20cdde8d4a4d6fce84f272b2a29955c683de48300d5b702026daee964a484704a18b11606e8a72c4dcb37edd72f28d29fc6611a62 WHIRLPOOL 0898d71760e2b6e22680d7943f94382a23de3effdbd25b6e00fb883a708fda0be78d80fbdfb6f683ce4dfe8910fcea5a4418136effcad0baf99df4fc0015787b +EBUILD geant-4.10.00.ebuild 2846 SHA256 961a58e57aecb37366cddb1988f7aad25d22bdf1243dff3a676f46bf2d15333d SHA512 b839387e6e4428974fda1c497a14efd87624045ab2b2d0da4f0b59a67b32cdfc8803976c32f48e0b6fbae6e3fc5d598359d0893acc7af8c99e665fce4cf3e53a WHIRLPOOL 141f20d5f2b401a23327816bc8743b44566e8051aeb698e7dc40cc83b9377332a2143d0260130fa156f43bdae87a95bdfcac22f03bd98a229eda341308bd12aa EBUILD geant-4.9.4_p03.ebuild 2375 SHA256 30f9299cd3e4497ef9a9e5dd67c77d48705ceef8dfb514f9a0a17b8e2bbf5da9 SHA512 e474e165bfec3de1841dfdba6770c9516327e9cfb9b69235db4b00014ffcdb070cbefac6335977c225b3a20b874bcf411ad666e782bd966692bfe734b677ed09 WHIRLPOOL 618b2f5b4ea75c5997c9b925e357003a30e2d2ee7ea1db0702f5dcf92d5d84e49602d7fe2acaecc77560443a827aa5c26b722688a00367cce88d4e6aaa05d2a5 EBUILD geant-4.9.6_p02-r1.ebuild 2815 SHA256 6729485afb79e3f52b97e4d473711c68fbc0029618743cfc51fee7ac9e112275 SHA512 4e54c57b4640358a7194f7e4bf2fb3b18766fab869ec8f945a871800b146500dfeaa375474c54e79a6dfe95c1d698449c5f107e954438957004bba4614b32dd2 WHIRLPOOL 181302f11ab55be36b2e5e23a7e0adec4c47a9c3022eedb43e8bf549897dd74c698fe047a2f65cc28b8d19d81092ccb835833bbd8c0da969d128e437c74cf1f8 -MISC ChangeLog 15076 SHA256 c1147024151e8d85933c92f2cac70ba4b7f76538693fc643b17a0f54523a27a0 SHA512 e42e21a108787e6726ea5fa69e1231e10f8fc413b24ae7d15d1fc65a3b346e751ce3f41c194ca527aa12c8ede958056ff95e1d95d6951387222f391b53b5913a WHIRLPOOL 9d52a9b72f5aad09f34e936026df7da580c20e70bcfa3a43a2054a590326d0bab432cbc7483a85730b446118994fcb4c90dc08ff7e1c9ebf0fba7e8dcc5ae658 +MISC ChangeLog 15230 SHA256 862a5891c2ce06483bbe14b655caf7bddf801be994cd8de95f0d56af9042fe2a SHA512 d9f12f59383f5039659bca28aa2e06be81714899efb2cf6d2b931cf772e78746b058acfbf75bbda5938bdc9fdb3a7a6fb76cc4e79554346fd747a51fe33ff75c WHIRLPOOL 990f48faf7f20ff14ec77ad0c3ce6a74e4e348305279974d0323e89cce22f2aa21a9445d98bca079404a5da74e950d12309fb10a3e758d8fee5e9737a7bd85b2 MISC metadata.xml 1266 SHA256 c32b3d9e648ae1987a289075bd7d231ee78496dcaf4fdb6dc05631785a08d38a SHA512 4d167658d616bfd2946440a0d22a5c4a5b19f7884b6279b7aa1f18a452ae982cd566d546eab734dfd6d4ac156cb5fb592d6cad9bc84b3ee80b6d748afdbd54e1 WHIRLPOOL ffc18105c436dd2508b36e0fb14638fb0bebf7c31ff9bfa873f1a78377d4df205694ec1931e99d794b6d8ad37e503802de52e6c6b7458a3c2093f39ef0ffdd65 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.20 (GNU/Linux) - -iEYEAREIAAYFAlHTC4EACgkQ1ycZbhPLE2CANgCfUHfH68lGLMgMj7oxJ6GdX3M4 -j9UAn2pdmZu95i8U+ZcrEXE/PB8ufhVo -=OH5U ------END PGP SIGNATURE----- diff --git a/sci-physics/geant/files/geant-4.10.0-no-examples.patch b/sci-physics/geant/files/geant-4.10.0-no-examples.patch new file mode 100644 index 000000000000..99aaca546f49 --- /dev/null +++ b/sci-physics/geant/files/geant-4.10.0-no-examples.patch @@ -0,0 +1,22 @@ +do not install examples automatically, we do this explictly with dodoc. + +Index: geant4.10.00/CMakeLists.txt +=================================================================== +--- geant4.10.00.orig/CMakeLists.txt ++++ geant4.10.00/CMakeLists.txt +@@ -136,15 +136,6 @@ if(GEANT4_BUILD_EXAMPLES) + add_subdirectory(examples) + endif() + +-# - Install example code to datarootdir +-install(DIRECTORY examples +- DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/Geant4-${Geant4_VERSION} +- COMPONENT Examples +- PATTERN "CVS" EXCLUDE +- PATTERN ".svn" EXCLUDE +- ) +- +- + #----------------------------------------------------------------------------- + # Provide packaging with CPack. + include(Geant4CPackBase) diff --git a/sci-physics/geant/geant-4.10.00.ebuild b/sci-physics/geant/geant-4.10.00.ebuild new file mode 100644 index 000000000000..a6001415687b --- /dev/null +++ b/sci-physics/geant/geant-4.10.00.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/geant-4.10.00.ebuild,v 1.1 2013/12/20 06:07:41 heroxbd Exp $ + +EAPI=5 + +inherit cmake-utils eutils fortran-2 versionator multilib + +PV1=$(get_version_component_range 1 ${PV}) +PV2=$(get_version_component_range 2 ${PV}) +PV3=$(get_version_component_range 3 ${PV}) +SPV3=$(printf %1d ${PV3}) +MYP=${PN}$(replace_version_separator 3 .) + +DESCRIPTION="Toolkit for simulation of passage of particles through matter" +HOMEPAGE="http://geant4.cern.ch/" +SRC_URI="http://geant4.cern.ch/support/source/${MYP}.tar.gz" + +LICENSE="geant4" +SLOT="4" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+data dawn doc examples gdml geant3 inventor motif opengl + raytracerx qt4 static-libs vrml zlib" + +RDEPEND=" + dev-libs/expat + >=sci-physics/clhep-2.1.3 + dawn? ( media-gfx/dawn ) + gdml? ( dev-libs/xerces-c ) + motif? ( x11-libs/motif:0 ) + opengl? ( virtual/opengl ) + inventor? ( media-libs/SoXt ) + qt4? ( dev-qt/qtgui:4 opengl? ( dev-qt/qtopengl:4 ) ) + raytracerx? ( x11-libs/libX11 x11-libs/libXmu ) + zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND}" +PDEPEND=" + data? ( ~sci-physics/geant-data-${PV} ) + doc? ( ~app-doc/geant-docs-${PV1}.${PV2}.${SPV3} )" + +S="${WORKDIR}/${MYP}" + +PATCHES=( "${FILESDIR}"/${PN}-4.10.0-no-examples.patch ) + +src_configure() { + local mycmakeargs=( + -DGEANT4_USE_SYSTEM_CLHEP=ON + -DCMAKE_INSTALL_LIBDIR="${EROOT}usr/$(get_libdir)" + -DGEANT4_INSTALL_DATA=OFF + $(cmake-utils_use dawn GEANT4_USE_NETWORKDAWN) + $(cmake-utils_use gdml GEANT4_USE_GDML) + $(cmake-utils_use geant3 GEANT4_USE_G3TOG4) + $(cmake-utils_use motif GEANT4_USE_XM) + $(cmake-utils_use opengl GEANT4_USE_OPENGL_X11) + $(cmake-utils_use inventor GEANT4_USE_INVENTOR) + $(cmake-utils_use qt4 GEANT4_USE_QT) + $(cmake-utils_use raytracerx GEANT4_USE_RAYTRACER_X11) + $(cmake-utils_use vrml GEANT4_USE_NETWORKVRML) + $(cmake-utils_use zlib GEANT4_USE_SYSTEM_ZLIB) + $(cmake-utils_use_build static-libs STATIC_LIBS) + ) + if use inventor; then + mycmakeargs+=( + -DINVENTOR_INCLUDE_DIR="$(coin-config --includedir)" + -DINVENTOR_SOXT_INCLUDE_DIR="$(coin-config --includedir)" + ) + fi + cmake-utils_src_configure +} + +src_install() { + # adjust clhep linking flags for system clhep + # binmake.gmk is only useful for legacy build systems + sed -i -e 's/-lG4clhep/-lCLHEP/' config/binmake.gmk || die + cmake-utils_src_install + insinto /usr/share/doc/${PF} + local mypv="${PV1}.${PV2}.${SPV3}" + doins ReleaseNotes/ReleaseNotes${mypv}.html + [[ -e ReleaseNotes/Patch${mypv}-1.txt ]] && \ + dodoc ReleaseNotes/Patch${mypv}-*.txt + use examples && doins -r examples +} + +pkg_postinst() { + elog "The following scripts are provided for backward compatibility:" + elog "$(ls -1 ${EROOT%/}/usr/share/Geant4-${PV2}.${SPV3}.*/geant4make/*sh)" +} |