summaryrefslogtreecommitdiff
path: root/sci-chemistry
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-29 23:41:07 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-29 23:41:07 +0000
commited676a605df68f67de57c1c8d70c2fef518c0701 (patch)
treec28635c16528ae9f95a99aa29ee9ad15fd92d1db /sci-chemistry
parent0c1bebc4027c639909ad0a840068b649b6be4b95 (diff)
gentoo auto-resync : 29:02:2024 - 23:41:07
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/Manifest.gzbin9518 -> 9515 bytes
-rw-r--r--sci-chemistry/gromacs/Manifest29
-rw-r--r--sci-chemistry/gromacs/gromacs-2021.6.ebuild352
-rw-r--r--sci-chemistry/gromacs/gromacs-2022.5-r1.ebuild333
-rw-r--r--sci-chemistry/gromacs/gromacs-2022.9999.ebuild333
-rw-r--r--sci-chemistry/gromacs/gromacs-2023.3.ebuild335
-rw-r--r--sci-chemistry/gromacs/gromacs-2023.4.ebuild (renamed from sci-chemistry/gromacs/gromacs-2023.1-r1.ebuild)0
-rw-r--r--sci-chemistry/gromacs/gromacs-2024.1.ebuild (renamed from sci-chemistry/gromacs/gromacs-2023.2.ebuild)0
8 files changed, 8 insertions, 1374 deletions
diff --git a/sci-chemistry/Manifest.gz b/sci-chemistry/Manifest.gz
index 56ed8958a5ec..9c40202b3e97 100644
--- a/sci-chemistry/Manifest.gz
+++ b/sci-chemistry/Manifest.gz
Binary files differ
diff --git a/sci-chemistry/gromacs/Manifest b/sci-chemistry/gromacs/Manifest
index e2de9541ff4d..e6398ce36862 100644
--- a/sci-chemistry/gromacs/Manifest
+++ b/sci-chemistry/gromacs/Manifest
@@ -6,48 +6,35 @@ AUX gromacs-2021-musl-stdint.patch 601 BLAKE2B 2e871d22655950ee9b9951229e78bc022
DIST gromacs-2018.8.tar.gz 29913703 BLAKE2B 8780032305928067fbfe1559efe9eedc4d47e27ab2f6ab54d6dba39edfcbeefbee4673d8910009048a850620b5a08ba8feb622db652c439cfa50a149ec5f0015 SHA512 6717895942f2ab7b54019511ed2aebadadde8e96d3c4b7414bb9168ffe418432d2dee330192e199f7b9d2f665c71f5d4f1ef0911aa7243d525a2ca182ef5b122
DIST gromacs-2019.6.tar.gz 33446147 BLAKE2B adc21fb6b841b06d499607f8c0166a673645ef5af0b40bd823d0fff5ea24397e6301c5e1e0070986ae1ce1deba8a42052b66da148b071c1e21f2fe3908fee275 SHA512 7c227a9539e5775d5d128ae9e872a24181d79cdcd2852b86453597987e8d7332ecec371da65d089f6e610c54aafbccc8824ce298743383dd6240719ebee692a8
DIST gromacs-2020.7.tar.gz 29175554 BLAKE2B 98f1aa415946f8eb113febc81105f0c1b0919b96fc3c55a0ab83bf3950ff509b81eade92e645adb0bc2b407df239e20cf3f19828b6e08616437c8693c1fddcc8 SHA512 1d375c44cec38445e56cea252623b5b6c565680268999d4b6c14d6dc38759a27227655b2d29efaab9f9115d3677b446cb555e11cddafa0dc10c4827caaa2477b
-DIST gromacs-2021.6.tar.gz 38012702 BLAKE2B 023ae37dc53643758afa050fd179cd66f3c6d6266f6afceee5eb35c890a3ae284956f2bc2409156d6e1fa03a7f23f7b04c27e1820547fd5f147b344d94da7d40 SHA512 65d7874e5cd838ce4f29d033c66304738ccc30f1987f9f8541725058b2fc4551302a399f6ce773e81ac9485963187c48feaf92c71789f4c345c82bd335f806a7
DIST gromacs-2021.7.tar.gz 38028032 BLAKE2B 2dc1b15ca8692ca5cf4ad1c7a266b9e2ced064d34a63cef61fea69e48231dd0310cfd8484d29c56cdb599f795d7655959f40038ac933b46ad2841d57bf2b3646 SHA512 ca478533da3bcb377fda30682660db8eb13beef6456fac6013a1a97ec3be60b5594567412e1e2a31392e484f9a40a22da1f12336f4738cf0422ff4f3e8814609
-DIST gromacs-2022.5.tar.gz 40362776 BLAKE2B e77c96cd995fb6c8284bcf9728e2f95e265911f643c69d00cc5910c6d22ada41293a1cb74033e708957776551b253453f64dba46497d68b2f73c675e94f30ddd SHA512 79310d6fd39a160e7bbc661a04540c9bcb89f40c133d1031ca16998ef0a67fc4a023f57950b22793f0c91b5fe47fd78cb2e7afedb50fe9251b1c920c9267344d
DIST gromacs-2022.6.tar.gz 40330705 BLAKE2B fdafbd5b2a92d6022dec3e79e961fef220f1eba42850916e7cb70ef459a8d9c6ebc8c1bbe3c105f5b23161dd5c552ec00505d7c0036649b782cf52c311498743 SHA512 91217394f534ca8f78f73189059712e1c2cd354b658722f23768b12748f7bfaf1a5e95227c5ed1b69c1a9b72c3174e9600a712c157ea2f27156387efb823dd67
-DIST gromacs-2023.1.tar.gz 41934072 BLAKE2B 6d04642ba37a8563fafc10e0be83e33aab5ce25ef43ec2c9555e84328096bbe61426558a1433b086028f3c6637a5b3ae82241e67f206c0dd0b5254f5ec27ae4c SHA512 4bddbbc56f26487db9d35f371d65725289d1355dc4c295d32698499e05eb74e31d4db579fc1f665edb55a68b002bddacf37c0f05d3f970b1111c149990d434b1
-DIST gromacs-2023.2.tar.gz 41930578 BLAKE2B ee115ba45711867ced4ad08cede0e87dffd7c4e7a45ff3ee0c06b2f46b0dec838e4b532e092ce3abd993e231ca7d517d9941b371fd6d9d64d581862dc67c449c SHA512 9bc17f310e6be6fd51b7c07bde0b58e8fa15085b2c073eb7bed0db917646586dee5d7cf9b4b178e9b4cedd40d4bcd967edcc4b26debaec6f4ca94399b13b9186
-DIST gromacs-2023.3.tar.gz 42071770 BLAKE2B dea0f6b0ccd67bfa4fc58c06bd3eda6d17a7f4b1c6746c2743860cf00ba514884a27140b65b7830ca340c233510ace1734ecc09e393be3e9761e31b9e4abfeb6 SHA512 016181be78887b0e31bc7fd124ac7c25c923c6bab1ffe43d3b4a744ae68203bb9d9f976c4c81bce344f4ea8e9d610ebd5b631b2202fcd6cfefd8c1ad0ebfe10d
+DIST gromacs-2023.4.tar.gz 42044149 BLAKE2B 2c13a04ddbfc167a7887d44bb6fdacde4ece4e8cf2ba920f453fc6150423c3cae39cd1afe0eebb52b9fbc72fe37fee527c83227a0f3fe21b289655b5c1cd29c5 SHA512 7913348d0da25e095b795123894f4e2007f66cf2455664edeb7bc1edc09f2e0da9911bc9501e3001278ab59917ccef838c485e6b6533c1c816c54c6dbd56350c
+DIST gromacs-2024.1.tar.gz 42324773 BLAKE2B 6600c802c39bf7c36d8e388ced202504dcceb3ec018d5f48af4f55e43dd170157a9b6335ce1b20a73623d05a391787936c2ab6ee48ab031d17078256eb7153c5 SHA512 fea88fac28ec142201eec1cea984eabd9db43346254ac555954a13fdbae5a5b00281a17efc8dba8ab0ac42794e3cce41b314c5cb36fb4292a1c6d2668b2ba192
DIST gromacs-2024.tar.gz 42455653 BLAKE2B 86446c5e95f9ddaf718126c409389730ee1642f36c3e0d844eb4b3a640c275e7979581365dacb57ac66daec296bbd94be6d5c0376f7255d3d3950f6759f8d69a SHA512 d64bf3cbe579003ce37dfd3d27c68746a04360d9d5491c638f3f2bd9af2c938504b0c9710c62e85225370ddf5418e6ebc2422033e46af5eee6e4aaa53699fed7
DIST manual-2018.8.pdf 10025023 BLAKE2B afb0a6e6a72d78df743fcb57e7c1716848589e571dd35167b957a9b407ca27978ccfb6cb9e0df9c9439b888f352501a00ba32281ed1e0b4193bd606f1d77152e SHA512 b1972f7ce965bfc9377542993c5943ea4868a8ed23a969d4203264746d6bea3a7a65c6379196ece37fd6d68ec7ec80f827bde87d1049284af7082759a124f1d5
DIST manual-2019.6.pdf 12702376 BLAKE2B c350127bc06a9eb3dee73da39037c84daeb89500e23cb131bd19a150bf60602d4dde7611e0c6f0f344af4093e96a899303dac71b4df56fd0c44c3a48a56606b7 SHA512 dfdff67c2c1c9ce1f1c236b7686c5331b0fe86951da6c98eddd6a3e748815e0be0a9653ae4318469fcdd913c4e7c355d64a997cc80b9d9fbe6282ef6d98e61eb
DIST manual-2020.7.pdf 11850780 BLAKE2B 38594e87993badfbbcf47d6010a7f67d3c3426dab85e1462916b4d62be27b5764953f912cf2b71ee24877e0bfa27b3f74431da2da81b4977d58cb66b2cc795a3 SHA512 4f184f2c90e0bac01a48069cc546cd5b04fa5f543f90dd2d68c6d17be278152fd09456b6a6c5c8236f8fb85a174d6ec7a1c7b44d437b4e6fea5d0ada73cec0f6
-DIST manual-2021.6.pdf 12256595 BLAKE2B 5d808e38571b38c1f6e0d115f6e604238206cc001f59d05ed855e80c324c0e6fd7767adb723b3d0edd1267ae5973a3b83b76bd04d2dc99769e6440600d8e2146 SHA512 64fe56422d7417f6f61b10346c99e24c3f423f0cedc3794e0809250282bc87ef692b47ae6c3f95ad7994aa3860ed82035cbacc76eb78a2f54a29052a05260af2
DIST manual-2021.7.pdf 12256526 BLAKE2B 6f298d7dac142f66914bbc2ea7d6ca70c4aeafaf33ccf12336d5cec64b1f1097b5332c767bb411ccef706ec6184479a84bcf59bda21c4249d45d8ce3dea08e79 SHA512 197765accb8ab6c5f1cc94b2697ff1817e157d85fa231dfe36a85036076e04da2a8035de66aba4f46c6dd7f553176357b94c92e1da5d1dabc574c627deee5279
-DIST manual-2022.5.pdf 13081119 BLAKE2B 7a0ffd086d98527d42da4a22984d8351ad7861e32951e8b65c88e7d0df1559303750886ae31a7c158b4e22f616f6dd5deed9a63b0ed114bb1e0adfda9350a487 SHA512 707869ee6052f1b7f75376b0f78fcc4859035234957cc740bd770ea3bea3a591f7fc1fbc0b8526baab48eebfa506d03927df94ddc9c412c75dc2f2864574dd82
DIST manual-2022.6.pdf 13081140 BLAKE2B e7ae3f23ddc076c295be2c464fe2177d6d6848d070ee5eba2b572e996ae08adead898ec6432b123802907f64983aa4d2e17426be8d540c48d12398a479519f9e SHA512 4724888b3c33c4fa4a035d5fb2f8c51496f67e1ee312676510d5ba74bc3cc1571e71e84464585b87ad0133e8e736343ae382bf8f7b556633f86a99560213d271
-DIST manual-2023.1.pdf 13526498 BLAKE2B a9aabcb722954c9c83a8f5945c85e634b0b82ace8b9b077c3f2b9ff432ca71d3e2d5ca2dd52d6ce489d77d3d4ca7b41d75e5566205bb8855caa650fa2722e5ec SHA512 b6ca6c822ac5b3cbe3c84d8fd51d3ed465268c00bb5f96e2afa557d45f9c534b0de278f33a0fdf43080c9c619344b98cd71847e17b297a789eec4c8b42dea7b2
-DIST manual-2023.2.pdf 13547562 BLAKE2B 17155c82d968003706f974e2fb513dced28987e4630c455674d4088dcb827136e2b7b66836a2bf7f9be472254c11ab4ec98cace1462e85a7a18b0f1eb1760781 SHA512 b8026422fb367bf58d6ddb727afe2f1b208c9abb4eb513d85d395a19a82a7fcf362390f4ae5718fa17b0aeb7bf2c90567f40913fdc3cfc51c63d3757ab5a4905
-DIST manual-2023.3.pdf 13565055 BLAKE2B 0332b5c4de863e9f33d7ae7404741ee8f7f503ee0d2dc723e9cc42e9fd3fb8fc74313b43589cbfc7127daec24b721ba79a3c53ff509e718992ccbde14889ea2f SHA512 144220f18bfab6fefec738a7af743bd01733a896c853963ce113354da05514941862412786f0e2183de77634b31b334814d42daae87a9009ec0211118ed87685
+DIST manual-2023.4.pdf 13572503 BLAKE2B f9985c6ceed2dd66d49c9e9817651b0250994aacb571a552dde6b82a7c02471409cc34622d216290e8ceb3934cf4f51d98d95e1c1f584d1deb5e64c3e02c4b04 SHA512 b42e53f405a8ff4387970e4a1a199452bcb11befbf492cbd78b81229db2b0991e5c0c549162937e83eec79b15c71b441474b1338ed9050fdd132ae2ba09175b6
+DIST manual-2024.1.pdf 13651959 BLAKE2B d76e112d3d22e6638e733dec7db713aa65e16099e98935e0bfe8842966a51a04ca370e9afb62ad5b30f3adced1c67574a21445b61f3ce5a753e5d8680f87967e SHA512 3f1aa3433095983cf7ce5c54383bc384d25d9f3b22357e0360639f619c740df37ec0c827ccc9d48b8f93e3877315ee82f740c486b231f777e1be35e44fd823fe
DIST manual-2024.pdf 13644437 BLAKE2B 19d547686d5c5be5e1236aba648e8afb174b281802ab76e020466953ab5d2dd98701f21eb4736cb449b61960b5b7aadce6711b2b0309a41dd1997d7383bce09e SHA512 b00048651f1f81f9024ba5c4c02ad66d2b07eb7b816f0489568fb64859cac515b885a5cb4640c8b5bd7c3620655a7ebc5fc2e4e4cbb8e952ffb0c9b5815ae661
DIST regressiontests-2018.8.tar.gz 67855469 BLAKE2B 34c9b339f6229f483afbb5192ee6ba8b8f72d5c26907a853af9c53dfece0d88739e48f6b44b78d1c010f988f9385d077285300522164f533a5861e9dda879275 SHA512 3642389d27bd1942cd0f091c940ae97b197b94856a387fe581dc516b0d4169480f16551d4ba357f9282b3337d605c286d51dd38112ac87c826dda634904836bb
DIST regressiontests-2019.6.tar.gz 67643195 BLAKE2B 1e054e24b187946f7ea28090d4f20cf8e1d79a26253f57ba07d130e0773d8541b8a1552a38023d31a68ce8bc62d8e0af1d98609234bb3e7d3e6d567307ebb386 SHA512 eacf1c55b982515a305c29459fe80a7cd558a8481e5689962aa956148af542568b1d1ce59c6784ecb0afd4768c2b664afa21e12af2d89ae2b06b1ba61ad72036
DIST regressiontests-2020.7.tar.gz 48541487 BLAKE2B 255608b52158c6c01e7c7c4dcf075128ecf22b2f26d32e8c203de8a4bc69c60ec95f49cf8ccd64abc3073c5e8dca9d6b01daed9dfb8f67bce2dd068ed01acd05 SHA512 2458582f94f3c9f4e1454824ce3940b4f5b6cb2151d06846c42e7a9448296fd2a6df4f53be9624e0d3317d2b59f89bb5348eb8b2970d7b46ac22ca989ef3458a
-DIST regressiontests-2021.6.tar.gz 48537070 BLAKE2B 982fad6b23da5c1e6d32009f9f08772419c08f15549aea85ec0cd144c7faf5b48ed9b49a2cae662c28008514911cc18e0b39b994854d95f4f206e728b76f3fe5 SHA512 9c0ca29df822bc13005fd35bdb85cc075ea667112ae1670af0d8306cdd2bd348a9f9904bd10da6db458d9c11f4d44860e1fc62e9686d2c6e396e265d18768ba4
DIST regressiontests-2021.7.tar.gz 48537500 BLAKE2B b0c97fa652cb9b972c50f29822f530fcaa2ec9acb6d6442114fc6446c54aade5eb1bfa153c69a7e8bf64b66e8b041d7f8e0d51e7f7b0516f9e03f3d9ad626193 SHA512 7cbead90aa6d62346dcf7c2249c3cfa179884b987a749624444d2f59d93e0322f7721143bf6eb44d26102635dc70a73546ef82d4647558b6320bfdd459074017
-DIST regressiontests-2022.5.tar.gz 48615858 BLAKE2B 6655946155291eb24f76832c76e21b5c606905e94426fd057ecdaa44d74844613ba288b651f94120553ef7d7f938de345ddaac7c3738d67bdad148359b7b4500 SHA512 8dd0c8a9b30f4c047fb756dee8eee1cb667803c231fd114717e3156c5694a195dec2b57d80b50b417312949bc4cb7da90027cc98102d84fa154a93862bc69790
DIST regressiontests-2022.6.tar.gz 48615697 BLAKE2B 566adafbc36d3c1faae322fca9cf451f57245c4ceed63f90f26208025937dae0c1bbb8c372bce618f63305d0368113fecd96c7275a75d8b9c19c22a6e5aa9b96 SHA512 68aa9bedffbea37fb7703c18c3f66f607a91f16ece4bec58ced6e42a481156b2fe83760d0e40cecbdcaf87b168441b8ebde27cec30d98c89f516360ea45ddd43
-DIST regressiontests-2023.1.tar.gz 48613205 BLAKE2B b64716e08e5597676794209a0a951d2a5a46aab2b05bc1615d6f4ba666d5c81a7fe9247fc90ce8d9a5da1a9d52eea73d3d3cd4a4072a8bad66b8de0e06dfa599 SHA512 c6924ec75e456950cef0809ea9718be1bf9d85fe6e9ba5553b2df86ef604b0c7f54d41476f45cbc0ccf801ee0290a829bf4f9eb8d0773586bb8385efc5242d4d
-DIST regressiontests-2023.2.tar.gz 48621115 BLAKE2B bc19380e7adaef5246d5620b611546fcd31e1b92129b78c6a8b9acf58bcebab8427aca1b71434b9d6f44535aeb7c2053ada941a8851435f3949aab43316ec136 SHA512 ecb275b93b72bc862c1c9f87c7c1b3abbe535c770e86c020f0f5684a60c6edeb19a193719f338d42576b9c40ec213b915f4c2b3c206dca574eccb8f9ade2c261
-DIST regressiontests-2023.3.tar.gz 48620623 BLAKE2B e664bde0dab4bc27f1c8c1b6a24f4a9cba1164a7978d169be091945dc1cabfe821f983a7b7c891cd983d5b05bb3f27c07cdb180c0bfadb93751618cab57671e7 SHA512 0a5bd7a502973c2f658faca159ed0677907a1ca30eae3912a624e58e7cae9965c17c94ce65e94886d92444d34eb63b5b88a578459e6063687c43188031c0f836
+DIST regressiontests-2023.4.tar.gz 48621278 BLAKE2B 047691fa5a97293b239db0e59b7c003b8e19c848fcb73b2453039b2a9722244d996020228454ff88515136f8356a00dcc78cafed11ed5a3007c5a4077c859208 SHA512 27c3dfbe5423bd5e7ed6ae14976e4d0cddd4c6b138070a7b72fec6ebc0e4d56b0b3e6e5c361986b1f354788ce2e9e665999b2fdc6ff6455d7f9012860f9b80ad
+DIST regressiontests-2024.1.tar.gz 48136131 BLAKE2B 600b2d11916152b1a29db5b67de61752137e507d5b3634325c034b3ae16c96ca039762f74fe961912b728592d6940bb0aa1f409cc58b0b0d18e616c429e680c4 SHA512 1649a6a42be2887b4d494733d5a969df735904fba39f2532969435d99f8fc900e9234d3d0f2a34a90bc0961716c335bbbe322566d14974a9d8fb50932f6a36b0
DIST regressiontests-2024.tar.gz 48142685 BLAKE2B e24c29c2b534f2fe42e4abc122578ba618279f3182f83be604516e6ee2a34ff037b2604b4cda7a9b7e2ea9fce0a386b3efb7c8aa0cac378d6d8c1595be884c76 SHA512 6c4a847c379603590f618a4da7c691b51bbe180ca9dc59abf885ef8599e1b66758171eb05b7d7709d968f559b209c2fa4cfec8f15cc5d072fafe952567002c2e
EBUILD gromacs-2018.8-r2.ebuild 6678 BLAKE2B 9ee890328a96c6bf2589d836e1cd460887c4b0295afb8e31186acd214fbacbf20e68a540a4c55edc811346f078c4b49be3c3a0cc73494e03de5069fe5b220c05 SHA512 38a7efa377973d8dc1e3041da3559a306c1cf3f49b3109f471ecb50274bd5dd284b4a1649b37a37de975de9ff6a56f4737e8fc19b6d48d22d5188f6cc3d862e7
EBUILD gromacs-2019.6-r3.ebuild 7056 BLAKE2B 3b9a44bbfce57e66b6a4f274a2fba74c6083bcf8115908d637a1305055778f628d6a147f4410d0275b647115c055c9460ab2d8019b5ba5984667b7d99f2cdd7b SHA512 16ec0683fdf89a4893670113aba44420c0cb8e889c0c0b314692413314ee8cc1afac9fcca72b598fb2f758216016acf47b522540f61512f29770232f34063e73
EBUILD gromacs-2020.7-r1.ebuild 9836 BLAKE2B fddaab6e06c3a1da28f0e85f5edf03dea4ba38212e933f71f4d7f9e9efe7c042c140ef38492514b65adc4f38d341aa8ea74db5937ef22b84e0f28b1747560f98 SHA512 c3b521a32c3d0690580dfee163a9c21b016c7b7b696d617d7d5991e36de2610b32fd8f0debb05478e15e3d29c99114eeb7704c95dc13f9ff675d2e81cb1d06fb
-EBUILD gromacs-2021.6.ebuild 10041 BLAKE2B ba502fe45bfc5833052a54647070b1975b3ec103629e07a9c6f60e14e538246020864ca4574243dca7219b8bbfa2281355b50ed827d9e740cc41276b793aedbb SHA512 0360866b2ab182846aa8055abc00d2f0a0dbe840b53f16d05558ec3a57342a88a6043447bb940ca3f5add61b3c79025ef837897bb5de18bee7c74701fbe56897
EBUILD gromacs-2021.7-r1.ebuild 10139 BLAKE2B 9611b5c6e0d22255f1faf0f5223cf013ffff2407c3f272f7e0eb932414efc63324cca3fe515fbbbaaa318b14709458d338b18b5c38b87081c1f7fb15ff33b31b SHA512 e0c00ba782790361a354d203327e80820e2c5ef9d4fc1130ece1dc6866303059e505146b8dc18e34d1690e0cd153ac9e6c6015b55e92a047ba96e9a74387301b
-EBUILD gromacs-2022.5-r1.ebuild 9583 BLAKE2B 4700542f3a32bc3055617792d56fa63370438e949efaf073ae3e983f25184ed0f7fbf8a13c777c0da0a0965cfae8ad96625e76ec4d69e5ade60b71d6466fe4af SHA512 9c7c0a0692cd31102c4edce4b33d4e61afb12cf034ad804ba131d40f60cb2b3cf05a424b3f40e4001ea09ee5a5c354b4d98e9a709ee75d5c8d134ee0a579bd09
EBUILD gromacs-2022.6.ebuild 9583 BLAKE2B 4700542f3a32bc3055617792d56fa63370438e949efaf073ae3e983f25184ed0f7fbf8a13c777c0da0a0965cfae8ad96625e76ec4d69e5ade60b71d6466fe4af SHA512 9c7c0a0692cd31102c4edce4b33d4e61afb12cf034ad804ba131d40f60cb2b3cf05a424b3f40e4001ea09ee5a5c354b4d98e9a709ee75d5c8d134ee0a579bd09
-EBUILD gromacs-2022.9999.ebuild 9583 BLAKE2B 4700542f3a32bc3055617792d56fa63370438e949efaf073ae3e983f25184ed0f7fbf8a13c777c0da0a0965cfae8ad96625e76ec4d69e5ade60b71d6466fe4af SHA512 9c7c0a0692cd31102c4edce4b33d4e61afb12cf034ad804ba131d40f60cb2b3cf05a424b3f40e4001ea09ee5a5c354b4d98e9a709ee75d5c8d134ee0a579bd09
-EBUILD gromacs-2023.1-r1.ebuild 9738 BLAKE2B af8b9cfb076d9bf0d49544cb5a7b2bcec58ccbfd20a74eb3082e818a890901d10734aa1aba3b1425aab0c0999f16afe83423a865a823e24433703380a8ed5153 SHA512 19a573be8b616440e6680a27ad4a43195d39e265142dad103f6d27d952594c8a99410c98ec2fb8792e7d1318e8a58172b0c53dfc6c494a1662793ea123cdc935
-EBUILD gromacs-2023.2.ebuild 9738 BLAKE2B af8b9cfb076d9bf0d49544cb5a7b2bcec58ccbfd20a74eb3082e818a890901d10734aa1aba3b1425aab0c0999f16afe83423a865a823e24433703380a8ed5153 SHA512 19a573be8b616440e6680a27ad4a43195d39e265142dad103f6d27d952594c8a99410c98ec2fb8792e7d1318e8a58172b0c53dfc6c494a1662793ea123cdc935
-EBUILD gromacs-2023.3.ebuild 9738 BLAKE2B af8b9cfb076d9bf0d49544cb5a7b2bcec58ccbfd20a74eb3082e818a890901d10734aa1aba3b1425aab0c0999f16afe83423a865a823e24433703380a8ed5153 SHA512 19a573be8b616440e6680a27ad4a43195d39e265142dad103f6d27d952594c8a99410c98ec2fb8792e7d1318e8a58172b0c53dfc6c494a1662793ea123cdc935
+EBUILD gromacs-2023.4.ebuild 9738 BLAKE2B af8b9cfb076d9bf0d49544cb5a7b2bcec58ccbfd20a74eb3082e818a890901d10734aa1aba3b1425aab0c0999f16afe83423a865a823e24433703380a8ed5153 SHA512 19a573be8b616440e6680a27ad4a43195d39e265142dad103f6d27d952594c8a99410c98ec2fb8792e7d1318e8a58172b0c53dfc6c494a1662793ea123cdc935
EBUILD gromacs-2023.9999.ebuild 9738 BLAKE2B af8b9cfb076d9bf0d49544cb5a7b2bcec58ccbfd20a74eb3082e818a890901d10734aa1aba3b1425aab0c0999f16afe83423a865a823e24433703380a8ed5153 SHA512 19a573be8b616440e6680a27ad4a43195d39e265142dad103f6d27d952594c8a99410c98ec2fb8792e7d1318e8a58172b0c53dfc6c494a1662793ea123cdc935
+EBUILD gromacs-2024.1.ebuild 9738 BLAKE2B af8b9cfb076d9bf0d49544cb5a7b2bcec58ccbfd20a74eb3082e818a890901d10734aa1aba3b1425aab0c0999f16afe83423a865a823e24433703380a8ed5153 SHA512 19a573be8b616440e6680a27ad4a43195d39e265142dad103f6d27d952594c8a99410c98ec2fb8792e7d1318e8a58172b0c53dfc6c494a1662793ea123cdc935
EBUILD gromacs-2024.9999.ebuild 9738 BLAKE2B af8b9cfb076d9bf0d49544cb5a7b2bcec58ccbfd20a74eb3082e818a890901d10734aa1aba3b1425aab0c0999f16afe83423a865a823e24433703380a8ed5153 SHA512 19a573be8b616440e6680a27ad4a43195d39e265142dad103f6d27d952594c8a99410c98ec2fb8792e7d1318e8a58172b0c53dfc6c494a1662793ea123cdc935
EBUILD gromacs-2024.ebuild 9738 BLAKE2B af8b9cfb076d9bf0d49544cb5a7b2bcec58ccbfd20a74eb3082e818a890901d10734aa1aba3b1425aab0c0999f16afe83423a865a823e24433703380a8ed5153 SHA512 19a573be8b616440e6680a27ad4a43195d39e265142dad103f6d27d952594c8a99410c98ec2fb8792e7d1318e8a58172b0c53dfc6c494a1662793ea123cdc935
EBUILD gromacs-9999.ebuild 9738 BLAKE2B af8b9cfb076d9bf0d49544cb5a7b2bcec58ccbfd20a74eb3082e818a890901d10734aa1aba3b1425aab0c0999f16afe83423a865a823e24433703380a8ed5153 SHA512 19a573be8b616440e6680a27ad4a43195d39e265142dad103f6d27d952594c8a99410c98ec2fb8792e7d1318e8a58172b0c53dfc6c494a1662793ea123cdc935
diff --git a/sci-chemistry/gromacs/gromacs-2021.6.ebuild b/sci-chemistry/gromacs/gromacs-2021.6.ebuild
deleted file mode 100644
index ae25668db9d0..000000000000
--- a/sci-chemistry/gromacs/gromacs-2021.6.ebuild
+++ /dev/null
@@ -1,352 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CMAKE_MAKEFILE_GENERATOR="ninja"
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-DISTUTILS_OPTIONAL=1
-DISTUTILS_USE_PEP517=no
-DISTUTILS_SINGLE_IMPL=1
-
-inherit bash-completion-r1 cmake cuda distutils-r1 flag-o-matic readme.gentoo-r1 toolchain-funcs xdg-utils
-
-if [[ ${PV} = *9999* ]]; then
- EGIT_REPO_URI="
- https://gitlab.com/gromacs/gromacs.git
- https://github.com/gromacs/gromacs.git
- "
- [[ ${PV} = 9999 ]] && EGIT_BRANCH="master" || EGIT_BRANCH="release-${PV:0:4}"
- inherit git-r3
-else
- SRC_URI="
- https://ftp.gromacs.org/gromacs/${PN}-${PV/_/-}.tar.gz
- doc? ( https://ftp.gromacs.org/manual/manual-${PV/_/-}.pdf )
- test? ( https://ftp.gromacs.org/regressiontests/regressiontests-${PV/_/-}.tar.gz )"
- KEYWORDS="amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~x64-macos"
-fi
-
-ACCE_IUSE="cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 cpu_flags_x86_fma4 cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_avx512f cpu_flags_arm_neon"
-
-DESCRIPTION="The ultimate molecular dynamics simulation package"
-HOMEPAGE="https://www.gromacs.org/"
-
-# see COPYING for details
-# https://repo.or.cz/w/gromacs.git/blob/HEAD:/COPYING
-# base, vmd plugins, fftpack from numpy, blas/lapck from netlib, memtestG80 library, mpi_thread lib
-LICENSE="LGPL-2.1 UoI-NCSA !mkl? ( !fftw? ( BSD ) !blas? ( BSD ) !lapack? ( BSD ) ) cuda? ( LGPL-3 ) threads? ( BSD )"
-SLOT="0/${PV}"
-IUSE="X blas cuda +custom-cflags +doc build-manual double-precision +fftw +gmxapi +gmxapi-legacy +hwloc lapack +lmfit mkl mpi +offensive opencl openmp +python +single-precision test +threads +tng ${ACCE_IUSE}"
-
-CDEPEND="
- X? (
- x11-libs/libX11
- x11-libs/libSM
- x11-libs/libICE
- )
- blas? ( virtual/blas )
- cuda? ( >=dev-util/nvidia-cuda-toolkit-6.5.14[profiler] )
- opencl? ( virtual/opencl )
- fftw? ( sci-libs/fftw:3.0= )
- hwloc? ( sys-apps/hwloc:= )
- lapack? ( virtual/lapack )
- lmfit? ( sci-libs/lmfit:= )
- mkl? ( sci-libs/mkl )
- mpi? ( virtual/mpi )
- ${PYTHON_DEPS}
- "
-BDEPEND="${CDEPEND}
- virtual/pkgconfig
- build-manual? (
- app-text/doxygen
- $(python_gen_cond_dep '
- dev-python/sphinx[${PYTHON_USEDEP}]
- ')
- media-gfx/mscgen
- media-gfx/graphviz
- dev-texlive/texlive-latex
- dev-texlive/texlive-latexextra
- media-gfx/imagemagick
- )"
-RDEPEND="${CDEPEND}"
-
-REQUIRED_USE="
- || ( single-precision double-precision )
- doc? ( !build-manual )
- cuda? ( single-precision )
- opencl? ( single-precision )
- cuda? ( !opencl )
- mkl? ( !blas !fftw !lapack )
- ${PYTHON_REQUIRED_USE}"
-
-DOCS=( AUTHORS README )
-
-RESTRICT="!test? ( test )"
-
-PATCHES=( "${FILESDIR}/${PN}-2021-musl-stdint.patch" )
-
-if [[ ${PV} != *9999 ]]; then
- S="${WORKDIR}/${PN}-${PV/_/-}"
-fi
-
-pkg_pretend() {
- [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
- [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
- python-single-r1_pkg_setup
-}
-
-src_unpack() {
- if [[ ${PV} != *9999 ]]; then
- default
- else
- git-r3_src_unpack
- if use test; then
- EGIT_REPO_URI="https://gitlab.com/gromacs/gromacs-regressiontests.git" \
- EGIT_BRANCH="${EGIT_BRANCH}" \
- EGIT_CHECKOUT_DIR="${WORKDIR}/regressiontests"\
- git-r3_src_unpack
- fi
- fi
-}
-
-src_prepare() {
- #notes/todos
- # -on apple: there is framework support
-
- xdg_environment_reset #591952
-
- cmake_src_prepare
-
- use cuda && cuda_src_prepare
-
- GMX_DIRS=""
- use single-precision && GMX_DIRS+=" float"
- use double-precision && GMX_DIRS+=" double"
-
- if use test; then
- for x in ${GMX_DIRS}; do
- mkdir -p "${WORKDIR}/${P}_${x}" || die
- cp -al "${WORKDIR}/regressiontests"* "${WORKDIR}/${P}_${x}/tests" || die
- done
- fi
-
- DOC_CONTENTS="Gromacs can use sci-chemistry/vmd to read additional file formats"
- if use build-manual; then
- # try to create policy for imagemagik
- mkdir -p "${HOME}"/.config/ImageMagick
- cat >> "${HOME}"/.config/ImageMagick/policy.xml <<- EOF
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE policymap [
- <!ELEMENT policymap (policy)+>
- !ATTLIST policymap xmlns CDATA #FIXED ''>
- <!ELEMENT policy EMPTY>
- <!ATTLIST policy xmlns CDATA #FIXED '' domain NMTOKEN #REQUIRED
- name NMTOKEN #IMPLIED pattern CDATA #IMPLIED rights NMTOKEN #IMPLIED
- stealth NMTOKEN #IMPLIED value CDATA #IMPLIED>
- ]>
- <policymap>
- <policy domain="coder" rights="read | write" pattern="PS" />
- <policy domain="coder" rights="read | write" pattern="PS2" />
- <policy domain="coder" rights="read | write" pattern="PS3" />
- <policy domain="coder" rights="read | write" pattern="EPS" />
- <policy domain="coder" rights="read | write" pattern="PDF" />
- <policy domain="coder" rights="read | write" pattern="XPS" />
- </policymap>
- EOF
- fi
-}
-
-src_configure() {
- local mycmakeargs_pre=( ) extra fft_opts=( )
- local acce="AUTO"
-
- if use custom-cflags; then
- #go from slowest to fastest acceleration
- acce="None"
- if (use amd64 || use x86); then
- use cpu_flags_x86_sse2 && acce="SSE2"
- use cpu_flags_x86_sse4_1 && acce="SSE4.1"
- use cpu_flags_x86_fma4 && acce="AVX_128_FMA"
- use cpu_flags_x86_avx && acce="AVX_256"
- use cpu_flags_x86_avx2 && acce="AVX2_256"
- use cpu_flags_x86_avx512f && acce="AVX_512"
- elif (use arm); then
- use cpu_flags_arm_neon && acce="ARM_NEON"
- elif (use arm64); then
- use cpu_flags_arm_neon && acce="ARM_NEON_ASIMD"
- fi
- else
- strip-flags
- fi
-
- #to create man pages, build tree binaries are executed (bug #398437)
- [[ ${CHOST} = *-darwin* ]] && \
- extra+=" -DCMAKE_BUILD_WITH_INSTALL_RPATH=OFF"
-
- if use fftw; then
- fft_opts=( -DGMX_FFT_LIBRARY=fftw3 )
- elif use mkl; then
- local bits=$(get_libdir)
- fft_opts=( -DGMX_FFT_LIBRARY=mkl
- -DMKL_INCLUDE_DIR="$(echo /opt/intel/*/mkl/include)"
- -DMKL_LIBRARIES="$(echo /opt/intel/*/mkl/lib/*${bits/lib}/libmkl_rt.so)"
- )
- else
- fft_opts=( -DGMX_FFT_LIBRARY=fftpack )
- fi
-
- if use lmfit; then
- local lmfit_opts=( -DGMX_USE_LMFIT=EXTERNAL )
- else
- local lmfit_opts=( -DGMX_USE_LMFIT=INTERNAL )
- fi
-
- mycmakeargs_pre+=(
- "${fft_opts[@]}"
- "${lmfit_opts[@]}"
- -DGMX_X11=$(usex X)
- -DGMX_EXTERNAL_BLAS=$(usex blas)
- -DGMX_EXTERNAL_LAPACK=$(usex lapack)
- -DGMX_OPENMP=$(usex openmp)
- -DGMX_COOL_QUOTES=$(usex offensive)
- -DGMX_USE_TNG=$(usex tng)
- -DGMX_BUILD_MANUAL=$(usex build-manual)
- -DGMX_HWLOC=$(usex hwloc)
- -DGMX_DEFAULT_SUFFIX=off
- -DGMX_SIMD="$acce"
- -DGMX_VMD_PLUGIN_PATH="${EPREFIX}/usr/$(get_libdir)/vmd/plugins/*/molfile/"
- -DBUILD_TESTING=$(usex test)
- -DGMX_BUILD_UNITTESTS=$(usex test)
- -DPYTHON_EXECUTABLE="${EPREFIX}/usr/bin/${EPYTHON}"
- ${extra}
- )
-
- for x in ${GMX_DIRS}; do
- einfo "Configuring for ${x} precision"
- local suffix=""
- #if we build single and double - double is suffixed
- use double-precision && use single-precision && \
- [[ ${x} = "double" ]] && suffix="_d"
- local p
- [[ ${x} = "double" ]] && p="-DGMX_DOUBLE=ON" || p="-DGMX_DOUBLE=OFF"
- local gpu=( "-DGMX_GPU=OFF" )
- [[ ${x} = "float" ]] && use cuda && gpu=( "-DGMX_GPU=CUDA" )
- use opencl && gpu=( "-DGMX_GPU=OPENCL" )
- local mycmakeargs=(
- ${mycmakeargs_pre[@]} ${p}
- -DGMX_MPI=OFF
- -DGMX_THREAD_MPI=$(usex threads)
- -DGMXAPI=$(usex gmxapi)
- -DGMX_INSTALL_LEGACY_API=$(usex gmxapi-legacy)
- "${gpu[@]}"
- "$(use test && echo -DREGRESSIONTEST_PATH="${WORKDIR}/${P}_${x}/tests")"
- -DGMX_BINARY_SUFFIX="${suffix}"
- -DGMX_LIBS_SUFFIX="${suffix}"
- -DGMX_PYTHON_PACKAGE=$(usex python)
- )
- BUILD_DIR="${WORKDIR}/${P}_${x}" cmake_src_configure
- [[ ${CHOST} != *-darwin* ]] || \
- sed -i '/SET(CMAKE_INSTALL_NAME_DIR/s/^/#/' "${WORKDIR}/${P}_${x}/gentoo_rules.cmake" || die
- use mpi || continue
- einfo "Configuring for ${x} precision with mpi"
- local mycmakeargs=(
- ${mycmakeargs_pre[@]} ${p}
- -DGMX_THREAD_MPI=OFF
- -DGMX_MPI=ON
- -DGMX_OPENMM=OFF
- -DGMXAPI=OFF
- "${opencl[@]}"
- "${cuda[@]}"
- -DGMX_BUILD_MDRUN_ONLY=ON
- -DBUILD_SHARED_LIBS=OFF
- -DGMX_BUILD_MANUAL=OFF
- -DGMX_BINARY_SUFFIX="_mpi${suffix}"
- -DGMX_LIBS_SUFFIX="_mpi${suffix}"
- )
- BUILD_DIR="${WORKDIR}/${P}_${x}_mpi" CC="mpicc" cmake_src_configure
- [[ ${CHOST} != *-darwin* ]] || \
- sed -i '/SET(CMAKE_INSTALL_NAME_DIR/s/^/#/' "${WORKDIR}/${P}_${x}_mpi/gentoo_rules.cmake" || die
- done
-}
-
-src_compile() {
- for x in ${GMX_DIRS}; do
- einfo "Compiling for ${x} precision"
- BUILD_DIR="${WORKDIR}/${P}_${x}"\
- cmake_src_compile
- if use python; then
- BUILD_DIR="${WORKDIR}/${P}_${x}"\
- cmake_src_compile python_packaging/all
- BUILD_DIR="${WORKDIR}/${P}" \
- distutils-r1_src_compile
- fi
- # not 100% necessary for rel ebuilds as available from website
- if use build-manual; then
- BUILD_DIR="${WORKDIR}/${P}_${x}"\
- cmake_src_compile manual
- fi
- use mpi || continue
- einfo "Compiling for ${x} precision with mpi"
- BUILD_DIR="${WORKDIR}/${P}_${x}_mpi"\
- cmake_src_compile
- done
-}
-
-src_test() {
- for x in ${GMX_DIRS}; do
- BUILD_DIR="${WORKDIR}/${P}_${x}"\
- cmake_src_compile check
- done
-}
-
-src_install() {
- for x in ${GMX_DIRS}; do
- BUILD_DIR="${WORKDIR}/${P}_${x}" \
- cmake_src_install
- if use python; then
- BUILD_DIR="${WORKDIR}/${P}_${x}" \
- cmake_src_install python_packaging/install
- fi
- if use build-manual; then
- newdoc "${WORKDIR}/${P}_${x}"/docs/manual/gromacs.pdf "${PN}-manual-${PV}.pdf"
- fi
-
- if use doc; then
- if [[ ${PV} != *9999* ]]; then
- newdoc "${DISTDIR}/manual-${PV}.pdf" "${PN}-manual-${PV}.pdf"
- fi
- fi
-
- use mpi || continue
- BUILD_DIR="${WORKDIR}/${P}_${x}_mpi" \
- cmake_src_install
- done
-
- if use tng; then
- insinto /usr/include/tng
- doins src/external/tng_io/include/tng/*h
- fi
- # drop unneeded stuff
- rm "${ED}"/usr/bin/GMXRC* || die
- for x in "${ED}"/usr/bin/gmx-completion-*.bash ; do
- local n=${x##*/gmx-completion-}
- n="${n%.bash}"
- cat "${ED}"/usr/bin/gmx-completion.bash "$x" > "${T}/${n}" || die
- newbashcomp "${T}"/"${n}" "${n}"
- done
- rm "${ED}"/usr/bin/gmx-completion*.bash || die
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- einfo
- einfo "Please read and cite gromacs related papers from list:"
- einfo "https://www.gromacs.org/articles.html"
- einfo
- readme.gentoo_print_elog
-}
diff --git a/sci-chemistry/gromacs/gromacs-2022.5-r1.ebuild b/sci-chemistry/gromacs/gromacs-2022.5-r1.ebuild
deleted file mode 100644
index 8ebb3ae9a8dd..000000000000
--- a/sci-chemistry/gromacs/gromacs-2022.5-r1.ebuild
+++ /dev/null
@@ -1,333 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CMAKE_MAKEFILE_GENERATOR="ninja"
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-DISTUTILS_OPTIONAL=1
-DISTUTILS_USE_PEP517=no
-DISTUTILS_SINGLE_IMPL=1
-
-inherit bash-completion-r1 cmake cuda distutils-r1 flag-o-matic readme.gentoo-r1 toolchain-funcs xdg-utils
-
-if [[ ${PV} = *9999* ]]; then
- EGIT_REPO_URI="
- https://gitlab.com/gromacs/gromacs.git
- https://github.com/gromacs/gromacs.git
- "
- [[ ${PV} = 9999 ]] && EGIT_BRANCH="master" || EGIT_BRANCH="release-${PV:0:4}"
- inherit git-r3
-else
- SRC_URI="
- https://ftp.gromacs.org/gromacs/${P}.tar.gz
- doc? ( https://ftp.gromacs.org/manual/manual-${PV}.pdf )
- test? ( https://ftp.gromacs.org/regressiontests/regressiontests-${PV}.tar.gz )"
- # since 2022 arm support was dropped (but not arm64)
- KEYWORDS="~amd64 -arm ~arm64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
-fi
-
-ACCE_IUSE="cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 cpu_flags_x86_fma4 cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_avx512f cpu_flags_arm_neon"
-
-DESCRIPTION="The ultimate molecular dynamics simulation package"
-HOMEPAGE="https://www.gromacs.org/"
-
-# see COPYING for details
-# https://repo.or.cz/w/gromacs.git/blob/HEAD:/COPYING
-# base, vmd plugins, fftpack from numpy, blas/lapck from netlib, memtestG80 library, mpi_thread lib
-LICENSE="LGPL-2.1 UoI-NCSA !mkl? ( !fftw? ( BSD ) !blas? ( BSD ) !lapack? ( BSD ) ) cuda? ( LGPL-3 ) threads? ( BSD )"
-SLOT="0/${PV}"
-IUSE="blas clang clang-cuda cuda +custom-cflags +doc build-manual double-precision +fftw +gmxapi +gmxapi-legacy +hwloc lapack mkl mpi +offensive opencl openmp +python +single-precision test +threads +tng ${ACCE_IUSE}"
-
-CDEPEND="
- blas? ( virtual/blas )
- cuda? ( >=dev-util/nvidia-cuda-toolkit-11:=[profiler] )
- opencl? ( virtual/opencl )
- fftw? ( sci-libs/fftw:3.0= )
- hwloc? ( sys-apps/hwloc:= )
- lapack? ( virtual/lapack )
- mkl? ( sci-libs/mkl )
- mpi? ( virtual/mpi[cxx] )
- sci-libs/lmfit:=
- >=dev-cpp/muParser-2.3:=
- ${PYTHON_DEPS}
- "
-BDEPEND="${CDEPEND}
- virtual/pkgconfig
- clang? ( >=sys-devel/clang-6:* )
- build-manual? (
- app-text/doxygen
- $(python_gen_cond_dep '
- dev-python/sphinx[${PYTHON_USEDEP}]
- ')
- media-gfx/mscgen
- media-gfx/graphviz
- dev-texlive/texlive-latex
- dev-texlive/texlive-latexextra
- media-gfx/imagemagick
- )"
-RDEPEND="${CDEPEND}
- <sci-chemistry/dssp-4"
-
-REQUIRED_USE="
- || ( single-precision double-precision )
- doc? ( !build-manual )
- cuda? ( single-precision )
- opencl? ( single-precision )
- cuda? ( !opencl )
- clang-cuda? ( clang cuda )
- mkl? ( !blas !fftw !lapack )
- ${PYTHON_REQUIRED_USE}"
-
-DOCS=( AUTHORS README )
-
-RESTRICT="!test? ( test )"
-
-if [[ ${PV} != *9999 ]]; then
- S="${WORKDIR}/${PN}-${PV/_/-}"
-fi
-
-pkg_pretend() {
- [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
- [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
- python-single-r1_pkg_setup
-}
-
-src_unpack() {
- if [[ ${PV} != *9999 ]]; then
- default
- else
- git-r3_src_unpack
- if use test; then
- EGIT_REPO_URI="https://gitlab.com/gromacs/gromacs-regressiontests.git" \
- EGIT_BRANCH="${EGIT_BRANCH}" \
- EGIT_CHECKOUT_DIR="${WORKDIR}/regressiontests"\
- git-r3_src_unpack
- fi
- fi
-}
-
-src_prepare() {
- #notes/todos
- # -on apple: there is framework support
-
- xdg_environment_reset #591952
-
- # we can use clang as default
- if use clang && ! tc-is-clang ; then
- export CC=${CHOST}-clang
- export CXX=${CHOST}-clang++
- else
- tc-export CXX CC
- fi
- # clang-cuda need to filter mfpmath
- if use clang-cuda ; then
- filter-mfpmath sse
- filter-mfpmath i386
- fi
-
- cmake_src_prepare
-
- use cuda && cuda_src_prepare
-
- GMX_DIRS=""
- use single-precision && GMX_DIRS+=" float"
- use double-precision && GMX_DIRS+=" double"
-
- if use test; then
- for x in ${GMX_DIRS}; do
- mkdir -p "${WORKDIR}/${P}_${x}" || die
- cp -al "${WORKDIR}/regressiontests"* "${WORKDIR}/${P}_${x}/tests" || die
- done
- fi
-
- DOC_CONTENTS="Gromacs can use sci-chemistry/vmd to read additional file formats"
- if use build-manual; then
- # try to create policy for imagemagik
- mkdir -p "${HOME}"/.config/ImageMagick
- cat >> "${HOME}"/.config/ImageMagick/policy.xml <<- EOF
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE policymap [
- <!ELEMENT policymap (policy)+>
- !ATTLIST policymap xmlns CDATA #FIXED ''>
- <!ELEMENT policy EMPTY>
- <!ATTLIST policy xmlns CDATA #FIXED '' domain NMTOKEN #REQUIRED
- name NMTOKEN #IMPLIED pattern CDATA #IMPLIED rights NMTOKEN #IMPLIED
- stealth NMTOKEN #IMPLIED value CDATA #IMPLIED>
- ]>
- <policymap>
- <policy domain="coder" rights="read | write" pattern="PS" />
- <policy domain="coder" rights="read | write" pattern="PS2" />
- <policy domain="coder" rights="read | write" pattern="PS3" />
- <policy domain="coder" rights="read | write" pattern="EPS" />
- <policy domain="coder" rights="read | write" pattern="PDF" />
- <policy domain="coder" rights="read | write" pattern="XPS" />
- </policymap>
- EOF
- fi
-}
-
-src_configure() {
- local mycmakeargs_pre=( ) extra fft_opts=( )
- local acce="AUTO"
-
- if use custom-cflags; then
- #go from slowest to fastest acceleration
- acce="None"
- if (use amd64 || use x86); then
- use cpu_flags_x86_sse2 && acce="SSE2"
- use cpu_flags_x86_sse4_1 && acce="SSE4.1"
- use cpu_flags_x86_fma4 && acce="AVX_128_FMA"
- use cpu_flags_x86_avx && acce="AVX_256"
- use cpu_flags_x86_avx2 && acce="AVX2_256"
- use cpu_flags_x86_avx512f && acce="AVX_512"
- elif (use arm); then
- use cpu_flags_arm_neon && acce="ARM_NEON"
- elif (use arm64); then
- use cpu_flags_arm_neon && acce="ARM_NEON_ASIMD"
- fi
- else
- strip-flags
- fi
-
- #to create man pages, build tree binaries are executed (bug #398437)
- [[ ${CHOST} = *-darwin* ]] && \
- extra+=" -DCMAKE_BUILD_WITH_INSTALL_RPATH=OFF"
-
- if use fftw; then
- fft_opts=( -DGMX_FFT_LIBRARY=fftw3 )
- elif use mkl; then
- local bits=$(get_libdir)
- fft_opts=( -DGMX_FFT_LIBRARY=mkl
- -DMKL_INCLUDE_DIR="$(echo /opt/intel/*/mkl/include)"
- -DMKL_LIBRARIES="$(echo /opt/intel/*/mkl/lib/*${bits/lib}/libmkl_rt.so)"
- )
- else
- fft_opts=( -DGMX_FFT_LIBRARY=fftpack )
- fi
-
- mycmakeargs_pre+=(
- "${fft_opts[@]}"
- "${lmfit_opts[@]}"
- -DGMX_USE_LMFIT=EXTERNAL
- -DGMX_USE_MUPARSER=EXTERNAL
- -DGMX_EXTERNAL_BLAS=$(usex blas)
- -DGMX_EXTERNAL_LAPACK=$(usex lapack)
- -DGMX_OPENMP=$(usex openmp)
- -DGMX_COOL_QUOTES=$(usex offensive)
- -DGMX_USE_TNG=$(usex tng)
- -DGMX_BUILD_MANUAL=$(usex build-manual)
- -DGMX_HWLOC=$(usex hwloc)
- -DGMX_DEFAULT_SUFFIX=off
- -DGMX_SIMD="$acce"
- -DGMX_VMD_PLUGIN_PATH="${EPREFIX}/usr/$(get_libdir)/vmd/plugins/*/molfile/"
- -DGMX_DSSP_PROGRAM_PATH="${EPREFIX}/usr/bin/dssp"
- -DBUILD_TESTING=$(usex test)
- -DGMX_BUILD_UNITTESTS=$(usex test)
- -DPYTHON_EXECUTABLE="${EPREFIX}/usr/bin/${EPYTHON}"
- ${extra}
- )
-
- for x in ${GMX_DIRS}; do
- einfo "Configuring for ${x} precision"
- local suffix=""
- #if we build single and double - double is suffixed
- use double-precision && use single-precision && \
- [[ ${x} = "double" ]] && suffix="_d"
- local p
- [[ ${x} = "double" ]] && p="-DGMX_DOUBLE=ON" || p="-DGMX_DOUBLE=OFF"
- local gpu=( "-DGMX_GPU=OFF" )
- [[ ${x} = "float" ]] && use cuda && gpu=( "-DGMX_GPU=CUDA" )
- [[ ${x} = "float" ]] && use clang-cuda && gpu=( "-DGMX_GPU=CUDA" "-DGMX_CLANG_CUDA=ON" )
- use opencl && gpu=( "-DGMX_GPU=OPENCL" )
- local mycmakeargs=(
- ${mycmakeargs_pre[@]} ${p}
- -DGMX_MPI=$(usex mpi)
- -DGMX_THREAD_MPI=$(usex threads)
- -DGMXAPI=$(usex gmxapi)
- -DGMX_INSTALL_LEGACY_API=$(usex gmxapi-legacy)
- "${gpu[@]}"
- "$(use test && echo -DREGRESSIONTEST_PATH="${WORKDIR}/${P}_${x}/tests")"
- -DGMX_BINARY_SUFFIX="${suffix}"
- -DGMX_LIBS_SUFFIX="${suffix}"
- -DGMX_PYTHON_PACKAGE=$(usex python)
- )
- BUILD_DIR="${WORKDIR}/${P}_${x}" cmake_src_configure
- [[ ${CHOST} != *-darwin* ]] || \
- sed -i '/SET(CMAKE_INSTALL_NAME_DIR/s/^/#/' "${WORKDIR}/${P}_${x}/gentoo_rules.cmake" || die
- done
-}
-
-src_compile() {
- for x in ${GMX_DIRS}; do
- einfo "Compiling for ${x} precision"
- BUILD_DIR="${WORKDIR}/${P}_${x}"\
- cmake_src_compile
- if use python; then
- BUILD_DIR="${WORKDIR}/${P}_${x}"\
- cmake_src_compile python_packaging/all
- BUILD_DIR="${WORKDIR}/${P}" \
- distutils-r1_src_compile
- fi
- # not 100% necessary for rel ebuilds as available from website
- if use build-manual; then
- BUILD_DIR="${WORKDIR}/${P}_${x}"\
- cmake_src_compile manual
- fi
- done
-}
-
-src_test() {
- for x in ${GMX_DIRS}; do
- BUILD_DIR="${WORKDIR}/${P}_${x}"\
- cmake_src_compile check
- done
-}
-
-src_install() {
- for x in ${GMX_DIRS}; do
- BUILD_DIR="${WORKDIR}/${P}_${x}" \
- cmake_src_install
- if use python; then
- BUILD_DIR="${WORKDIR}/${P}_${x}" \
- cmake_src_install python_packaging/install
- fi
- if use build-manual; then
- newdoc "${WORKDIR}/${P}_${x}"/docs/manual/gromacs.pdf "${PN}-manual-${PV}.pdf"
- fi
-
- if use doc; then
- if [[ ${PV} != *9999* ]]; then
- newdoc "${DISTDIR}/manual-${PV}.pdf" "${PN}-manual-${PV}.pdf"
- fi
- fi
- done
-
- if use tng; then
- insinto /usr/include/tng
- doins src/external/tng_io/include/tng/*h
- fi
- # drop unneeded stuff
- rm "${ED}"/usr/bin/GMXRC* || die
- for x in "${ED}"/usr/bin/gmx-completion-*.bash ; do
- local n=${x##*/gmx-completion-}
- n="${n%.bash}"
- cat "${ED}"/usr/bin/gmx-completion.bash "$x" > "${T}/${n}" || die
- newbashcomp "${T}"/"${n}" "${n}"
- done
- rm "${ED}"/usr/bin/gmx-completion*.bash || die
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- einfo
- einfo "Please read and cite gromacs related papers from list:"
- einfo "https://www.gromacs.org/articles.html"
- einfo
- readme.gentoo_print_elog
-}
diff --git a/sci-chemistry/gromacs/gromacs-2022.9999.ebuild b/sci-chemistry/gromacs/gromacs-2022.9999.ebuild
deleted file mode 100644
index 8ebb3ae9a8dd..000000000000
--- a/sci-chemistry/gromacs/gromacs-2022.9999.ebuild
+++ /dev/null
@@ -1,333 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CMAKE_MAKEFILE_GENERATOR="ninja"
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-DISTUTILS_OPTIONAL=1
-DISTUTILS_USE_PEP517=no
-DISTUTILS_SINGLE_IMPL=1
-
-inherit bash-completion-r1 cmake cuda distutils-r1 flag-o-matic readme.gentoo-r1 toolchain-funcs xdg-utils
-
-if [[ ${PV} = *9999* ]]; then
- EGIT_REPO_URI="
- https://gitlab.com/gromacs/gromacs.git
- https://github.com/gromacs/gromacs.git
- "
- [[ ${PV} = 9999 ]] && EGIT_BRANCH="master" || EGIT_BRANCH="release-${PV:0:4}"
- inherit git-r3
-else
- SRC_URI="
- https://ftp.gromacs.org/gromacs/${P}.tar.gz
- doc? ( https://ftp.gromacs.org/manual/manual-${PV}.pdf )
- test? ( https://ftp.gromacs.org/regressiontests/regressiontests-${PV}.tar.gz )"
- # since 2022 arm support was dropped (but not arm64)
- KEYWORDS="~amd64 -arm ~arm64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
-fi
-
-ACCE_IUSE="cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 cpu_flags_x86_fma4 cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_avx512f cpu_flags_arm_neon"
-
-DESCRIPTION="The ultimate molecular dynamics simulation package"
-HOMEPAGE="https://www.gromacs.org/"
-
-# see COPYING for details
-# https://repo.or.cz/w/gromacs.git/blob/HEAD:/COPYING
-# base, vmd plugins, fftpack from numpy, blas/lapck from netlib, memtestG80 library, mpi_thread lib
-LICENSE="LGPL-2.1 UoI-NCSA !mkl? ( !fftw? ( BSD ) !blas? ( BSD ) !lapack? ( BSD ) ) cuda? ( LGPL-3 ) threads? ( BSD )"
-SLOT="0/${PV}"
-IUSE="blas clang clang-cuda cuda +custom-cflags +doc build-manual double-precision +fftw +gmxapi +gmxapi-legacy +hwloc lapack mkl mpi +offensive opencl openmp +python +single-precision test +threads +tng ${ACCE_IUSE}"
-
-CDEPEND="
- blas? ( virtual/blas )
- cuda? ( >=dev-util/nvidia-cuda-toolkit-11:=[profiler] )
- opencl? ( virtual/opencl )
- fftw? ( sci-libs/fftw:3.0= )
- hwloc? ( sys-apps/hwloc:= )
- lapack? ( virtual/lapack )
- mkl? ( sci-libs/mkl )
- mpi? ( virtual/mpi[cxx] )
- sci-libs/lmfit:=
- >=dev-cpp/muParser-2.3:=
- ${PYTHON_DEPS}
- "
-BDEPEND="${CDEPEND}
- virtual/pkgconfig
- clang? ( >=sys-devel/clang-6:* )
- build-manual? (
- app-text/doxygen
- $(python_gen_cond_dep '
- dev-python/sphinx[${PYTHON_USEDEP}]
- ')
- media-gfx/mscgen
- media-gfx/graphviz
- dev-texlive/texlive-latex
- dev-texlive/texlive-latexextra
- media-gfx/imagemagick
- )"
-RDEPEND="${CDEPEND}
- <sci-chemistry/dssp-4"
-
-REQUIRED_USE="
- || ( single-precision double-precision )
- doc? ( !build-manual )
- cuda? ( single-precision )
- opencl? ( single-precision )
- cuda? ( !opencl )
- clang-cuda? ( clang cuda )
- mkl? ( !blas !fftw !lapack )
- ${PYTHON_REQUIRED_USE}"
-
-DOCS=( AUTHORS README )
-
-RESTRICT="!test? ( test )"
-
-if [[ ${PV} != *9999 ]]; then
- S="${WORKDIR}/${PN}-${PV/_/-}"
-fi
-
-pkg_pretend() {
- [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
- [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
- python-single-r1_pkg_setup
-}
-
-src_unpack() {
- if [[ ${PV} != *9999 ]]; then
- default
- else
- git-r3_src_unpack
- if use test; then
- EGIT_REPO_URI="https://gitlab.com/gromacs/gromacs-regressiontests.git" \
- EGIT_BRANCH="${EGIT_BRANCH}" \
- EGIT_CHECKOUT_DIR="${WORKDIR}/regressiontests"\
- git-r3_src_unpack
- fi
- fi
-}
-
-src_prepare() {
- #notes/todos
- # -on apple: there is framework support
-
- xdg_environment_reset #591952
-
- # we can use clang as default
- if use clang && ! tc-is-clang ; then
- export CC=${CHOST}-clang
- export CXX=${CHOST}-clang++
- else
- tc-export CXX CC
- fi
- # clang-cuda need to filter mfpmath
- if use clang-cuda ; then
- filter-mfpmath sse
- filter-mfpmath i386
- fi
-
- cmake_src_prepare
-
- use cuda && cuda_src_prepare
-
- GMX_DIRS=""
- use single-precision && GMX_DIRS+=" float"
- use double-precision && GMX_DIRS+=" double"
-
- if use test; then
- for x in ${GMX_DIRS}; do
- mkdir -p "${WORKDIR}/${P}_${x}" || die
- cp -al "${WORKDIR}/regressiontests"* "${WORKDIR}/${P}_${x}/tests" || die
- done
- fi
-
- DOC_CONTENTS="Gromacs can use sci-chemistry/vmd to read additional file formats"
- if use build-manual; then
- # try to create policy for imagemagik
- mkdir -p "${HOME}"/.config/ImageMagick
- cat >> "${HOME}"/.config/ImageMagick/policy.xml <<- EOF
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE policymap [
- <!ELEMENT policymap (policy)+>
- !ATTLIST policymap xmlns CDATA #FIXED ''>
- <!ELEMENT policy EMPTY>
- <!ATTLIST policy xmlns CDATA #FIXED '' domain NMTOKEN #REQUIRED
- name NMTOKEN #IMPLIED pattern CDATA #IMPLIED rights NMTOKEN #IMPLIED
- stealth NMTOKEN #IMPLIED value CDATA #IMPLIED>
- ]>
- <policymap>
- <policy domain="coder" rights="read | write" pattern="PS" />
- <policy domain="coder" rights="read | write" pattern="PS2" />
- <policy domain="coder" rights="read | write" pattern="PS3" />
- <policy domain="coder" rights="read | write" pattern="EPS" />
- <policy domain="coder" rights="read | write" pattern="PDF" />
- <policy domain="coder" rights="read | write" pattern="XPS" />
- </policymap>
- EOF
- fi
-}
-
-src_configure() {
- local mycmakeargs_pre=( ) extra fft_opts=( )
- local acce="AUTO"
-
- if use custom-cflags; then
- #go from slowest to fastest acceleration
- acce="None"
- if (use amd64 || use x86); then
- use cpu_flags_x86_sse2 && acce="SSE2"
- use cpu_flags_x86_sse4_1 && acce="SSE4.1"
- use cpu_flags_x86_fma4 && acce="AVX_128_FMA"
- use cpu_flags_x86_avx && acce="AVX_256"
- use cpu_flags_x86_avx2 && acce="AVX2_256"
- use cpu_flags_x86_avx512f && acce="AVX_512"
- elif (use arm); then
- use cpu_flags_arm_neon && acce="ARM_NEON"
- elif (use arm64); then
- use cpu_flags_arm_neon && acce="ARM_NEON_ASIMD"
- fi
- else
- strip-flags
- fi
-
- #to create man pages, build tree binaries are executed (bug #398437)
- [[ ${CHOST} = *-darwin* ]] && \
- extra+=" -DCMAKE_BUILD_WITH_INSTALL_RPATH=OFF"
-
- if use fftw; then
- fft_opts=( -DGMX_FFT_LIBRARY=fftw3 )
- elif use mkl; then
- local bits=$(get_libdir)
- fft_opts=( -DGMX_FFT_LIBRARY=mkl
- -DMKL_INCLUDE_DIR="$(echo /opt/intel/*/mkl/include)"
- -DMKL_LIBRARIES="$(echo /opt/intel/*/mkl/lib/*${bits/lib}/libmkl_rt.so)"
- )
- else
- fft_opts=( -DGMX_FFT_LIBRARY=fftpack )
- fi
-
- mycmakeargs_pre+=(
- "${fft_opts[@]}"
- "${lmfit_opts[@]}"
- -DGMX_USE_LMFIT=EXTERNAL
- -DGMX_USE_MUPARSER=EXTERNAL
- -DGMX_EXTERNAL_BLAS=$(usex blas)
- -DGMX_EXTERNAL_LAPACK=$(usex lapack)
- -DGMX_OPENMP=$(usex openmp)
- -DGMX_COOL_QUOTES=$(usex offensive)
- -DGMX_USE_TNG=$(usex tng)
- -DGMX_BUILD_MANUAL=$(usex build-manual)
- -DGMX_HWLOC=$(usex hwloc)
- -DGMX_DEFAULT_SUFFIX=off
- -DGMX_SIMD="$acce"
- -DGMX_VMD_PLUGIN_PATH="${EPREFIX}/usr/$(get_libdir)/vmd/plugins/*/molfile/"
- -DGMX_DSSP_PROGRAM_PATH="${EPREFIX}/usr/bin/dssp"
- -DBUILD_TESTING=$(usex test)
- -DGMX_BUILD_UNITTESTS=$(usex test)
- -DPYTHON_EXECUTABLE="${EPREFIX}/usr/bin/${EPYTHON}"
- ${extra}
- )
-
- for x in ${GMX_DIRS}; do
- einfo "Configuring for ${x} precision"
- local suffix=""
- #if we build single and double - double is suffixed
- use double-precision && use single-precision && \
- [[ ${x} = "double" ]] && suffix="_d"
- local p
- [[ ${x} = "double" ]] && p="-DGMX_DOUBLE=ON" || p="-DGMX_DOUBLE=OFF"
- local gpu=( "-DGMX_GPU=OFF" )
- [[ ${x} = "float" ]] && use cuda && gpu=( "-DGMX_GPU=CUDA" )
- [[ ${x} = "float" ]] && use clang-cuda && gpu=( "-DGMX_GPU=CUDA" "-DGMX_CLANG_CUDA=ON" )
- use opencl && gpu=( "-DGMX_GPU=OPENCL" )
- local mycmakeargs=(
- ${mycmakeargs_pre[@]} ${p}
- -DGMX_MPI=$(usex mpi)
- -DGMX_THREAD_MPI=$(usex threads)
- -DGMXAPI=$(usex gmxapi)
- -DGMX_INSTALL_LEGACY_API=$(usex gmxapi-legacy)
- "${gpu[@]}"
- "$(use test && echo -DREGRESSIONTEST_PATH="${WORKDIR}/${P}_${x}/tests")"
- -DGMX_BINARY_SUFFIX="${suffix}"
- -DGMX_LIBS_SUFFIX="${suffix}"
- -DGMX_PYTHON_PACKAGE=$(usex python)
- )
- BUILD_DIR="${WORKDIR}/${P}_${x}" cmake_src_configure
- [[ ${CHOST} != *-darwin* ]] || \
- sed -i '/SET(CMAKE_INSTALL_NAME_DIR/s/^/#/' "${WORKDIR}/${P}_${x}/gentoo_rules.cmake" || die
- done
-}
-
-src_compile() {
- for x in ${GMX_DIRS}; do
- einfo "Compiling for ${x} precision"
- BUILD_DIR="${WORKDIR}/${P}_${x}"\
- cmake_src_compile
- if use python; then
- BUILD_DIR="${WORKDIR}/${P}_${x}"\
- cmake_src_compile python_packaging/all
- BUILD_DIR="${WORKDIR}/${P}" \
- distutils-r1_src_compile
- fi
- # not 100% necessary for rel ebuilds as available from website
- if use build-manual; then
- BUILD_DIR="${WORKDIR}/${P}_${x}"\
- cmake_src_compile manual
- fi
- done
-}
-
-src_test() {
- for x in ${GMX_DIRS}; do
- BUILD_DIR="${WORKDIR}/${P}_${x}"\
- cmake_src_compile check
- done
-}
-
-src_install() {
- for x in ${GMX_DIRS}; do
- BUILD_DIR="${WORKDIR}/${P}_${x}" \
- cmake_src_install
- if use python; then
- BUILD_DIR="${WORKDIR}/${P}_${x}" \
- cmake_src_install python_packaging/install
- fi
- if use build-manual; then
- newdoc "${WORKDIR}/${P}_${x}"/docs/manual/gromacs.pdf "${PN}-manual-${PV}.pdf"
- fi
-
- if use doc; then
- if [[ ${PV} != *9999* ]]; then
- newdoc "${DISTDIR}/manual-${PV}.pdf" "${PN}-manual-${PV}.pdf"
- fi
- fi
- done
-
- if use tng; then
- insinto /usr/include/tng
- doins src/external/tng_io/include/tng/*h
- fi
- # drop unneeded stuff
- rm "${ED}"/usr/bin/GMXRC* || die
- for x in "${ED}"/usr/bin/gmx-completion-*.bash ; do
- local n=${x##*/gmx-completion-}
- n="${n%.bash}"
- cat "${ED}"/usr/bin/gmx-completion.bash "$x" > "${T}/${n}" || die
- newbashcomp "${T}"/"${n}" "${n}"
- done
- rm "${ED}"/usr/bin/gmx-completion*.bash || die
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- einfo
- einfo "Please read and cite gromacs related papers from list:"
- einfo "https://www.gromacs.org/articles.html"
- einfo
- readme.gentoo_print_elog
-}
diff --git a/sci-chemistry/gromacs/gromacs-2023.3.ebuild b/sci-chemistry/gromacs/gromacs-2023.3.ebuild
deleted file mode 100644
index a3319899d419..000000000000
--- a/sci-chemistry/gromacs/gromacs-2023.3.ebuild
+++ /dev/null
@@ -1,335 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CMAKE_MAKEFILE_GENERATOR="ninja"
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-DISTUTILS_OPTIONAL=1
-DISTUTILS_USE_PEP517=no
-DISTUTILS_SINGLE_IMPL=1
-
-inherit bash-completion-r1 cmake cuda distutils-r1 flag-o-matic readme.gentoo-r1 toolchain-funcs xdg-utils
-
-if [[ ${PV} = *9999* ]]; then
- EGIT_REPO_URI="
- https://gitlab.com/gromacs/gromacs.git
- https://github.com/gromacs/gromacs.git
- "
- [[ ${PV} = 9999 ]] && EGIT_BRANCH="master" || EGIT_BRANCH="release-${PV:0:4}"
- inherit git-r3
-else
- SRC_URI="
- https://ftp.gromacs.org/gromacs/${PN}-${PV/_/-}.tar.gz
- doc? ( https://ftp.gromacs.org/manual/manual-${PV/_/-}.pdf )
- test? ( https://ftp.gromacs.org/regressiontests/regressiontests-${PV/_/-}.tar.gz )"
- # since 2022 arm support was dropped (but not arm64)
- KEYWORDS="~amd64 -arm ~arm64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
-fi
-
-ACCE_IUSE="cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 cpu_flags_x86_fma4 cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_avx512f cpu_flags_arm_neon"
-
-DESCRIPTION="The ultimate molecular dynamics simulation package"
-HOMEPAGE="https://www.gromacs.org/"
-
-# see COPYING for details
-# https://repo.or.cz/w/gromacs.git/blob/HEAD:/COPYING
-# base, vmd plugins, fftpack from numpy, blas/lapck from netlib, memtestG80 library, mpi_thread lib
-LICENSE="LGPL-2.1 UoI-NCSA !mkl? ( !fftw? ( BSD ) !blas? ( BSD ) !lapack? ( BSD ) ) cuda? ( LGPL-3 ) threads? ( BSD )"
-SLOT="0/${PV}"
-IUSE="blas clang clang-cuda cuda +custom-cflags +doc build-manual double-precision +fftw +gmxapi +gmxapi-legacy +hwloc lapack mkl mpi +offensive opencl openmp +python +single-precision test +threads +tng ${ACCE_IUSE}"
-
-CDEPEND="
- blas? ( virtual/blas )
- cuda? ( >=dev-util/nvidia-cuda-toolkit-11:=[profiler] )
- opencl? ( virtual/opencl )
- fftw? ( sci-libs/fftw:3.0= )
- hwloc? ( sys-apps/hwloc:= )
- lapack? ( virtual/lapack )
- mkl? ( sci-libs/mkl )
- mpi? ( virtual/mpi[cxx] )
- sci-libs/lmfit:=
- >=dev-cpp/muParser-2.3:=
- ${PYTHON_DEPS}
- "
-BDEPEND="${CDEPEND}
- virtual/pkgconfig
- clang? ( >=sys-devel/clang-6:* )
- build-manual? (
- app-text/doxygen
- $(python_gen_cond_dep '
- dev-python/sphinx[${PYTHON_USEDEP}]
- dev-python/sphinx-copybutton[${PYTHON_USEDEP}]
- dev-python/sphinx-inline-tabs[${PYTHON_USEDEP}]
- dev-python/sphinx-argparse[${PYTHON_USEDEP}]
- dev-python/sphinxcontrib-autoprogram[${PYTHON_USEDEP}]
- ')
- media-gfx/mscgen
- media-gfx/graphviz
- dev-texlive/texlive-latex
- dev-texlive/texlive-latexextra
- media-gfx/imagemagick
- )"
-RDEPEND="${CDEPEND}"
-
-REQUIRED_USE="
- || ( single-precision double-precision )
- doc? ( !build-manual )
- cuda? ( single-precision )
- opencl? ( single-precision )
- cuda? ( !opencl )
- clang-cuda? ( clang cuda )
- mkl? ( !blas !fftw !lapack )
- ${PYTHON_REQUIRED_USE}"
-
-DOCS=( AUTHORS README )
-
-RESTRICT="!test? ( test )"
-
-if [[ ${PV} != *9999 ]]; then
- S="${WORKDIR}/${PN}-${PV/_/-}"
-fi
-
-pkg_pretend() {
- [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
- [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
- python-single-r1_pkg_setup
-}
-
-src_unpack() {
- if [[ ${PV} != *9999 ]]; then
- default
- else
- git-r3_src_unpack
- if use test; then
- EGIT_REPO_URI="https://gitlab.com/gromacs/gromacs-regressiontests.git" \
- EGIT_BRANCH="${EGIT_BRANCH}" \
- EGIT_CHECKOUT_DIR="${WORKDIR}/regressiontests"\
- git-r3_src_unpack
- fi
- fi
-}
-
-src_prepare() {
- #notes/todos
- # -on apple: there is framework support
-
- xdg_environment_reset #591952
-
- # we can use clang as default
- if use clang && ! tc-is-clang ; then
- export CC=${CHOST}-clang
- export CXX=${CHOST}-clang++
- else
- tc-export CXX CC
- fi
- # clang-cuda need to filter mfpmath
- if use clang-cuda ; then
- filter-mfpmath sse
- filter-mfpmath i386
- fi
-
- cmake_src_prepare
-
- use cuda && cuda_src_prepare
-
- GMX_DIRS=""
- use single-precision && GMX_DIRS+=" float"
- use double-precision && GMX_DIRS+=" double"
-
- if use test; then
- for x in ${GMX_DIRS}; do
- mkdir -p "${WORKDIR}/${P}_${x}" || die
- cp -al "${WORKDIR}/regressiontests"* "${WORKDIR}/${P}_${x}/tests" || die
- done
- fi
-
- DOC_CONTENTS="Gromacs can use sci-chemistry/vmd to read additional file formats"
- if use build-manual; then
- # try to create policy for imagemagik
- mkdir -p "${HOME}"/.config/ImageMagick
- cat >> "${HOME}"/.config/ImageMagick/policy.xml <<- EOF
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE policymap [
- <!ELEMENT policymap (policy)+>
- !ATTLIST policymap xmlns CDATA #FIXED ''>
- <!ELEMENT policy EMPTY>
- <!ATTLIST policy xmlns CDATA #FIXED '' domain NMTOKEN #REQUIRED
- name NMTOKEN #IMPLIED pattern CDATA #IMPLIED rights NMTOKEN #IMPLIED
- stealth NMTOKEN #IMPLIED value CDATA #IMPLIED>
- ]>
- <policymap>
- <policy domain="coder" rights="read | write" pattern="PS" />
- <policy domain="coder" rights="read | write" pattern="PS2" />
- <policy domain="coder" rights="read | write" pattern="PS3" />
- <policy domain="coder" rights="read | write" pattern="EPS" />
- <policy domain="coder" rights="read | write" pattern="PDF" />
- <policy domain="coder" rights="read | write" pattern="XPS" />
- </policymap>
- EOF
- fi
-}
-
-src_configure() {
- local mycmakeargs_pre=( ) extra fft_opts=( )
- local acce="AUTO"
-
- if use custom-cflags; then
- #go from slowest to fastest acceleration
- acce="None"
- if (use amd64 || use x86); then
- use cpu_flags_x86_sse2 && acce="SSE2"
- use cpu_flags_x86_sse4_1 && acce="SSE4.1"
- use cpu_flags_x86_fma4 && acce="AVX_128_FMA"
- use cpu_flags_x86_avx && acce="AVX_256"
- use cpu_flags_x86_avx2 && acce="AVX2_256"
- use cpu_flags_x86_avx512f && acce="AVX_512"
- elif (use arm); then
- use cpu_flags_arm_neon && acce="ARM_NEON"
- elif (use arm64); then
- use cpu_flags_arm_neon && acce="ARM_NEON_ASIMD"
- fi
- else
- strip-flags
- fi
-
- #to create man pages, build tree binaries are executed (bug #398437)
- [[ ${CHOST} = *-darwin* ]] && \
- extra+=" -DCMAKE_BUILD_WITH_INSTALL_RPATH=OFF"
-
- if use fftw; then
- fft_opts=( -DGMX_FFT_LIBRARY=fftw3 )
- elif use mkl; then
- local bits=$(get_libdir)
- fft_opts=( -DGMX_FFT_LIBRARY=mkl
- -DMKL_INCLUDE_DIR="$(echo /opt/intel/*/mkl/include)"
- -DMKL_LIBRARIES="$(echo /opt/intel/*/mkl/lib/*${bits/lib}/libmkl_rt.so)"
- )
- else
- fft_opts=( -DGMX_FFT_LIBRARY=fftpack )
- fi
-
- mycmakeargs_pre+=(
- "${fft_opts[@]}"
- "${lmfit_opts[@]}"
- -DGMX_USE_LMFIT=EXTERNAL
- -DGMX_USE_MUPARSER=EXTERNAL
- -DGMX_EXTERNAL_BLAS=$(usex blas)
- -DGMX_EXTERNAL_LAPACK=$(usex lapack)
- -DGMX_OPENMP=$(usex openmp)
- -DGMX_COOL_QUOTES=$(usex offensive)
- -DGMX_USE_TNG=$(usex tng)
- -DGMX_BUILD_MANUAL=$(usex build-manual)
- -DGMX_HWLOC=$(usex hwloc)
- -DGMX_DEFAULT_SUFFIX=off
- -DGMX_SIMD="$acce"
- -DGMX_VMD_PLUGIN_PATH="${EPREFIX}/usr/$(get_libdir)/vmd/plugins/*/molfile/"
- -DBUILD_TESTING=$(usex test)
- -DGMX_BUILD_UNITTESTS=$(usex test)
- -DPYTHON_EXECUTABLE="${EPREFIX}/usr/bin/${EPYTHON}"
- ${extra}
- )
-
- for x in ${GMX_DIRS}; do
- einfo "Configuring for ${x} precision"
- local suffix=""
- #if we build single and double - double is suffixed
- use double-precision && use single-precision && \
- [[ ${x} = "double" ]] && suffix="_d"
- local p
- [[ ${x} = "double" ]] && p="-DGMX_DOUBLE=ON" || p="-DGMX_DOUBLE=OFF"
- local gpu=( "-DGMX_GPU=OFF" )
- [[ ${x} = "float" ]] && use cuda && gpu=( "-DGMX_GPU=CUDA" )
- [[ ${x} = "float" ]] && use clang-cuda && gpu=( "-DGMX_GPU=CUDA" "-DGMX_CLANG_CUDA=ON" )
- use opencl && gpu=( "-DGMX_GPU=OPENCL" )
- local mycmakeargs=(
- ${mycmakeargs_pre[@]} ${p}
- -DGMX_MPI=$(usex mpi)
- -DGMX_THREAD_MPI=$(usex threads)
- -DGMXAPI=$(usex gmxapi)
- -DGMX_INSTALL_LEGACY_API=$(usex gmxapi-legacy)
- "${gpu[@]}"
- "$(use test && echo -DREGRESSIONTEST_PATH="${WORKDIR}/${P}_${x}/tests")"
- -DGMX_BINARY_SUFFIX="${suffix}"
- -DGMX_LIBS_SUFFIX="${suffix}"
- -DGMX_PYTHON_PACKAGE=$(usex python)
- )
- BUILD_DIR="${WORKDIR}/${P}_${x}" cmake_src_configure
- [[ ${CHOST} != *-darwin* ]] || \
- sed -i '/SET(CMAKE_INSTALL_NAME_DIR/s/^/#/' "${WORKDIR}/${P}_${x}/gentoo_rules.cmake" || die
- done
-}
-
-src_compile() {
- for x in ${GMX_DIRS}; do
- einfo "Compiling for ${x} precision"
- BUILD_DIR="${WORKDIR}/${P}_${x}"\
- cmake_src_compile
- if use python; then
- BUILD_DIR="${WORKDIR}/${P}_${x}"\
- cmake_src_compile python_packaging/all
- BUILD_DIR="${WORKDIR}/${P}" \
- distutils-r1_src_compile
- fi
- # not 100% necessary for rel ebuilds as available from website
- if use build-manual; then
- BUILD_DIR="${WORKDIR}/${P}_${x}"\
- cmake_src_compile manual
- fi
- done
-}
-
-src_test() {
- for x in ${GMX_DIRS}; do
- BUILD_DIR="${WORKDIR}/${P}_${x}"\
- cmake_src_compile check
- done
-}
-
-src_install() {
- for x in ${GMX_DIRS}; do
- BUILD_DIR="${WORKDIR}/${P}_${x}" \
- cmake_src_install
- if use python; then
- BUILD_DIR="${WORKDIR}/${P}_${x}" \
- cmake_src_install python_packaging/install
- fi
- if use build-manual; then
- newdoc "${WORKDIR}/${P}_${x}"/docs/manual/gromacs.pdf "${PN}-manual-${PV}.pdf"
- fi
-
- if use doc; then
- if [[ ${PV} != *9999* ]]; then
- newdoc "${DISTDIR}/manual-${PV/_/-}.pdf" "${PN}-manual-${PV}.pdf"
- fi
- fi
- done
-
- if use tng; then
- insinto /usr/include/tng
- doins src/external/tng_io/include/tng/*h
- fi
- # drop unneeded stuff
- rm "${ED}"/usr/bin/GMXRC* || die
- for x in "${ED}"/usr/bin/gmx-completion-*.bash ; do
- local n=${x##*/gmx-completion-}
- n="${n%.bash}"
- cat "${ED}"/usr/bin/gmx-completion.bash "$x" > "${T}/${n}" || die
- newbashcomp "${T}"/"${n}" "${n}"
- done
- rm "${ED}"/usr/bin/gmx-completion*.bash || die
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- einfo
- einfo "Please read and cite gromacs related papers from list:"
- einfo "https://www.gromacs.org/articles.html"
- einfo
- readme.gentoo_print_elog
-}
diff --git a/sci-chemistry/gromacs/gromacs-2023.1-r1.ebuild b/sci-chemistry/gromacs/gromacs-2023.4.ebuild
index a3319899d419..a3319899d419 100644
--- a/sci-chemistry/gromacs/gromacs-2023.1-r1.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2023.4.ebuild
diff --git a/sci-chemistry/gromacs/gromacs-2023.2.ebuild b/sci-chemistry/gromacs/gromacs-2024.1.ebuild
index a3319899d419..a3319899d419 100644
--- a/sci-chemistry/gromacs/gromacs-2023.2.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2024.1.ebuild