diff options
author | Julien Roy <julien@jroy.ca> | 2024-02-22 19:46:50 -0500 |
---|---|---|
committer | Julien Roy <julien@jroy.ca> | 2024-03-25 12:28:56 -0400 |
commit | a6b3f15b1a76a2b066f9ff763fab5588bab902c6 (patch) | |
tree | 86f32d7074d66c79409440a9426b97d7efaf5df8 /sci-physics | |
parent | profiles: Unmask treecleaned packages (diff) | |
download | guru-a6b3f15b1a76a2b066f9ff763fab5588bab902c6.tar.gz guru-a6b3f15b1a76a2b066f9ff763fab5588bab902c6.tar.bz2 guru-a6b3f15b1a76a2b066f9ff763fab5588bab902c6.zip |
*/*: treeclean stale/unmaintained packages
Closes: https://bugs.gentoo.org/885347
Closes: https://bugs.gentoo.org/885345
Closes: https://bugs.gentoo.org/885343
Closes: https://bugs.gentoo.org/885341
Closes: https://bugs.gentoo.org/885339
Closes: https://bugs.gentoo.org/885337
Closes: https://bugs.gentoo.org/885335
Closes: https://bugs.gentoo.org/885331
Closes: https://bugs.gentoo.org/885329
Closes: https://bugs.gentoo.org/869230
Closes: https://bugs.gentoo.org/860975
Closes: https://bugs.gentoo.org/859664
Closes: https://bugs.gentoo.org/900362
Closes: https://bugs.gentoo.org/887439
Closes: https://bugs.gentoo.org/887433
Closes: https://bugs.gentoo.org/855116
Closes: https://bugs.gentoo.org/855107
Closes: https://bugs.gentoo.org/897656
Closes: https://bugs.gentoo.org/887955
Closes: https://bugs.gentoo.org/885293
Closes: https://bugs.gentoo.org/847322
Closes: https://bugs.gentoo.org/843524
Closes: https://bugs.gentoo.org/860012
Closes: https://bugs.gentoo.org/852032
Closes: https://bugs.gentoo.org/887193
Closes: https://bugs.gentoo.org/859646
Closes: https://bugs.gentoo.org/901025
Closes: https://bugs.gentoo.org/921735
Closes: https://bugs.gentoo.org/901027
Closes: https://bugs.gentoo.org/887209
Closes: https://bugs.gentoo.org/859649
Closes: https://bugs.gentoo.org/855125
Closes: https://bugs.gentoo.org/921751
Closes: https://bugs.gentoo.org/859673
Closes: https://bugs.gentoo.org/799449
Closes: https://bugs.gentoo.org/901127
Closes: https://bugs.gentoo.org/921740
Closes: https://bugs.gentoo.org/901163
Closes: https://bugs.gentoo.org/887313
Closes: https://bugs.gentoo.org/847325
Closes: https://bugs.gentoo.org/884553
Closes: https://bugs.gentoo.org/859700
Closes: https://bugs.gentoo.org/857633
Closes: https://bugs.gentoo.org/857630
Closes: https://bugs.gentoo.org/857627
Closes: https://bugs.gentoo.org/857624
Closes: https://bugs.gentoo.org/884565
Closes: https://bugs.gentoo.org/855080
Closes: https://bugs.gentoo.org/855119
Closes: https://bugs.gentoo.org/901167
Closes: https://bugs.gentoo.org/887413
Closes: https://bugs.gentoo.org/861707
Closes: https://bugs.gentoo.org/859715
Closes: https://bugs.gentoo.org/901179
Closes: https://bugs.gentoo.org/901181
Closes: https://bugs.gentoo.org/901141
Closes: https://bugs.gentoo.org/887435
Closes: https://bugs.gentoo.org/859718
Closes: https://bugs.gentoo.org/901177
Closes: https://bugs.gentoo.org/890893
Closes: https://bugs.gentoo.org/901185
Closes: https://bugs.gentoo.org/887445
Closes: https://bugs.gentoo.org/884579
Closes: https://bugs.gentoo.org/901193
Closes: https://bugs.gentoo.org/859724
Closes: https://bugs.gentoo.org/886629
Closes: https://bugs.gentoo.org/859730
Closes: https://bugs.gentoo.org/861974
Closes: https://bugs.gentoo.org/887511
Closes: https://bugs.gentoo.org/861977
Closes: https://bugs.gentoo.org/861980
Closes: https://bugs.gentoo.org/887513
Closes: https://bugs.gentoo.org/897392
Closes: https://bugs.gentoo.org/861983
Closes: https://bugs.gentoo.org/861986
Closes: https://bugs.gentoo.org/861989
Closes: https://bugs.gentoo.org/861992
Closes: https://bugs.gentoo.org/861995
Closes: https://bugs.gentoo.org/887515
Closes: https://bugs.gentoo.org/861998
Closes: https://bugs.gentoo.org/862001
Closes: https://bugs.gentoo.org/887517
Closes: https://bugs.gentoo.org/862004
Closes: https://bugs.gentoo.org/862007
Closes: https://bugs.gentoo.org/862010
Closes: https://bugs.gentoo.org/862013
Closes: https://bugs.gentoo.org/862016
Closes: https://bugs.gentoo.org/862079
Closes: https://bugs.gentoo.org/915488
Closes: https://bugs.gentoo.org/884693
Closes: https://bugs.gentoo.org/901149
Closes: https://bugs.gentoo.org/855278
Closes: https://bugs.gentoo.org/921779
Closes: https://bugs.gentoo.org/921885
Closes: https://bugs.gentoo.org/835485
Closes: https://bugs.gentoo.org/887659
Closes: https://bugs.gentoo.org/834741
Closes: https://bugs.gentoo.org/884695
Closes: https://bugs.gentoo.org/901297
Closes: https://bugs.gentoo.org/807703
Closes: https://bugs.gentoo.org/862957
Closes: https://bugs.gentoo.org/922022
Closes: https://bugs.gentoo.org/923917
Closes: https://bugs.gentoo.org/923916
Closes: https://bugs.gentoo.org/923918
Closes: https://bugs.gentoo.org/901287
Closes: https://bugs.gentoo.org/852047
Closes: https://bugs.gentoo.org/852035
Closes: https://bugs.gentoo.org/860333
Closes: https://bugs.gentoo.org/848039
Closes: https://bugs.gentoo.org/897650
Closes: https://bugs.gentoo.org/849071
Closes: https://bugs.gentoo.org/842342
Closes: https://bugs.gentoo.org/860471
Closes: https://bugs.gentoo.org/887953
Closes: https://bugs.gentoo.org/863371
Closes: https://bugs.gentoo.org/887951
Closes: https://bugs.gentoo.org/860459
Closes: https://bugs.gentoo.org/901407
Closes: https://bugs.gentoo.org/847352
Closes: https://bugs.gentoo.org/922042
Closes: https://bugs.gentoo.org/860462
Closes: https://bugs.gentoo.org/901409
Closes: https://bugs.gentoo.org/897652
Closes: https://bugs.gentoo.org/848021
Closes: https://bugs.gentoo.org/901405
Closes: https://bugs.gentoo.org/887959
Closes: https://bugs.gentoo.org/901411
Closes: https://bugs.gentoo.org/887961
Closes: https://bugs.gentoo.org/860465
Closes: https://bugs.gentoo.org/885291
Closes: https://bugs.gentoo.org/901413
Closes: https://bugs.gentoo.org/887967
Closes: https://bugs.gentoo.org/860468
Closes: https://bugs.gentoo.org/863377
Closes: https://bugs.gentoo.org/922043
Closes: https://bugs.gentoo.org/901425
Closes: https://bugs.gentoo.org/863380
Closes: https://bugs.gentoo.org/847319
Closes: https://bugs.gentoo.org/863383
Closes: https://bugs.gentoo.org/860474
Closes: https://bugs.gentoo.org/887989
Closes: https://bugs.gentoo.org/860477
Closes: https://bugs.gentoo.org/887991
Closes: https://bugs.gentoo.org/901427
Closes: https://bugs.gentoo.org/887993
Closes: https://bugs.gentoo.org/901429
Closes: https://bugs.gentoo.org/887997
Closes: https://bugs.gentoo.org/860480
Closes: https://bugs.gentoo.org/897654
Closes: https://bugs.gentoo.org/922047
Closes: https://bugs.gentoo.org/887999
Closes: https://bugs.gentoo.org/897664
Closes: https://bugs.gentoo.org/860531
Closes: https://bugs.gentoo.org/784665
Closes: https://bugs.gentoo.org/860525
Closes: https://bugs.gentoo.org/888003
Closes: https://bugs.gentoo.org/860537
Closes: https://bugs.gentoo.org/922052
Closes: https://bugs.gentoo.org/897662
Closes: https://bugs.gentoo.org/901421
Closes: https://bugs.gentoo.org/785535
Closes: https://bugs.gentoo.org/784644
Closes: https://bugs.gentoo.org/804831
Closes: https://bugs.gentoo.org/885365
Closes: https://bugs.gentoo.org/922053
Closes: https://bugs.gentoo.org/840707
Closes: https://bugs.gentoo.org/836142
Closes: https://bugs.gentoo.org/836153
Closes: https://bugs.gentoo.org/783675
Closes: https://bugs.gentoo.org/888005
Closes: https://bugs.gentoo.org/887879
Closes: https://bugs.gentoo.org/860528
Closes: https://bugs.gentoo.org/901417
Closes: https://bugs.gentoo.org/922055
Closes: https://bugs.gentoo.org/842807
Closes: https://bugs.gentoo.org/810287
Closes: https://bugs.gentoo.org/888007
Closes: https://bugs.gentoo.org/860540
Closes: https://bugs.gentoo.org/885373
Closes: https://bugs.gentoo.org/888011
Closes: https://bugs.gentoo.org/800995
Closes: https://bugs.gentoo.org/885375
Closes: https://bugs.gentoo.org/863758
Closes: https://bugs.gentoo.org/809320
Closes: https://bugs.gentoo.org/809440
Closes: https://bugs.gentoo.org/863779
Closes: https://bugs.gentoo.org/901431
Closes: https://bugs.gentoo.org/860774
Closes: https://bugs.gentoo.org/860768
Closes: https://bugs.gentoo.org/901433
Closes: https://bugs.gentoo.org/852989
Closes: https://bugs.gentoo.org/885367
Closes: https://bugs.gentoo.org/860771
Closes: https://bugs.gentoo.org/901435
Closes: https://bugs.gentoo.org/887881
Closes: https://bugs.gentoo.org/901437
Closes: https://bugs.gentoo.org/784668
Closes: https://bugs.gentoo.org/901439
Closes: https://bugs.gentoo.org/901419
Closes: https://bugs.gentoo.org/888017
Closes: https://bugs.gentoo.org/888019
Closes: https://bugs.gentoo.org/901441
Closes: https://bugs.gentoo.org/885377
Closes: https://bugs.gentoo.org/901443
Closes: https://bugs.gentoo.org/807115
Closes: https://bugs.gentoo.org/885363
Closes: https://bugs.gentoo.org/888021
Closes: https://bugs.gentoo.org/888023
Closes: https://bugs.gentoo.org/901445
Closes: https://bugs.gentoo.org/888015
Closes: https://bugs.gentoo.org/887921
Closes: https://bugs.gentoo.org/863821
Closes: https://bugs.gentoo.org/907907
Closes: https://bugs.gentoo.org/887883
Closes: https://bugs.gentoo.org/908948
Closes: https://bugs.gentoo.org/908947
Closes: https://bugs.gentoo.org/908951
Closes: https://bugs.gentoo.org/892694
Closes: https://bugs.gentoo.org/801016
Closes: https://bugs.gentoo.org/922082
Closes: https://bugs.gentoo.org/852260
Closes: https://bugs.gentoo.org/901451
Closes: https://bugs.gentoo.org/922083
Closes: https://bugs.gentoo.org/860777
Closes: https://bugs.gentoo.org/901449
Closes: https://bugs.gentoo.org/901453
Closes: https://bugs.gentoo.org/921785
Closes: https://bugs.gentoo.org/860969
Closes: https://bugs.gentoo.org/817227
Closes: https://bugs.gentoo.org/921788
Closes: https://bugs.gentoo.org/921789
Closes: https://bugs.gentoo.org/835527
Closes: https://bugs.gentoo.org/897414
Closes: https://bugs.gentoo.org/921781
Closes: https://bugs.gentoo.org/897430
Closes: https://bugs.gentoo.org/848720
Closes: https://bugs.gentoo.org/883173
Closes: https://bugs.gentoo.org/921800
Closes: https://bugs.gentoo.org/921803
Closes: https://bugs.gentoo.org/921804
Closes: https://bugs.gentoo.org/921807
Closes: https://bugs.gentoo.org/901479
Closes: https://bugs.gentoo.org/901483
Closes: https://bugs.gentoo.org/901151
Closes: https://bugs.gentoo.org/896028
Closes: https://bugs.gentoo.org/921783
Closes: https://bugs.gentoo.org/897432
Closes: https://bugs.gentoo.org/905472
Closes: https://bugs.gentoo.org/921810
Closes: https://bugs.gentoo.org/843485
Closes: https://bugs.gentoo.org/921816
Closes: https://bugs.gentoo.org/921818
Closes: https://bugs.gentoo.org/921825
Closes: https://bugs.gentoo.org/921822
Closes: https://bugs.gentoo.org/816654
Closes: https://bugs.gentoo.org/921775
Closes: https://bugs.gentoo.org/921777
Closes: https://bugs.gentoo.org/848723
Closes: https://bugs.gentoo.org/921853
Closes: https://bugs.gentoo.org/921895
Closes: https://bugs.gentoo.org/921855
Closes: https://bugs.gentoo.org/897506
Closes: https://bugs.gentoo.org/921857
Closes: https://bugs.gentoo.org/880013
Closes: https://bugs.gentoo.org/897542
Closes: https://bugs.gentoo.org/921864
Closes: https://bugs.gentoo.org/922915
Closes: https://bugs.gentoo.org/921897
Closes: https://bugs.gentoo.org/921900
Closes: https://bugs.gentoo.org/921865
Closes: https://bugs.gentoo.org/887637
Closes: https://bugs.gentoo.org/839306
Closes: https://bugs.gentoo.org/921868
Closes: https://bugs.gentoo.org/921869
Closes: https://bugs.gentoo.org/862082
Closes: https://bugs.gentoo.org/921873
Closes: https://bugs.gentoo.org/897588
Closes: https://bugs.gentoo.org/901221
Closes: https://bugs.gentoo.org/921808
Closes: https://bugs.gentoo.org/897590
Closes: https://bugs.gentoo.org/848549
Closes: https://bugs.gentoo.org/921876
Closes: https://bugs.gentoo.org/921878
Closes: https://bugs.gentoo.org/921879
Closes: https://bugs.gentoo.org/921880
Closes: https://bugs.gentoo.org/921797
Closes: https://bugs.gentoo.org/862765
Closes: https://bugs.gentoo.org/921780
Closes: https://bugs.gentoo.org/921881
Closes: https://bugs.gentoo.org/921813
Closes: https://bugs.gentoo.org/921784
Closes: https://bugs.gentoo.org/800076
Closes: https://bugs.gentoo.org/921884
Closes: https://bugs.gentoo.org/822456
Signed-off-by: Julien Roy <julien@jroy.ca>
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/SU2/Manifest | 6 | ||||
-rw-r--r-- | sci-physics/SU2/SU2-7.2.0-r100.ebuild | 224 | ||||
-rw-r--r-- | sci-physics/SU2/SU2-7.2.0-r2.ebuild | 175 | ||||
-rw-r--r-- | sci-physics/SU2/SU2-7.5.1.ebuild | 253 | ||||
-rw-r--r-- | sci-physics/SU2/files/SU2-7.0.4-unbundle_boost.patch | 30 | ||||
-rw-r--r-- | sci-physics/SU2/files/SU2-7.1.0-fix-env.patch | 11 | ||||
-rw-r--r-- | sci-physics/SU2/files/SU2-7.2.0-DESTDIR.patch | 6 | ||||
-rw-r--r-- | sci-physics/SU2/files/SU2-7.2.0-fix-headers.patch | 51 | ||||
-rw-r--r-- | sci-physics/SU2/files/SU2-7.2.0-system-libraries.patch | 138 | ||||
-rw-r--r-- | sci-physics/SU2/files/SU2-7.5.1-system-libraries.patch | 144 | ||||
-rw-r--r-- | sci-physics/SU2/metadata.xml | 32 | ||||
-rw-r--r-- | sci-physics/mbdyn/Manifest | 1 | ||||
-rw-r--r-- | sci-physics/mbdyn/files/mbdyn-find-bullet.patch | 22 | ||||
-rw-r--r-- | sci-physics/mbdyn/files/mbdyn-octave-no-global-install.patch | 11 | ||||
-rw-r--r-- | sci-physics/mbdyn/files/mbdyn-respect-libtool.patch | 14 | ||||
-rw-r--r-- | sci-physics/mbdyn/mbdyn-1.7.3_p20210925-r1.ebuild | 242 | ||||
-rw-r--r-- | sci-physics/mbdyn/metadata.xml | 45 |
17 files changed, 0 insertions, 1405 deletions
diff --git a/sci-physics/SU2/Manifest b/sci-physics/SU2/Manifest deleted file mode 100644 index ade030808..000000000 --- a/sci-physics/SU2/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -DIST SU2-7.2.0-TestCases.tar.gz 464156192 BLAKE2B 405a5ccdd13bc5109feca1462b6ac434a4d817adbaca964465678683d5593fa940579e364e33414da5f059a89b2919fbc0baed82967246356da49c87ac9ce63f SHA512 d75894c285ac7cb4c72eece10a02f014fb2d85b585c08d1a9bbf12ab51f6004be99c368bde98734891dc45446d0656b21317b50d7d14af95b6ce4bfe72871f11 -DIST SU2-7.2.0-Tutorials.tar.gz 72845754 BLAKE2B ef670a77d0189e9fd8ad48d96bd4617de558311d0df0d81a10dd3cbf8b97b7fbcb0e6725746d8451ce12a923f6895a392582fa980f4054b3b1306609431900ff SHA512 c91cfbdfb26169fc36575f60ec3133ea4a6f39c8433e276840a0f96c7508f3ee898020179ac01d606da9c5e10ee2ad263a642ff6f6b7400d75f4eb03ee7e1cf8 -DIST SU2-7.2.0.tar.gz 15356101 BLAKE2B e52f09d0451c200f6fd6874d55bedf7733f934cb2cee378ca286107960bd82332adc932cae57e9052654b34972717a4f8969db216acdcef8a6816b648119df94 SHA512 5600ebb97ef5939333907f75cda58a02810642439309fc8626ed974dfbfaffdf0cd7d9cc81de310cb12e6f92f98b64c58d607ad93095bd86cc583768947ccf6b -DIST SU2-7.5.1-TestCases.tar.gz 491384375 BLAKE2B f43b605a578cac948c95a35407de4f21a0acbb6befd93fc3f79fba6a3967b64500c7d8cf055051c67dac16176790ae7aca2064c6e24a9777131a6fd01783128a SHA512 e7b67d5ca3792133680828e243b19346ba4fdadb4bf599d76d25b6525e5262d7014dd28ed8dc7558c38534a78d40048269ef71882b0e6961be19b65a13135cab -DIST SU2-7.5.1-Tutorials.tar.gz 98615786 BLAKE2B 906934ada10f60c14aab6d78d742514f008ce833afc53bbd94ba833db6e4734b77d682ce927e989c80829f88858563cd07033e8cc5f80f73bd9bb8eeff4ebba6 SHA512 f59777bc4cecd4b6100bb42ab5f4f30c3119d626f47b0fe7d4c02268af5273ed1f0215a69b78579b5c8ea93d8f01b8533e96ee002c402ae4c0515861ee87dcac -DIST SU2-7.5.1.tar.gz 18894402 BLAKE2B a5e1be7e84765b1d4d3bfa05f60756ec0fb7f50be795836f2e37f83cbb6fd2304b5f572891e69be6e627b972e28fbd975a1cc6cfcf840acc975a02de672706b7 SHA512 863955d95d816fad551254e8d12d71baec771f28e0321705c4fe5f49b72890b079509b716e1274f28fcfaaba00c5d40a10d1cf5b910b71d7836d618fd770fec0 diff --git a/sci-physics/SU2/SU2-7.2.0-r100.ebuild b/sci-physics/SU2/SU2-7.2.0-r100.ebuild deleted file mode 100644 index f3501c53e..000000000 --- a/sci-physics/SU2/SU2-7.2.0-r100.ebuild +++ /dev/null @@ -1,224 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_10 ) - -inherit meson python-single-r1 - -DESCRIPTION="SU2: An Open-Source Suite for Multiphysics Simulation and Design" -HOMEPAGE="https://su2code.github.io/" -SRC_URI=" - https://github.com/su2code/SU2/archive/v${PV}.tar.gz -> ${P}.tar.gz - test? ( https://github.com/su2code/TestCases/archive/v${PV}.tar.gz -> ${P}-TestCases.tar.gz ) - tutorials? ( https://github.com/su2code/Tutorials/archive/v${PV}.tar.gz -> ${P}-Tutorials.tar.gz ) -" - -LICENSE=" - LGPL-2.1 - tecio? ( tecio_license_agreement ) -" -SLOT="0" -KEYWORDS="~amd64" -IUSE="autodiff cgns directdiff librom mixed-precision mkl +mpi mpp openblas openmp parmetis pastix python tecio test tutorials" -# TODO: do not force openblas - -RDEPEND=" - ${PYTHON_DEPS} - cgns? ( >=sci-libs/cgnslib-4 ) - librom? ( sci-libs/libROM ) - mkl? ( sci-libs/mkl ) - mpi? ( virtual/mpi[cxx] ) - mpp? ( sci-libs/Mutationpp:= ) - openblas? ( sci-libs/openblas ) - pastix? ( - <sci-libs/pastix-6[mpi?] - sci-libs/scotch - ) - python? ( $(python_gen_cond_dep ' - dev-python/mpi4py[${PYTHON_USEDEP}] - dev-python/xlwt[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - ') - ) -" -DEPEND=" - ${RDEPEND} - dev-cpp/cli11:= - autodiff? ( - sci-libs/CoDiPack:= - mpi? ( >sci-libs/MeDiPack-1.2:= ) - openmp? ( sci-libs/OpDiLib:= ) - ) - directdiff? ( - sci-libs/CoDiPack:= - mpi? ( >sci-libs/MeDiPack-1.2:= ) - ) - tecio? ( >=dev-libs/boost-1.76.0:= ) - test? ( <dev-cpp/catch-3:0 ) -" -BDEPEND=" - python? ( dev-lang/swig ) - virtual/pkgconfig -" - -# Tests fail with FEATURES="network-sandbox" for most versions of openmpi and mpich it with error: -# "No network interfaces were found for out-of-band communications. -# We require at least one available network for out-of-band messaging." -PROPERTIES="test_network" -RESTRICT="!test? ( test )" -DOCS=( "README.md" "SU2_PY/documentation.txt" ) -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} - parmetis? ( mpi ) - pastix? ( - mpi - || ( openblas mkl ) - ) - test? ( mpi python tutorials ) - ?? ( openblas mkl ) - ?? ( directdiff pastix ) -" -PATCHES=( - "${FILESDIR}/${PN}-7.0.4-unbundle_boost.patch" - "${FILESDIR}/${PN}-7.1.0-fix-env.patch" - "${FILESDIR}/${PN}-7.2.0-system-libraries.patch" - "${FILESDIR}/${PN}-7.2.0-DESTDIR.patch" - "${FILESDIR}/${PN}-7.2.0-fix-headers.patch" -) - -src_unpack() { - unpack "${P}.tar.gz" - if use test ; then - einfo "Unpacking ${P}-TestCases.tar.gz to /var/tmp/portage/sci-physics/${P}/work/${P}/TestCases" - tar -C "${P}"/TestCases --strip-components=1 -xzf "${DISTDIR}/${P}-TestCases.tar.gz" || die - fi - if use tutorials ; then - einfo "Unpacking ${P}-Tutorials.tar.gz to /var/tmp/portage/sci-physics/${P}/work/${P}" - mkdir "${P}"/Tutorials || die - tar -C "${P}"/Tutorials --strip-components=1 -xzf "${DISTDIR}/${P}-Tutorials.tar.gz" || die - fi -} - -src_prepare(){ - rm -rf externals/{CLI11,autotools,catch2,cgns,codi,medi,meson,ninja,opdi} || die - - default - # boost Geometry requires c++14 since >=boost-1.75 - sed -i -e 's:cpp_std=c++11:cpp_std=c++14:' meson.build || die - - # Force Disable parmetis support in meson.build (configure.ac has optional switch) - use !parmetis && { sed -i -e "/parmetis/Id" meson.build || die ; } - - # Disable failed tests - sed -i "/append(dyn_fsi/s/./#&/" TestCases/parallel_regression.py || die - sed -i "/append(fd_sp_pinArray_cht_2d_dp_hf/s/./#&/" TestCases/parallel_regression.py || die - if ! use directdiff ; then - # Disable TestCase('unsteady_cylinder_windowed_average') - sed -i "217s/./#&/" TestCases/parallel_regression_AD.py || die - fi - sed -i "/append(dyn_discadj_fsi/s/./#&/" TestCases/parallel_regression_AD.py || die - - # Copy absence mesh file - if use test ; then - cp "${S}/TestCases/nonequilibrium/viscwedge/viscwedge.su2" "${S}/TestCases/nonequilibrium/axi_visccone/" || die - fi -} - -src_configure() { - if use mpi ; then - export CC=mpicc - export CXX=mpicxx - fi - - local emesonargs=( - $(meson_feature mpi with-mpi) - $(meson_use autodiff enable-autodiff) - $(meson_use cgns enable-cgns) - $(meson_use directdiff enable-directdiff) - $(meson_use librom enable-librom) - $(meson_use mixed-precision enable-mixedprec) - $(meson_use mkl enable-mkl) - $(meson_use mpi custom-mpi) - $(meson_use mpp enable-mpp) - $(meson_use openblas enable-openblas) - $(meson_use openmp with-omp) - $(meson_use pastix enable-pastix) - $(meson_use python enable-pywrapper) - $(meson_use tecio enable-tecio) - $(meson_use test enable-tests) - ) - meson_src_configure -} - -src_test() { - ln -s ../../${P}-build/SU2_CFD/src/SU2_CFD SU2_PY/SU2_CFD || die - ln -s ../../${P}-build/SU2_DEF/src/SU2_DEF SU2_PY/SU2_DEF || die - ln -s ../../${P}-build/SU2_DOT/src/SU2_DOT SU2_PY/SU2_DOT || die - ln -s ../../${P}-build/SU2_GEO/src/SU2_GEO SU2_PY/SU2_GEO || die - ln -s ../../${P}-build/SU2_SOL/src/SU2_SOL SU2_PY/SU2_SOL || die - ln -s ../../${P}-build/SU2_PY/pySU2/pysu2.py SU2_PY/pysu2.py || die - ln -s ../../${P}-build/SU2_PY/pySU2/_pysu2.so SU2_PY/_pysu2.so || die - if use autodiff ; then - ln -s ../../${P}-build/SU2_CFD/src/SU2_CFD_AD SU2_PY/SU2_CFD_AD || die - ln -s ../../${P}-build/SU2_DOT/src/SU2_DOT_AD SU2_PY/SU2_DOT_AD || die - ln -s ../../${P}-build/SU2_PY/pySU2/pysu2ad.py SU2_PY/pysu2ad.py || die - ln -s ../../${P}-build/SU2_PY/pySU2/_pysu2ad.so SU2_PY/_pysu2ad.so || die - if use directdiff ; then - ln -s ../../${P}-build/SU2_CFD/src/SU2_CFD_DIRECTDIFF SU2_PY/SU2_CFD_DIRECTDIFF || die - fi - fi - - export SU2_RUN="${S}/SU2_PY" - export SU2_HOME="${S}" - export PATH="${PATH}:${SU2_RUN}" - export PYTHONPATH="${PYTHONPATH}:${SU2_RUN}" - - einfo "Running UnitTests ..." - ../${P}-build/UnitTests/test_driver || die - - pushd TestCases/ || die - # Currently Tests always use mpi - if use mpi ; then - if use tutorials ; then - ${EPYTHON} tutorials.py || die - fi - if use autodiff ; then - ${EPYTHON} parallel_regression_AD.py || die - fi - ${EPYTHON} parallel_regression.py || die - else - if use autodiff ; then - ${EPYTHON} serial_regression_AD.py || die - fi - ${EPYTHON} serial_regression.py || die - fi - popd || die -} - -src_install() { - DESTDIR="${D}" meson_src_install - - mkdir -p "${D}$(python_get_sitedir)/SU2_PY" || die - if use python; then - mv "${ED}"/usr/bin/*.so -t "${D}$(python_get_sitedir)/SU2_PY" || die - fi - mv "${ED}"/usr/bin/{FSI_tools,SU2,SU2_Nastran} -t "${D}$(python_get_sitedir)" || die - mv "${ED}"/usr/bin/*.py -t "${D}$(python_get_sitedir)/SU2_PY" || die - python_optimize "${D}/$(python_get_sitedir)" - - if use tutorials ; then - insinto "/usr/share/${PN}" - doins -r Tutorials - fi - - local SU2_RUN="$(python_get_sitedir)/SU2_PY" - echo SU2_RUN="${SU2_RUN}" > 99SU2 - echo PATH="${SU2_RUN}" >> 99SU2 - echo PYTHONPATH="${SU2_RUN}" >> 99SU2 - - doenvd 99SU2 -} diff --git a/sci-physics/SU2/SU2-7.2.0-r2.ebuild b/sci-physics/SU2/SU2-7.2.0-r2.ebuild deleted file mode 100644 index 8d1ed6cb5..000000000 --- a/sci-physics/SU2/SU2-7.2.0-r2.ebuild +++ /dev/null @@ -1,175 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_10 ) - -inherit meson python-single-r1 - -DESCRIPTION="SU2: An Open-Source Suite for Multiphysics Simulation and Design" -HOMEPAGE="https://su2code.github.io/" -SRC_URI=" - https://github.com/su2code/SU2/archive/v${PV}.tar.gz -> ${P}.tar.gz - test? ( https://github.com/su2code/TestCases/archive/v${PV}.tar.gz -> ${P}-TestCases.tar.gz ) - tutorials? ( https://github.com/su2code/Tutorials/archive/v${PV}.tar.gz -> ${P}-Tutorials.tar.gz ) -" - -# SU2: LGPL-2.1; cgnslib: ZLIB, TecIO: all-rights-reserved; -# Metis: Apache-2.0; Parmetis: all-rights-reserved, free-noncomm; Mutationpp: LGPL-3.0. -LICENSE="Apache-2.0 LGPL-2.1 LGPL-3 ZLIB all-rights-reserved free-noncomm" -SLOT="0" -KEYWORDS="~amd64" - -# metis, parmetis are bundled; -# omp is disable as it's experimental; -# pastix is disabled as it's require additional external bundled libs; -# autodiff (medi), directdiff (opti) features require additional external bundled libs. -IUSE="cgns mkl +mpi mpp openblas parmetis tecio test tutorials" - -# Tests fail with FEATURES="network-sandbox" for most versions of openmpi and mpich it with error: -# "No network interfaces were found for out-of-band communications. -# We require at least one available network for out-of-band messaging." -PROPERTIES="test_network" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} - mkl? ( !openblas ) - parmetis? ( mpi ) - test? ( parmetis tutorials ) -" - -RDEPEND=" - ${PYTHON_DEPS} - cgns? ( >=sci-libs/cgnslib-4 ) - mkl? ( sci-libs/mkl ) - mpi? ( virtual/mpi[cxx] ) - mpp? ( sci-libs/Mutationpp:= ) - openblas? ( sci-libs/openblas ) -" -DEPEND=" - ${RDEPEND} - dev-cpp/cli11:= - tecio? ( >=dev-libs/boost-1.76.0:= ) - test? ( <dev-cpp/catch-3:0 ) -" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}/${PN}-7.0.4-unbundle_boost.patch" - "${FILESDIR}/${PN}-7.1.0-fix-env.patch" - "${FILESDIR}/${PN}-7.2.0-system-libraries.patch" - "${FILESDIR}/${PN}-7.2.0-DESTDIR.patch" - "${FILESDIR}/${PN}-7.2.0-fix-headers.patch" -) - -DOCS=( "README.md" "SU2_PY/documentation.txt" ) - -src_unpack() { - unpack "${P}.tar.gz" - if use test ; then - einfo "Unpacking ${P}-TestCases.tar.gz to /var/tmp/portage/sci-physics/${P}/work/${P}/TestCases" - tar -C "${P}"/TestCases --strip-components=1 -xzf "${DISTDIR}/${P}-TestCases.tar.gz" || die - fi - if use tutorials ; then - einfo "Unpacking ${P}-Tutorials.tar.gz to /var/tmp/portage/sci-physics/${P}/work/${P}" - mkdir "${P}"/Tutorials || die - tar -C "${P}"/Tutorials --strip-components=1 -xzf "${DISTDIR}/${P}-Tutorials.tar.gz" || die - fi -} - -src_prepare(){ - default - - rm -rf externals/{CLI11,autotools,catch2,cgns,codi,medi,meson,ninja,opdi} || die - - # boost Geometry requires c++14 since >=boost-1.75 - sed -i -e 's:cpp_std=c++11:cpp_std=c++14:' meson.build || die - - # Force Disable parmetis support in meson.build (configure.ac has optional switch) - use !parmetis && { sed -i -e "/parmetis/Id" meson.build || die ; } - - # Disable python-wrapper tests - sed -i "/append(pywrapper_/s/./#&/" TestCases/parallel_regression.py || die - # Disable failed tests - sed -i "/append(dyn_fsi/s/./#&/" TestCases/parallel_regression.py || die - sed -i "/append(fd_sp_pinArray_cht_2d_dp_hf/s/./#&/" TestCases/parallel_regression.py || die - - # Copy absence mesh file - if use test ; then - cp "${S}/TestCases/nonequilibrium/viscwedge/viscwedge.su2" "${S}/TestCases/nonequilibrium/axi_visccone/" || die - fi -} - -src_configure() { - if use mpi ; then - export CC=mpicc - export CXX=mpicxx - fi - - local emesonargs=( - -Denable-autodiff=false - -Denable-directdiff=false - -Denable-pastix=false - -Denable-pywrapper=false - -Dwith-omp=false - $(meson_feature mpi with-mpi) - $(meson_use mpi custom-mpi) - $(meson_use cgns enable-cgns) - $(meson_use mkl enable-mkl) - $(meson_use mpp enable-mpp) - $(meson_use openblas enable-openblas) - $(meson_use tecio enable-tecio) - $(meson_use test enable-tests) - ) - meson_src_configure -} - -src_test() { - ln -s ../../${P}-build/SU2_CFD/src/SU2_CFD SU2_PY/SU2_CFD || die - ln -s ../../${P}-build/SU2_DEF/src/SU2_DEF SU2_PY/SU2_DEF || die - ln -s ../../${P}-build/SU2_DOT/src/SU2_DOT SU2_PY/SU2_DOT || die - ln -s ../../${P}-build/SU2_GEO/src/SU2_GEO SU2_PY/SU2_GEO || die - ln -s ../../${P}-build/SU2_SOL/src/SU2_SOL SU2_PY/SU2_SOL || die - - export SU2_RUN="${S}/SU2_PY" - export SU2_HOME="${S}" - export PATH="${PATH}:${SU2_RUN}" - export PYTHONPATH="${PYTHONPATH}:${SU2_RUN}" - - einfo "Running UnitTests ..." - ../${P}-build/UnitTests/test_driver || die - - pushd TestCases/ || die - if use mpi ; then - if use tutorials ; then - ${EPYTHON} tutorials.py || die - fi - ${EPYTHON} parallel_regression.py || die - else - ${EPYTHON} serial_regression.py || die - fi - popd || die -} - -src_install() { - DESTDIR="${D}" meson_src_install - - mkdir -p "${D}$(python_get_sitedir)/SU2_PY" || die - mv "${ED}"/usr/bin/{FSI_tools,SU2,SU2_Nastran} -t "${D}$(python_get_sitedir)" || die - mv "${ED}"/usr/bin/*.py -t "${D}$(python_get_sitedir)/SU2_PY" || die - python_optimize "${D}/$(python_get_sitedir)" - - if use tutorials ; then - insinto "/usr/share/${PN}" - doins -r Tutorials - fi - - local SU2_RUN="$(python_get_sitedir)/SU2_PY" - echo SU2_RUN="${SU2_RUN}" > 99SU2 - echo PATH="${SU2_RUN}" >> 99SU2 - echo PYTHONPATH="${SU2_RUN}" >> 99SU2 - - doenvd 99SU2 -} diff --git a/sci-physics/SU2/SU2-7.5.1.ebuild b/sci-physics/SU2/SU2-7.5.1.ebuild deleted file mode 100644 index 90793a632..000000000 --- a/sci-physics/SU2/SU2-7.5.1.ebuild +++ /dev/null @@ -1,253 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) - -inherit meson python-single-r1 - -DESCRIPTION="SU2: An Open-Source Suite for Multiphysics Simulation and Design" -HOMEPAGE="https://su2code.github.io/" -SRC_URI=" - https://github.com/su2code/SU2/archive/v${PV}.tar.gz -> ${P}.tar.gz - test? ( https://github.com/su2code/TestCases/archive/v${PV}.tar.gz -> ${P}-TestCases.tar.gz ) - tutorials? ( https://github.com/su2code/Tutorials/archive/v${PV}.tar.gz -> ${P}-Tutorials.tar.gz ) -" - -LICENSE=" - LGPL-2.1 - tecio? ( tecio_license_agreement ) - parmetis? ( all-rights-reserved free-noncomm ) -" -SLOT="0" -KEYWORDS="~amd64" -IUSE="autodiff cgns directdiff librom mixed-precision mkl +mpi mpp openblas openmp parmetis pastix python tecio test tutorials" -# TODO: do not force openblas - -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} - parmetis? ( mpi ) - pastix? ( - mpi - || ( openblas mkl ) - ) - test? ( mpi python tutorials ) - ?? ( openblas mkl ) - ?? ( directdiff pastix ) -" - -# Tests fail with FEATURES="network-sandbox" for most versions of openmpi and mpich it with error: -# "No network interfaces were found for out-of-band communications. -# We require at least one available network for out-of-band messaging." -PROPERTIES="test_network" -RESTRICT="!test? ( test )" - -RDEPEND=" - ${PYTHON_DEPS} - cgns? ( >=sci-libs/cgnslib-4 ) - librom? ( sci-libs/libROM ) - mkl? ( sci-libs/mkl ) - mpi? ( virtual/mpi[cxx] ) - mpp? ( sci-libs/Mutationpp:= ) - openblas? ( sci-libs/openblas ) - pastix? ( - <sci-libs/pastix-6[mpi?] - sci-libs/scotch - ) - python? ( $(python_gen_cond_dep ' - dev-python/mpi4py[${PYTHON_USEDEP}] - dev-python/xlwt[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - ') - ) -" -DEPEND=" - ${RDEPEND} - dev-cpp/cli11:= - dev-cpp/MEL:= - autodiff? ( - sci-libs/CoDiPack:= - mpi? ( >sci-libs/MeDiPack-1.2:= ) - openmp? ( sci-libs/OpDiLib:= ) - ) - directdiff? ( - sci-libs/CoDiPack:= - mpi? ( >sci-libs/MeDiPack-1.2:= ) - ) - tecio? ( >=dev-libs/boost-1.76.0:= ) - test? ( <dev-cpp/catch-3:0 ) -" -BDEPEND=" - python? ( dev-lang/swig ) - virtual/pkgconfig -" - -DOCS=( "README.md" "SU2_PY/documentation.txt" ) - -PATCHES=( - "${FILESDIR}/${PN}-7.0.4-unbundle_boost.patch" - "${FILESDIR}/${PN}-7.1.0-fix-env.patch" - "${FILESDIR}/${P}-system-libraries.patch" - "${FILESDIR}/${PN}-7.2.0-DESTDIR.patch" - "${FILESDIR}/${PN}-7.2.0-fix-headers.patch" - -) - -src_unpack() { - unpack "${P}.tar.gz" - if use test ; then - einfo "Unpacking ${P}-TestCases.tar.gz to /var/tmp/portage/sci-physics/${P}/work/${P}/TestCases" - tar -C "${P}"/TestCases --strip-components=1 -xzf "${DISTDIR}/${P}-TestCases.tar.gz" || die - fi - if use tutorials ; then - einfo "Unpacking ${P}-Tutorials.tar.gz to /var/tmp/portage/sci-physics/${P}/work/${P}" - mkdir "${P}"/Tutorials || die - tar -C "${P}"/Tutorials --strip-components=1 -xzf "${DISTDIR}/${P}-Tutorials.tar.gz" || die - fi -} - -src_prepare(){ - rm -rf externals/{CLI11,autotools,catch2,cgns,codi,medi,mel,meson,ninja,opdi} || die - - default - # boost Geometry requires c++14 since >=boost-1.75 - sed -i -e 's:cpp_std=c++11:cpp_std=c++14:' meson.build || die - - # Force Disable parmetis support in meson.build (configure.ac has optional switch) - use !parmetis && { sed -i -e "/parmetis/Id" meson.build || die ; } - - # Replace platform.processor() with platform.machine() - # to get 'x86_64' in common case instead of full CPU name - sed -i "s/processor()/machine()/" TestCases/TestCase.py || die - - # Fix python3.11 test compatibility (drop universal newline parameter - it's used by default) - sed -i "s/'U'//g" TestCases/TestCase.py || die - - # Disable failed tests - sed -i "/append(tutorial_unst_naca0012)/s/./#&/" TestCases/tutorials.py || die # reasults sligtly differs - - sed -i "/append(turbmod_sa_neg_rae2822/s/./#&/" TestCases/parallel_regression.py || die - sed -i "/append(dyn_fsi/s/./#&/" TestCases/parallel_regression.py || die - sed -i "/append(fd_sp_pinArray_cht_2d_dp_hf/s/./#&/" TestCases/parallel_regression.py || die - sed -i "/append(fd_sp_pinArray_cht_2d_dp_hf/s/./#&/" TestCases/parallel_regression.py || die - sed -i "/append(coolprop_fluidModel/s/./#&/" TestCases/parallel_regression.py || die - sed -i "/append(coolprop_transportModel/s/./#&/" TestCases/parallel_regression.py || die - sed -i "/append(uniform_flow/s/./#&/" TestCases/parallel_regression.py || die - sed -i "/append(pywrapper_square_cylinder/s/./#&/" TestCases/parallel_regression.py || die - - sed -i "/append(discadj_fsi2/s/./#&/" TestCases/parallel_regression_AD.py || die - sed -i "/append(dyn_discadj_fsi/s/./#&/" TestCases/parallel_regression_AD.py || die -} - -src_configure() { - if use mpi ; then - export CC=mpicc - export CXX=mpicxx - fi - - local emesonargs=( - $(meson_feature mpi with-mpi) - $(meson_use autodiff enable-autodiff) - $(meson_use cgns enable-cgns) - $(meson_use directdiff enable-directdiff) - $(meson_use librom enable-librom) - $(meson_use mixed-precision enable-mixedprec) - $(meson_use mkl enable-mkl) - $(meson_use mpi custom-mpi) - $(meson_use mpp enable-mpp) - $(meson_use openblas enable-openblas) - $(meson_use openmp with-omp) - $(meson_use pastix enable-pastix) - $(meson_use python enable-pywrapper) - $(meson_use tecio enable-tecio) - $(meson_use test enable-tests) - ) - meson_src_configure -} - -src_test() { - ln -sf ../../${P}-build/SU2_CFD/src/SU2_CFD SU2_PY/SU2_CFD || die - ln -sf ../../${P}-build/SU2_DEF/src/SU2_DEF SU2_PY/SU2_DEF || die - ln -sf ../../${P}-build/SU2_DOT/src/SU2_DOT SU2_PY/SU2_DOT || die - ln -sf ../../${P}-build/SU2_GEO/src/SU2_GEO SU2_PY/SU2_GEO || die - ln -sf ../../${P}-build/SU2_SOL/src/SU2_SOL SU2_PY/SU2_SOL || die - ln -sf ../../${P}-build/SU2_PY/pySU2/pysu2.py SU2_PY/pysu2.py || die - ln -sf ../../${P}-build/SU2_PY/pySU2/_pysu2.so SU2_PY/_pysu2.so || die - if use autodiff ; then - ln -sf ../../${P}-build/SU2_CFD/src/SU2_CFD_AD SU2_PY/SU2_CFD_AD || die - ln -sf ../../${P}-build/SU2_DOT/src/SU2_DOT_AD SU2_PY/SU2_DOT_AD || die - ln -sf ../../${P}-build/SU2_PY/pySU2/pysu2ad.py SU2_PY/pysu2ad.py || die - ln -sf ../../${P}-build/SU2_PY/pySU2/_pysu2ad.so SU2_PY/_pysu2ad.so || die - if use directdiff ; then - ln -sf ../../${P}-build/SU2_CFD/src/SU2_CFD_DIRECTDIFF SU2_PY/SU2_CFD_DIRECTDIFF || die - fi - fi - - export SU2_RUN="${S}/SU2_PY" - export SU2_HOME="${S}" - export PATH="${PATH}:${SU2_RUN}" - export PYTHONPATH="${PYTHONPATH}:${SU2_RUN}" - - if use autodiff ; then - einfo "Running UnitTests ..." - ../${P}-build/UnitTests/test_driver_AD || die - ../${P}-build/UnitTests/test_driver_DD || die -# else - ## Failed for SU2-7.5.1 with error: - ## application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0 - ## [unset]: write_line error; fd=-1 buf=:cmd=abort exitcode=1 - ## system msg for write_line failure : Bad file descriptor -# ../${P}-build/UnitTests/test_driver || die - fi - - pushd TestCases/ || die - # Currently Tests always use mpi. - # Description on the page https://su2code.github.io/docs/Test-Cases/ states: - # "Note: While many of the cases are used for regression testing, the test case suite - # is provided without any guarantees on performance or expected results. - # Tutorials (which are more thoroughly checked for convergence and results) can be found here." - # Therefore bundled parmetis/metis are used otherwise it results in numerous Tutorials tests failures. - if use mpi ; then - # Running Tutorials tests is preferred than TestCases - if use tutorials ; then - ${EPYTHON} tutorials.py || die - fi - if use autodiff ; then - ${EPYTHON} parallel_regression_AD.py || die - fi - ${EPYTHON} parallel_regression.py || die - else - if use autodiff ; then - ${EPYTHON} serial_regression_AD.py || die - fi - ${EPYTHON} serial_regression.py || die - fi - popd || die -} - -src_install() { - DESTDIR="${D}" meson_src_install - - mkdir -p "${D}$(python_get_sitedir)/SU2_PY" || die - if use python; then - mv "${ED}"/usr/bin/*.so -t "${D}$(python_get_sitedir)/SU2_PY" || die - fi - mv "${ED}"/usr/bin/{FSI_tools,SU2,SU2_Nastran} -t "${D}$(python_get_sitedir)" || die - mv "${ED}"/usr/bin/*.py -t "${D}$(python_get_sitedir)/SU2_PY" || die - python_optimize "${D}/$(python_get_sitedir)" - - if use tutorials ; then - insinto "/usr/share/${PN}" - doins -r Tutorials - fi - - local SU2_RUN="$(python_get_sitedir)/SU2_PY" - echo SU2_RUN="${SU2_RUN}" > 99SU2 - echo PATH="${SU2_RUN}" >> 99SU2 - echo PYTHONPATH="${SU2_RUN}" >> 99SU2 - - doenvd 99SU2 -} diff --git a/sci-physics/SU2/files/SU2-7.0.4-unbundle_boost.patch b/sci-physics/SU2/files/SU2-7.0.4-unbundle_boost.patch deleted file mode 100644 index d6e28bf1e..000000000 --- a/sci-physics/SU2/files/SU2-7.0.4-unbundle_boost.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- a/externals/tecio/meson.build -+++ b/externals/tecio/meson.build -@@ -1,15 +1,15 @@ --check_dir = run_command(python, -- script_path / 'check_dir.py', -- 'boost') --if check_dir.returncode() != 0 -- message('Extracting boost ...') -- extract_boost = run_command(python, -- script_path / 'extract_file.py', -- 'boost.tar.gz', -- meson.current_source_dir(), check: true) --else -- message('Boost sources found.') --endif -+#check_dir = run_command(python, -+# script_path / 'check_dir.py', -+# 'boost') -+#if check_dir.returncode() != 0 -+# message('Extracting boost ...') -+# extract_boost = run_command(python, -+# script_path / 'extract_file.py', -+# 'boost.tar.gz', -+# meson.current_source_dir(), check: true) -+#else -+# message('Boost sources found.') -+#endif - - if mpi - subdir('teciompisrc') diff --git a/sci-physics/SU2/files/SU2-7.1.0-fix-env.patch b/sci-physics/SU2/files/SU2-7.1.0-fix-env.patch deleted file mode 100644 index 1cb1ec53b..000000000 --- a/sci-physics/SU2/files/SU2-7.1.0-fix-env.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/UnitTests/meson.build -+++ b/UnitTests/meson.build -@@ -26,7 +26,7 @@ - test_driver = executable( - 'test_driver', - unit_test_files, -- install : true, -+ install : false, - dependencies : [su2_cfd_dep, common_dep, su2_deps, catch2_dep], - cpp_args: ['-fPIC', default_warning_flags, su2_cpp_args] - ) diff --git a/sci-physics/SU2/files/SU2-7.2.0-DESTDIR.patch b/sci-physics/SU2/files/SU2-7.2.0-DESTDIR.patch deleted file mode 100644 index 19357c2ac..000000000 --- a/sci-physics/SU2/files/SU2-7.2.0-DESTDIR.patch +++ /dev/null @@ -1,6 +0,0 @@ ---- a/SU2_PY/pySU2/install.sh -+++ b/SU2_PY/pySU2/install.sh -@@ -1,2 +1,2 @@ - #!/bin/sh --cp "$1/$2" "${MESON_INSTALL_PREFIX}/bin/$2" -+cp "$1/$2" "${DESTDIR}/${MESON_INSTALL_PREFIX}/bin/$2" diff --git a/sci-physics/SU2/files/SU2-7.2.0-fix-headers.patch b/sci-physics/SU2/files/SU2-7.2.0-fix-headers.patch deleted file mode 100644 index 39f26e733..000000000 --- a/sci-physics/SU2/files/SU2-7.2.0-fix-headers.patch +++ /dev/null @@ -1,51 +0,0 @@ ---- a/UnitTests/Common/geometry/dual_grid/CDualGrid_tests.cpp -+++ b/UnitTests/Common/geometry/dual_grid/CDualGrid_tests.cpp -@@ -28,8 +28,8 @@ - #include "catch.hpp" - #include <sstream> - #include <iomanip> --#include "../../../Common/include/geometry/dual_grid/CEdge.hpp" --#include "../../../Common/include/geometry/dual_grid/CVertex.hpp" -+#include "../../../../Common/include/geometry/dual_grid/CEdge.hpp" -+#include "../../../../Common/include/geometry/dual_grid/CVertex.hpp" - - TEST_CASE("Volume Computation", "[Dual Grid]") { - ---- a/UnitTests/Common/geometry/primal_grid/CPrimalGrid_tests.cpp -+++ b/UnitTests/Common/geometry/primal_grid/CPrimalGrid_tests.cpp -@@ -27,8 +27,8 @@ - - #include "catch.hpp" - #include <sstream> --#include "../../../Common/include/geometry/primal_grid/CPrimalGrid.hpp" --#include "../../../Common/include/geometry/primal_grid/CHexahedron.hpp" -+#include "../../../../Common/include/geometry/primal_grid/CPrimalGrid.hpp" -+#include "../../../../Common/include/geometry/primal_grid/CHexahedron.hpp" - - TEST_CASE("Center of gravity computation", "[Primal Grid]") { - ---- a/UnitTests/test_driver.cpp -+++ b/UnitTests/test_driver.cpp -@@ -31,8 +31,8 @@ - #define CATCH_CONFIG_RUNNER - #include "catch.hpp" - --#include "../../../Common/include/parallelization/mpi_structure.hpp" --#include "../../../Common/include/option_structure.hpp" -+#include "../Common/include/parallelization/mpi_structure.hpp" -+#include "../Common/include/option_structure.hpp" - - int main(int argc, char *argv[]) { - ---- a/SU2_GEO/include/SU2_GEO.hpp -+++ b/SU2_GEO/include/SU2_GEO.hpp -@@ -38,7 +38,7 @@ - - #include "../../Common/include/geometry/CPhysicalGeometry.hpp" - #include "../../Common/include/CConfig.hpp" --#include "../../../Common/include/grid_movement/CSurfaceMovement.hpp" --#include "../../../Common/include/grid_movement/CFreeFormDefBox.hpp" -+#include "../../Common/include/grid_movement/CSurfaceMovement.hpp" -+#include "../../Common/include/grid_movement/CFreeFormDefBox.hpp" - - using namespace std; diff --git a/sci-physics/SU2/files/SU2-7.2.0-system-libraries.patch b/sci-physics/SU2/files/SU2-7.2.0-system-libraries.patch deleted file mode 100644 index 21bfdde56..000000000 --- a/sci-physics/SU2/files/SU2-7.2.0-system-libraries.patch +++ /dev/null @@ -1,138 +0,0 @@ ---- a/meson.build -+++ b/meson.build -@@ -10,7 +10,7 @@ - python = pymod.find_installation() - - su2_cpp_args = [] --su2_deps = [declare_dependency(include_directories: 'externals/CLI11')] -+su2_deps = [declare_dependency(include_directories: '/usr/include/CLI')] - - default_warning_flags = [] - if build_machine.system() != 'windows' -@@ -52,7 +52,7 @@ - endif - - if get_option('enable-autodiff') or get_option('enable-directdiff') -- codi_dep = [declare_dependency(include_directories: 'externals/codi/include')] -+ codi_dep = [declare_dependency(include_directories: '/usr/include/codi')] - codi_rev_args = ['-DCODI_REVERSE_TYPE'] - codi_for_args = ['-DCODI_FORWARD_TYPE'] - endif -@@ -69,7 +69,8 @@ - - # add cgns library - if get_option('enable-cgns') -- subdir('externals/cgns') -+ cpp = meson.get_compiler('cpp') -+ cgns_dep = cpp.find_library('cgns') - su2_deps += cgns_dep - su2_cpp_args += '-DHAVE_CGNS' - endif -@@ -108,6 +108,6 @@ - # add medi dependency - if get_option('enable-autodiff') or get_option('enable-directdiff') -- codi_dep += declare_dependency(include_directories: ['externals/medi/include', 'externals/medi/src']) -+ codi_dep += declare_dependency(include_directories: ['/usr/share/MeDiPack/include', '/usr/share/MeDiPack/src']) - endif - endif - -@@ -117,7 +114,7 @@ - - # add opdi dependency - if get_option('enable-autodiff') -- codi_dep += declare_dependency(include_directories: 'externals/opdi/include') -+ codi_dep += declare_dependency(include_directories: '/usr/include/opdi') - - if get_option('opdi-backend') == 'macro' - su2_cpp_args += '-DFORCE_OPDI_MACRO_BACKEND' -@@ -185,14 +182,10 @@ - - if get_option('enable-librom') - -- assert(get_option('librom_root')!='', -- 'Must specify librom folder (-Dlibrom_root=path/to/libROM)') -- - su2_cpp_args += '-DHAVE_LIBROM' - -- librom_root = get_option('librom_root') -- librom_dep = declare_dependency(include_directories: librom_root, -- link_args: ['-L'+librom_root+'/build', '-lROM']) -+ librom_dep = declare_dependency(include_directories: '/usr/include/libROM', -+ link_args: ['-lROM']) - - su2_deps += librom_dep - -@@ -205,19 +202,19 @@ - endif - endforeach - --catch2_dep = declare_dependency(include_directories: 'externals/catch2/') -+if get_option('enable-tests') -+ catch2_dep = declare_dependency(include_directories: '/usr/include/catch2/') -+endif - - if get_option('enable-mpp') -- cmake = import('cmake') -- mpp_subproj = cmake.subproject('Mutationpp') -- mpp_dep = mpp_subproj.dependency('mutation++') -+ mpp_dep = dependency('mutation++') - su2_deps += mpp_dep - su2_cpp_args += '-DHAVE_MPP' - endif - - if omp and get_option('enable-autodiff') - py = find_program('python3','python') -- p = run_command(py, 'externals/opdi/syntax/check.py', 'su2omp.syntax.json', 'Common', 'SU2_CFD', '-p', '*.hpp', '*.cpp', '*.inl', '-r', '-q') -+ p = run_command(py, '/usr/share/OpDiLib/syntax/check.py', 'su2omp.syntax.json', 'Common', 'SU2_CFD', '-p', '*.hpp', '*.cpp', '*.inl', '-r', '-q') - if p.returncode() != 0 - error(p.stdout()) - endif -@@ -279,21 +274,3 @@ - '''.format(get_option('prefix')+'/bin', meson.source_root(), get_option('enable-tecio'), get_option('enable-cgns'), - get_option('enable-autodiff'), get_option('enable-directdiff'), get_option('enable-pywrapper'), get_option('enable-mkl'), - get_option('enable-openblas'), get_option('enable-pastix'), get_option('enable-mixedprec'), get_option('enable-librom'), meson.build_root().split('/')[-1])) -- --if get_option('enable-mpp') -- message(''' To run SU2 with Mutation++ library, add these lines to your .bashrc file: -- -- export MPP_DATA_DIRECTORY=$SU2_HOME/subprojects/Mutationpp/data -- export LD_LIBRARY_PATH=$SU2_HOME/<build_dir>/subprojects/Mutationpp -- -- ''') --endif -- --if get_option('enable-librom') -- message(''' To run SU2 with libROM library, add this line to your .bashrc file: -- -- export LD_LIBRARY_PATH=@0@/build/:$LD_LIBRARY_PATH -- -- '''.format(get_option('librom_root'))) -- --endif - ---- a/SU2_CFD/include/solvers/CSolver.hpp -+++ b/SU2_CFD/include/solvers/CSolver.hpp -@@ -57,9 +57,9 @@ - #include "../variables/CVariable.hpp" - - #ifdef HAVE_LIBROM --#include "BasisGenerator.h" --#include "QDEIM.h" --#include "DEIM.h" -+#include "linalg/BasisGenerator.h" -+#include "hyperreduction/QDEIM.h" -+#include "hyperreduction/DEIM.h" - #endif - - using namespace std; ---- a/SU2_CFD/include/SU2_CFD.hpp -+++ b/SU2_CFD/include/SU2_CFD.hpp -@@ -29,7 +29,7 @@ - - #include "../../Common/include/parallelization/mpi_structure.hpp" - #include "../../Common/include/parallelization/omp_structure.hpp" --#include "CLI11.hpp" -+#include "CLI.hpp" - - #include "drivers/CDriver.hpp" - #include "drivers/CSinglezoneDriver.hpp" diff --git a/sci-physics/SU2/files/SU2-7.5.1-system-libraries.patch b/sci-physics/SU2/files/SU2-7.5.1-system-libraries.patch deleted file mode 100644 index 06d68657d..000000000 --- a/sci-physics/SU2/files/SU2-7.5.1-system-libraries.patch +++ /dev/null @@ -1,144 +0,0 @@ -diff -Nuar a/SU2_CFD/include/SU2_CFD.hpp b/SU2_CFD/include/SU2_CFD.hpp ---- a/SU2_CFD/include/SU2_CFD.hpp 2023-02-06 19:03:44.000000000 +0300 -+++ b/SU2_CFD/include/SU2_CFD.hpp 2023-03-18 17:24:35.000000000 +0300 -@@ -29,7 +29,7 @@ - - #include "../../Common/include/parallelization/mpi_structure.hpp" - #include "../../Common/include/parallelization/omp_structure.hpp" --#include "CLI11.hpp" -+#include "CLI.hpp" - - #include "drivers/CDriver.hpp" - #include "drivers/CSinglezoneDriver.hpp" -diff -Nuar a/meson.build b/meson.build ---- a/meson.build 2023-02-06 19:03:44.000000000 +0300 -+++ b/meson.build 2023-04-22 18:51:55.000000000 +0300 -@@ -6,15 +6,11 @@ - 'c_std=c99', - 'cpp_std=c++11']) - --if meson.version() != '0.61.1' -- error('SU2 must be configured with the extended Meson script (./meson.py) in the SU2 root directory.') --endif -- - pymod = import('python') - python = pymod.find_installation() - - su2_cpp_args = [] --su2_deps = [declare_dependency(include_directories: 'externals/CLI11')] -+su2_deps = [declare_dependency(include_directories: '/usr/include/CLI')] - - default_warning_flags = [] - if build_machine.system() != 'windows' -@@ -70,7 +66,7 @@ - endif - - if get_option('enable-autodiff') or get_option('enable-directdiff') -- codi_dep = [declare_dependency(include_directories: 'externals/codi/include')] -+ codi_dep = [declare_dependency(include_directories: '/usr/include/codi')] - codi_rev_args = ['-DCODI_REVERSE_TYPE'] - codi_for_args = ['-DCODI_FORWARD_TYPE'] - endif -@@ -87,7 +83,8 @@ - - # add cgns library - if get_option('enable-cgns') -- subdir('externals/cgns') -+ cpp = meson.get_compiler('cpp') -+ cgns_dep = cpp.find_library('cgns') - su2_deps += cgns_dep - su2_cpp_args += '-DHAVE_CGNS' - endif -@@ -125,7 +122,7 @@ - - # add medi dependency - if get_option('enable-autodiff') or get_option('enable-directdiff') -- codi_dep += declare_dependency(include_directories: ['externals/medi/include', 'externals/medi/src']) -+ codi_dep += declare_dependency(include_directories: ['/usr/share/MeDiPack/include', '/usr/share/MeDiPack/src']) - endif - endif - -@@ -135,7 +132,7 @@ - - # add opdi dependency - if get_option('enable-autodiff') -- codi_dep += declare_dependency(include_directories: 'externals/opdi/include') -+ codi_dep += declare_dependency(include_directories: '/usr/include/opdi') - - if get_option('opdi-backend') == 'macro' - su2_cpp_args += '-DFORCE_OPDI_MACRO_BACKEND' -@@ -203,20 +200,16 @@ - - if get_option('enable-librom') - -- assert(get_option('librom_root')!='', -- 'Must specify librom folder (-Dlibrom_root=path/to/libROM)') -- - su2_cpp_args += '-DHAVE_LIBROM' - -- librom_root = get_option('librom_root') -- librom_dep = declare_dependency(include_directories: librom_root+'/lib', -- link_args: ['-L'+librom_root+'/build', '-lROM']) -+ librom_dep = declare_dependency(include_directories: '/usr/include/libROM', -+ link_args: ['-lROM']) - - su2_deps += librom_dep - - endif - --mel_dep = declare_dependency(include_directories: 'externals/mel') -+mel_dep = declare_dependency(include_directories: '/usr/include/MEL') - su2_deps += mel_dep - - extra_deps = get_option('extra-deps').split(',') -@@ -226,12 +219,12 @@ - endif - endforeach - --catch2_dep = declare_dependency(include_directories: 'externals/catch2/') -+if get_option('enable-tests') -+ catch2_dep = declare_dependency(include_directories: '/usr/include/catch2/') -+endif - - if get_option('enable-mpp') -- cmake = import('cmake') -- mpp_subproj = cmake.subproject('Mutationpp') -- mpp_dep = mpp_subproj.dependency('mutation++') -+ mpp_dep = dependency('mutation++') - su2_deps += mpp_dep - su2_cpp_args += '-DHAVE_MPP' - endif -@@ -258,7 +251,7 @@ - - if omp and get_option('enable-autodiff') - py = find_program('python3','python') -- p = run_command(py, 'externals/opdi/syntax/check.py', 'su2omp.syntax.json', 'Common', 'SU2_CFD', '-p', '*.hpp', '*.cpp', '*.inl', '-r', '-q') -+ p = run_command(py, '/usr/share/OpDiLib/syntax/check.py', 'su2omp.syntax.json', 'Common', 'SU2_CFD', '-p', '*.hpp', '*.cpp', '*.inl', '-r', '-q') - if p.returncode() != 0 - error(p.stdout()) - endif -@@ -323,24 +316,6 @@ - get_option('enable-openblas'), get_option('enable-pastix'), get_option('enable-mixedprec'), get_option('enable-librom'), get_option('enable-coolprop'), - meson.build_root().startswith(meson.source_root()) ? meson.build_root().split('/')[-1] : meson.build_root())) - --if get_option('enable-mpp') -- message(''' To run SU2 with Mutation++ library, add these lines to your .bashrc file: -- -- export MPP_DATA_DIRECTORY=$SU2_HOME/subprojects/Mutationpp/data -- export LD_LIBRARY_PATH=$SU2_HOME/<build_dir>/subprojects/Mutationpp -- -- ''') --endif -- --if get_option('enable-librom') -- message(''' To run SU2 with libROM library, add this line to your .bashrc file: -- -- export LD_LIBRARY_PATH=@0@/build/:$LD_LIBRARY_PATH -- -- '''.format(get_option('librom_root'))) -- --endif -- - if get_option('enable-pywrapper') and get_option('enable-cgns') and not get_option('static-cgns-deps') - message(''' WARNING: If compilation fails with a message regarding "attempted static link of dynamic object", reconfigure with option -Dstatic-cgns-deps=true.''') - endif diff --git a/sci-physics/SU2/metadata.xml b/sci-physics/SU2/metadata.xml deleted file mode 100644 index 41dce6ab0..000000000 --- a/sci-physics/SU2/metadata.xml +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <use> - <flag name="autodiff">Enable support for reverse automatic differentiation</flag> - <flag name="cgns">Build with CGNS support</flag> - <flag name="directdiff">Enable support for forward automatic differentiation</flag> - <flag name="librom">Enable LLNL libROM support</flag> - <flag name="mixed-precision">Use single precision floating point arithmetic for sparse algebra</flag> - <flag name="mkl">Enable Intel MKL support</flag> - <flag name="mpp">Enable Mutation++ library support</flag> - <flag name="openblas">Enable BLAS and LAPACK support via OpenBLAS</flag> - <flag name="parmetis">Enable Parmetis support</flag> - <flag name="pastix">Enable PaStiX support</flag> - <flag name="tecio">Enable TECIO support</flag> - <flag name="tutorials">Install Tutorials files</flag> - </use> - <longdescription lang="en"> - The SU2 suite is an open-source collection of C++ based software tools - for performing Partial Differential Equation (PDE) analysis and solving - PDE-constrained optimization problems. - - The toolset is designed with Computational Fluid Dynamics (CFD) - and aerodynamic shape optimization in mind, but is extensible - to treat arbitrary sets of governing equations such as potential flow, - elasticity, electrodynamics, chemically-reacting flows, and many others. - </longdescription> - <upstream> - <remote-id type="github">su2code/SU2</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-physics/mbdyn/Manifest b/sci-physics/mbdyn/Manifest deleted file mode 100644 index e4c3170d8..000000000 --- a/sci-physics/mbdyn/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST mbdyn-ae57618c4e7b030b59707b8c156a6e2a94a6efd0.tar.bz2 3949822 BLAKE2B 26d27d16173f8f615973c51f7877c87f2e4aef414b9253afacbf6bcc37a5e4b995f4b9de044ed557a9a46d49ed2012e30d253cc6b5f0a1d47cd2cb3d95ca9c77 SHA512 01337f5653300847a2ccf7c332109d1052549d7ba189319630029a9dd8e7a08e06c12b1071d3eea05fafecb393793561b656ad8744d0a3754850a100e8029190 diff --git a/sci-physics/mbdyn/files/mbdyn-find-bullet.patch b/sci-physics/mbdyn/files/mbdyn-find-bullet.patch deleted file mode 100644 index 129976181..000000000 --- a/sci-physics/mbdyn/files/mbdyn-find-bullet.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -1889,15 +1889,15 @@ - if test "$ol_with_bullet" != "no" ; then - AC_LANG_CPLUSPLUS - have_libbullet=no -- AC_CHECK_HEADER(BulletCollision/CollisionShapes/btCollisionShape.h,[have_bullet_h=yes],[have_bullet_h=no]) -+ AC_CHECK_HEADER(bullet/BulletCollision/CollisionShapes/btCollisionShape.h,[have_bullet_h=yes],[have_bullet_h=no]) - if test "$have_bullet_h" = "yes" ; then - SAVE_LIBS="$LIBS" -- try_BULLET_LIBS="-lbulletcollision -lbulletmath" -+ try_BULLET_LIBS="-lBulletCollision" - LIBS="$try_BULLET_LIBS $LIBS" -- AC_CHECK_LIB(bulletcollision,btBulletCollisionProbe,[ -+ AC_CHECK_LIB(BulletCollision,btBulletCollisionProbe,[ - have_libbullet=yes - BULLET_LIBS="$try_BULLET_LIBS" -- ],[have_libbullet=no],[-lbulletmath]) -+ ],[have_libbullet=no],[]) - LIBS="$save_LIBS" - fi - diff --git a/sci-physics/mbdyn/files/mbdyn-octave-no-global-install.patch b/sci-physics/mbdyn/files/mbdyn-octave-no-global-install.patch deleted file mode 100644 index 340a1458d..000000000 --- a/sci-physics/mbdyn/files/mbdyn-octave-no-global-install.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/utils/Makefile.am 2021-09-05 14:28:23.674273509 +0200 -+++ b/utils/Makefile.am 2021-09-05 14:28:56.501524237 +0200 -@@ -336,7 +336,7 @@ - @printf "Octave package file \"%s\" created\n" $(PKG_FILE) - - install-exec-local-oct: $(PKG_FILE) -- @$(OCTAVE_CLI) -qfHW --eval "pkg install -global $<" -+ @$(OCTAVE_CLI) -qfHW --eval "pkg install -local $<" - @printf "package \"%s\" installed\n" $(PKG_NAME) - else - install-exec-local-oct: diff --git a/sci-physics/mbdyn/files/mbdyn-respect-libtool.patch b/sci-physics/mbdyn/files/mbdyn-respect-libtool.patch deleted file mode 100644 index 50b93ebf5..000000000 --- a/sci-physics/mbdyn/files/mbdyn-respect-libtool.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -1653,9 +1653,9 @@ - AC_DEFINE(HAVE_LTDL_H,1,[define if you have <ltdl.h>]) - AC_CHECK_LIB(ltdl, lt_dlinit,[have_lt_dlinit=yes],[have_lt_dlinit=no]) - if test $have_lt_dlinit = "yes" ; then -- eval `libtool --tag=CC --config|grep '^wl='` -+ eval `$LIBTOOL --tag=CC --config|grep '^wl='` - LIBS="$LIBS -lltdl" -- EXPORT_DYNAMIC_FLAG_SPEC=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh` -+ EXPORT_DYNAMIC_FLAG_SPEC=`($LIBTOOL --config; echo eval echo \\$export_dynamic_flag_spec) | sh` - have_runtime_loading=yes - MODULE_LOADPATH=$libexecdir - fi diff --git a/sci-physics/mbdyn/mbdyn-1.7.3_p20210925-r1.ebuild b/sci-physics/mbdyn/mbdyn-1.7.3_p20210925-r1.ebuild deleted file mode 100644 index 7d9667b83..000000000 --- a/sci-physics/mbdyn/mbdyn-1.7.3_p20210925-r1.ebuild +++ /dev/null @@ -1,242 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -COMMIT="ae57618c4e7b030b59707b8c156a6e2a94a6efd0" -MYP="${PN}-${COMMIT}" -PYTHON_COMPAT=( python3_{10..11} ) - -inherit autotools flag-o-matic fortran-2 pam python-single-r1 - -DESCRIPTION="A general purpose Multibody Dynamics analysis software" -HOMEPAGE="https://www.mbdyn.org" -SRC_URI="https://public.gitlab.polimi.it/DAER/mbdyn/-/archive/${COMMIT}/${MYP}.tar.bz2" -S="${WORKDIR}/${MYP}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" -# FMU # needs fmi-library -# aerodyn # needs aerodyn -# cudatest # needs cuda -MBDYN_MODULE=( asynchronous_machine autodiff_test ballbearing_contact bullet -charm constlaw-f90 constlaw-f95 constlaw cont-contact controller convtest -cyclocopter damper-gandhi damper-graall damper-hydraulic damper diff dot -drive-test drive dummy eu2phi fab-electric fab-motion fab-sbearings fabricate -flightgear friction friction3 hfelem hid hunt-crossley -hydrodynamic_plain_bearing hydrodynamic_plain_bearing2 imu indvel -inline_friction inplane_friction journal_bearing leapmotion loadinc marble md -mds minmaxdrive multi_step_drive muscles namespace nodedistdrive nonsmooth-node -ns octave randdrive rollercoaster rotor-loose-coupling scalarfunc switch_drive -tclpgin triangular_contact udunits uni_in_plane wheel2 wheel4 ) - -MBDYN_MODULE_REPLACED=( "${MBDYN_MODULE[@]//_/-}" ) -IUSE_MBDYN_MODULE="${MBDYN_MODULE_REPLACED[@]/#/mbdyn_module_}" -IUSE="${IUSE_MBDYN_MODULE} ann arpack autodiff blender boost bullet chaco crypt -debug eig ginac jdqz +mbc metis mpi multithread-naive netcdf octave openblas pam -pastix pmpi python qrupdate rt sasl schur sparse superlu tests threads udunits +y12" -# taucs rtai - -# dev-libs/blitz -RDEPEND=" - dev-libs/libltdl - virtual/blas - virtual/lapack - - ann? ( sci-libs/ann ) - arpack? ( sci-libs/arpack ) - blender? ( media-gfx/blender:= ) - boost? ( dev-libs/boost ) - bullet? ( sci-physics/bullet ) - chaco? ( sci-mathematics/chaco ) - crypt? ( virtual/libcrypt ) - ginac? ( sci-mathematics/ginac ) - jdqz? ( sci-libs/jdqz ) - mbdyn_module_damper? ( sci-libs/gsl ) - mpi? ( virtual/mpi[cxx] ) - metis? ( sci-libs/metis ) - netcdf? ( sci-libs/netcdf-cxx:* ) - octave? ( sci-mathematics/octave ) - openblas? ( sci-libs/openblas ) - pam? ( sys-libs/pam ) - pastix? ( sci-libs/pastix ) - python? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep 'dev-python/numpy[${PYTHON_USEDEP}]') - ) - qrupdate? ( sci-libs/qrupdate ) - sasl? ( dev-libs/cyrus-sasl ) - sparse? ( - sci-libs/klu - sci-libs/umfpack - ) - superlu? ( sci-libs/superlu_mt ) - threads? ( dev-libs/libatomic_ops ) - udunits? ( sci-libs/udunits ) -" -# taucs? ( sci-libs/taucs ) -DEPEND=" - ${RDEPEND} - blender? ( sys-apps/pkgcore ) -" -BDEPEND="python? ( dev-lang/swig )" - -PATCHES=( - "${FILESDIR}/${PN}-find-bullet.patch" - "${FILESDIR}/${PN}-octave-no-global-install.patch" -) -# "${FILESDIR}/${PN}-respect-libtool.patch" -REQUIRED_USE=" - mbdyn_module_bullet? ( bullet ) - mbdyn_module_octave? ( octave ) - mbdyn_module_udunits? ( udunits ) - mbdyn_module_wheel4? ( ginac ) - multithread-naive? ( threads ) - pmpi? ( mpi ) - python? ( ${PYTHON_REQUIRED_USE} ) - schur? ( - || ( chaco metis ) - mpi - ) -" -# ?? ( rt rtai ) - -pkg_setup() { - fortran-2_pkg_setup -} - -src_prepare() { - default - eautoreconf - #from bootstrap.sh - if test -d contrib ; then - for i in `find contrib -name 'bootstrap.sh'` ; do - dir=`echo "${i}" | sed "s/\(.*\)\/bootstrap\.sh/\1/"` - pushd "${dir}" || die - eautoreconf - popd || die - done - fi -} - -src_configure() { - python_setup - append-cxxflags "-I/usr/include/bullet" - local myconf=( - --disable-static - --disable-Werror - --enable-runtime-loading - --with-lapack - --without-charm - --without-g2c - --without-goto - --without-harwell - --without-pardiso - --without-rtai - --without-static-modules - --without-strumpack - --without-wsmp - - $(use_enable autodiff) - $(use_enable crypt) - $(use_enable debug) - $(use_enable eig) - $(use_enable mbc) - $(use_enable multithread-naive) - $(use_enable netcdf) - $(use_enable octave) - $(use_enable octave octave-utils) - $(use_enable python) - $(use_enable schur) - $(use_enable tests install_test_progs) - $(use_enable threads multithread) - - $(use_with ann) - $(use_with arpack) - $(use_with boost) - $(use_with bullet) - $(use_with ginac) - $(use_with jdqz) - $(use_with metis) - $(use_with openblas) - $(use_with pam) - $(use_with pastix) - $(use_with qrupdate) - $(use_with rt) - $(use_with sasl sasl2) - $(use_with sparse klu) - $(use_with sparse suitesparseqr) - $(use_with sparse umfpack) - $(use_with superlu) - $(use_with threads) - $(use_with y12) - ) - - if ( use autodiff && use sparse ); then - myconf+=( "--enable-sparse-autodiff" ) - else - myconf+=( "--disable-sparse-autodiff" ) - fi - if ( use debug && use mpi ); then - myconf+=( "--enable-debug-mpi" ) - else - myconf+=( "--disable-debug-mpi" ) - fi - if use mpi; then - if use pmpi; then - myconf+=( "--with-mpi=pmpi" ) - else - myconf+=( "--with-mpi" ) - fi - else - myconf+=( "--without-mpi" ) - fi - - local usemodules="" - for m in ${MBDYN_MODULE[@]} ; do - u="${m//_/-}" - use "mbdyn_module_${u}" && usemodules+=" ${m}" - done - - # remove leading whitespace characters - usemodules="${usemodules#"${usemodules%%[![:space:]]*}"}" - - myconf+=( "--with-module=\"${usemodules}\"" ) - - econf "${myconf[@]}" -} - -src_install() { - mkdir -p "${HOME}/octave" || die -# octave --exec "pkg prefix ${T}" || die - emake DESTDIR="${D}" install - - if use blender; then - local blenderslots="$(pquery -I media-gfx/blender --one-attr slot)" - local blenderscriptdir - for i in $blenderslots ; do - blenderscriptdir="/usr/share/blender/${i}/scripts/" - insinto "${blenderscriptdir}" - doins -r contrib/blenderandmbdyn - done - fi - - if use python; then - local site="${D}/$(python_get_sitedir)" - mkdir -p "${site}" || die - mv "${D}/usr/libexec/mbpy" "${site}" || die - fi - - use pam && dopamd etc/pam.d/mbdyn - - mkdir -p "${D}/usr/share/octave/site/m/mbdyn" || die - mv "${D}"/usr/share/octave/*.m "${D}/usr/share/octave/site/m/mbdyn" || die - - if use octave; then - insinto "/usr/share/octave/site/m/mbdyn" - doins -r contrib/MLS/. - fi - - find "${D}" -name '*.la' -delete || die -} diff --git a/sci-physics/mbdyn/metadata.xml b/sci-physics/mbdyn/metadata.xml deleted file mode 100644 index c1b53eee0..000000000 --- a/sci-physics/mbdyn/metadata.xml +++ /dev/null @@ -1,45 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>lssndrbarbieri@gmail.com</email> - <name>Alessandro Barbieri</name> - </maintainer> - <upstream> - <bugs-to>https://public.gitlab.polimi.it/DAER/mbdyn/-/issues</bugs-to> - </upstream> - <use> - <flag name="ann">With ANN<pkg>sci-libs/ann</pkg> support</flag> - <flag name="arpack">With <pkg>sci-libs/arpack</pkg> math library</flag> - <flag name="autodiff">Enable automatic differentiation in order to compute the Jacobian matrix</flag> - <flag name="blender">Install <pkg>media-gfx/blender</pkg> plugins</flag> - <flag name="boost">With <pkg>dev-libs/boost</pkg> support</flag> - <flag name="bullet">With <pkg>sci-physics/bullet</pkg> support</flag> - <flag name="chaco">With <pkg>sci-mathematics/chaco</pkg> model partitioning support</flag> - <flag name="crypt">Enable crypt</flag> - <flag name="eig">Enable direct eigensolution</flag> - <flag name="ginac">With <pkg>sci-mathematics/ginac</pkg> support</flag> - <flag name="jdqz">With <pkg>sci-libs/jdqz</pkg> math library</flag> - <flag name="mbc">Enable MBC - multibody communication library</flag> - <flag name="metis">With <pkg>sci-libs/metis</pkg> model partitioning support</flag> - <flag name="mpi">With MPI support</flag> - <flag name="multithread-naive">Enable multithread naive solver</flag> - <flag name="netcdf">Enable NetCDF based binary output</flag> - <flag name="octave">Enable <pkg>sci-mathematics/octave</pkg> support</flag> - <flag name="openblas">With <pkg>sci-libs/openblas</pkg> implementation</flag> - <flag name="pam">With <pkg>sys-libs/pam</pkg> support</flag> - <flag name="pastix">With <pkg>sci-libs/pastix</pkg> math library</flag> - <flag name="pmpi">With pmpi for MPI profiling</flag> - <flag name="qrupdate">With <pkg>sci-libs/qrupdate</pkg> library</flag> - <flag name="rt">With POSIX realtime support</flag> - <flag name="sasl">With <pkg>dev-libs/cyrus-sasl</pkg> support</flag> - <flag name="schur">Enable Schur parallel solver</flag> - <flag name="sparse">Enable sparse solvers</flag> - <flag name="superlu">With <pkg>sci-libs/superlu</pkg> math library - eXperimental</flag> - <!--<flag name="taucs">With <pkg>sci-libs/taucs</pkg> math library - eXperimental</flag>--> - <flag name="tests">Enable installation of some test programs which are otherwise not installed</flag> - <flag name="threads">With threads</flag> - <flag name="y12">With Y12 sparse math library</flag> - <flag name="udunits">With <pkg>sci-libs/udunits</pkg></flag> - </use> -</pkgmetadata> |