diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-21 12:26:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-21 12:26:06 +0100 |
commit | bad9bf87b08d293eb79ebe14d1882e77da2b0ced (patch) | |
tree | 2e95088a05ca299b8369979d4b47f0f846657be7 /sci-libs | |
parent | c431a44e3cfa102e5ef2c9d6bbac48e28c9b15cb (diff) |
gentoo auto-resync : 21:08:2024 - 12:26:06
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/Manifest.gz | bin | 42971 -> 42970 bytes | |||
-rw-r--r-- | sci-libs/cantera/Manifest | 4 | ||||
-rw-r--r-- | sci-libs/cantera/cantera-3.0.0-r1.ebuild | 6 | ||||
-rw-r--r-- | sci-libs/cantera/cantera-3.0.1.ebuild | 147 | ||||
-rw-r--r-- | sci-libs/iml/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/iml/iml-1.0.5-r1.ebuild | 41 | ||||
-rw-r--r-- | sci-libs/symmetrica/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/symmetrica/symmetrica-3.0.1-r1.ebuild | 4 |
8 files changed, 200 insertions, 5 deletions
diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz Binary files differindex 9c4a48b663e0..464ad78a69ac 100644 --- a/sci-libs/Manifest.gz +++ b/sci-libs/Manifest.gz diff --git a/sci-libs/cantera/Manifest b/sci-libs/cantera/Manifest index 0e7256bfcebc..b9f812da1de9 100644 --- a/sci-libs/cantera/Manifest +++ b/sci-libs/cantera/Manifest @@ -1,5 +1,7 @@ AUX cantera-3.0.0_enable_python-3.12.patch 3182 BLAKE2B 30d2af004ee4d5097bf114fc1f8cd8e5589c9a0d643d87da544a9de0d824df1c04f461f89415dfc6b27c385e520c9b8f53ce82fcc7c4ca5dbb59f03a4a443544 SHA512 65261a618d93f0f84a3ba9a2aad8cccfee8490c78a44acddc4cc7c8ff3065bbde2370b6fcf06e8c1091efa9f244553a3810d362553194699104b19fed8647aea AUX cantera-3.0.0_env.patch 1439 BLAKE2B 8f4cd901f24f0b526887501ba16a0552acf8572f154f8494d66d3dd8096434621d6f2baaa57f905233919fc1b7872993bada9f373950330663c8315075d507b9 SHA512 065cdbcf620a3036c1bb0bb8b79503f76dbe7e6b2522e9f53fc582c15e5e10f1790f1b40cf0315d64cab4f858764446f4094370124bb9b5c4ee6dbcfd5e61b87 DIST cantera-3.0.0.tar.gz 2451103 BLAKE2B 094d7a4f0b8fd0f1a45d9f8c13e1390cf7fc62110e424e1287030e97382c1cdc016a5119adc4d5c7bbc222420a3b447db93fee8350643cb3a0907a838fbc1ddf SHA512 dffd696628210ae5c7b08e394e9a97262cfa6aa07ac2e6faa48591ecfee5bb11e7c2b6928563007fd581a1fd9cae999f7c1414ab5d5a312a823e155573df7aca -EBUILD cantera-3.0.0-r1.ebuild 3332 BLAKE2B 456bc6bf09d46deec64badef49a6e500cba362dc4c7d17eb2b18cd9a2e091ff4ee3a557ca8f250dbe4a4060207537484bdadb59ec550655cd2546b894762f959 SHA512 56d41d45c946a6b90c53aefa214a97ca3983106a25225088bc5d0a813eff4ae102e3b983cd2f89dcc3ee494c8f1fdd8e96f38e8b90d441522042d5ad5ffe60b1 +DIST cantera-3.0.1.tar.gz 2451841 BLAKE2B b05771021a81d5266dfed382e2a6357e5b70653c6d9cfb5f03a6755095f4f8f4e7c0f78b79e0bf131c01fefce46bbc647c790ee412b6457c515cda39d4fc3054 SHA512 fa993b33867c6c0a0ca539f52116c4cdea739dfcd30deb5d2f66042f290f7f2f60112d7a37c38fbd8a38a119e5af00a7a85fd80b6e36388202b666be0ddd7715 +EBUILD cantera-3.0.0-r1.ebuild 3450 BLAKE2B 60c406b5ed46e5d42373711fe0fe33e8e8afcecf480b76dea6084bd14c9b776994752e3d7ba643558b89da35f537e7863d919395038b6a9b7ec215ea0129a1f4 SHA512 0e3c295bbf671195b607d08f19227a6b6e9e161c25dcd297b09bf6f199f61b20a743b7fd6880680671a8062c7e592aaf4b54152d1012f09e1867edc9be6fcf56 +EBUILD cantera-3.0.1.ebuild 3413 BLAKE2B 486467d4d5215afc2202d9e2a9d1bcd01cf7cf36f13ddd0916d6914db938e659352b2ccf6ca928dee82c4ae5cc02462205a7d7f6a83255704b0b245757d1ec81 SHA512 4395d407158dfd893168a62dbbeb1c9e9cc85ae4f3efdda7f58f0cd5e9eee6715d920a38640a6d77df2c37e4171003b429999ea28f83cc57fe7ac21d7f3377d6 MISC metadata.xml 884 BLAKE2B 0f67510f6c09c58b0af3b820c9b38b88b0c60b0adb28c64148550f07df085cd8ea3d46f5afb59105c56bb7ccf2ca3fee4f2000bee2592ebafb835b9cf415b660 SHA512 0cdbc4cbd0dfdc90bb74c79f06d5f5d28a4edd0dcfacbddcc83ed804c592694eba27f337ce20a2a57248dd0456517bab2298faa22b78154f03e9369973fc174b diff --git a/sci-libs/cantera/cantera-3.0.0-r1.ebuild b/sci-libs/cantera/cantera-3.0.0-r1.ebuild index 9f0de3263452..c6b3ec2711e1 100644 --- a/sci-libs/cantera/cantera-3.0.0-r1.ebuild +++ b/sci-libs/cantera/cantera-3.0.0-r1.ebuild @@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{10..12} ) FORTRAN_NEEDED=fortran FORTRAN_STANDARD="77 90" -inherit fortran-2 python-single-r1 scons-utils toolchain-funcs +inherit flag-o-matic fortran-2 python-single-r1 scons-utils toolchain-funcs DESCRIPTION="Object-oriented tool suite for chemical kinetics, thermodynamics, and transport" HOMEPAGE="https://www.cantera.org" @@ -78,6 +78,10 @@ pkg_setup() { ## Full list of configuration options of Cantera is presented here: ## http://cantera.org/docs/sphinx/html/compiling/config-options.html src_configure() { + # -Werror=odr, -Werror=lto-type-mismatch + # https://github.com/Cantera/cantera/issues/1783 + filter-lto + scons_vars=( AR="$(tc-getAR)" CC="$(tc-getCC)" diff --git a/sci-libs/cantera/cantera-3.0.1.ebuild b/sci-libs/cantera/cantera-3.0.1.ebuild new file mode 100644 index 000000000000..46a9c3b2f469 --- /dev/null +++ b/sci-libs/cantera/cantera-3.0.1.ebuild @@ -0,0 +1,147 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +FORTRAN_NEEDED=fortran +FORTRAN_STANDARD="77 90" + +inherit flag-o-matic fortran-2 python-single-r1 scons-utils toolchain-funcs + +DESCRIPTION="Object-oriented tool suite for chemical kinetics, thermodynamics, and transport" +HOMEPAGE="https://www.cantera.org" +SRC_URI="https://github.com/Cantera/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="fortran hdf5 lapack +python test" +RESTRICT="!test? ( test )" + +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} +" + +RDEPEND=" + ${PYTHON_DEPS} + dev-cpp/yaml-cpp + hdf5? ( sci-libs/HighFive ) + !lapack? ( sci-libs/sundials:0= ) + lapack? ( + >=sci-libs/sundials-6.5.0:0=[lapack?] + virtual/lapack + ) + python? ( + $(python_gen_cond_dep ' + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + ') + ) +" + +DEPEND=" + ${RDEPEND} + dev-cpp/eigen:3 + dev-libs/boost:= + dev-libs/libfmt + python? ( + $(python_gen_cond_dep ' + dev-python/cython[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + ') + ) + test? ( + >=dev-cpp/gtest-1.11.0 + python? ( + $(python_gen_cond_dep ' + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + ') + ) + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-3.0.0_env.patch" +) + +pkg_setup() { + fortran-2_pkg_setup + python-single-r1_pkg_setup +} + +## Full list of configuration options of Cantera is presented here: +## http://cantera.org/docs/sphinx/html/compiling/config-options.html +src_configure() { + # -Werror=odr, -Werror=lto-type-mismatch + # https://github.com/Cantera/cantera/issues/1783 + filter-lto + + scons_vars=( + AR="$(tc-getAR)" + CC="$(tc-getCC)" + CXX="$(tc-getCXX)" + cc_flags="${CXXFLAGS}" + cxx_flags="-std=c++17" + debug="no" + FORTRAN="$(tc-getFC)" + FORTRANFLAGS="${FCFLAGS}" + optimize_flags="-Wno-inline" + renamed_shared_libraries="no" + use_pch="no" + ## In some cases other order can break the detection of right location of Boost: ## + system_fmt="y" + system_sundials="y" + system_eigen="y" + system_yamlcpp="y" + hdf_support=$(usex hdf5 y n) + system_blas_lapack=$(usex lapack y n) + env_vars="all" + extra_inc_dirs="/usr/include/eigen3" + use_rpath_linkage="yes" + extra_lib_dirs="/usr/$(get_libdir)/${PN}" + ) + use hdf5 && scons_vars+=( system_highfive="y" ) + use lapack && scons_vars+=( blas_lapack_libs="lapack,blas" ) + use test || scons_vars+=( googletest="none" ) + + scons_targets=( + f90_interface=$(usex fortran y n) + ) + + if use python ; then + scons_targets+=( python_package="full" python_cmd="${EPYTHON}" ) + else + scons_targets+=( python_package="none" ) + fi +} + +src_compile() { + escons build "${scons_vars[@]}" "${scons_targets[@]}" prefix="/usr" +} + +src_test() { + escons test +} + +src_install() { + escons install stage_dir="${D}" libdirname="$(get_libdir)" + if ! use python ; then + rm -r "${D}/usr/share/man" || die "Can't remove man files." + else + # Run the byte-compile of modules + python_optimize "${D}$(python_get_sitedir)/${PN}" + fi + + # User could remove this line if require static libs for development purpose + find "${ED}" -name '*.a' -delete || die +} + +pkg_postinst() { + local post_msg=$(usex fortran "and Fortran " "") + elog "C++ ${post_msg}samples are installed to '/usr/share/${PN}/samples/' directory." +} diff --git a/sci-libs/iml/Manifest b/sci-libs/iml/Manifest index dbe7fb9bc073..7914f41eaf15 100644 --- a/sci-libs/iml/Manifest +++ b/sci-libs/iml/Manifest @@ -1,4 +1,5 @@ AUX iml-1.0.4-use-any-cblas-implementation.patch 865 BLAKE2B 5167ab1a5f82e5fce596dd3f7cdb3a711f0fd5c86fefc6a36574bcbc63e464115895e43d81eba3d4d04bd016266817440098eed18fab04b30bc45dee37497ffd SHA512 36181f90032b6f4d786d50b327cb342d5c8f4431dd556e4267e99b02e92161adbb9c23d7815e1764d8f237b1f008b2abebc27bdc422ba7296144999f0cde3c19 DIST iml-1.0.5.tar.bz2 391757 BLAKE2B 5895b353269ce19e17e2522f78eb705c89a47ed3c6cce54d1b7ab3003f59d0a13050b30ce9cedbf38392c737c169740b6c2433f1a74856b0f9d4e6e007ebf804 SHA512 b5a85982636035cc50acba7dcff5478c6271be3669313f01915b2761302d4c77617c0dd7932daf74433098670d3ffdb2ef19eb24450b40709750a0b7c8f797f1 +EBUILD iml-1.0.5-r1.ebuild 817 BLAKE2B 83ce2f1e1c5a5a8aca8754fb198f2164636a38257a1441b2bb22685781a72aba68434b8c16168201a672705f9c10c023322f86b921abb8010a52f591953d5763 SHA512 f4c14882a71f9b59addacc315109c66b1ac29e9e869197231444b87d9e85674f83093648422c9776461a2504a6ecd96ffc8b5ea01e440578be183e1668aa32df EBUILD iml-1.0.5.ebuild 766 BLAKE2B 4c9b448852590c3cb49c8c0c8f4c9d8ffc8f37022f7a3f16d18ef2c2f4defc5cc4aeefdadf62798c5f7c335d21db3c456bc8350feacc5a5814ffa1a9ee5d7d86 SHA512 033e3935ef2d5dec173cd1ebe54d366fd118b4989a411f97875e2d23adb21d0558181670d39f5ce274f600f2e00f177dbd82ac7fb0f86a26edc737cefb4bbd55 MISC metadata.xml 435 BLAKE2B 2dcbbbbeab2b53ad1407e3e52e4a0067853099061866f8a1f20eabd82ef7eeafc34fc806701a0b496ea874d5c47ed46c3963d5f0996e623eaf5172bd99141ce0 SHA512 f3ed1aacb63866ab9e5df4d62d8c5dd50a264d32fa1c52f1b960822904c185cbdc0ae708b391e321378b1bdf1de29bb4073752c43bb82609877ff607d65d2c16 diff --git a/sci-libs/iml/iml-1.0.5-r1.ebuild b/sci-libs/iml/iml-1.0.5-r1.ebuild new file mode 100644 index 000000000000..f967cdfd1ab6 --- /dev/null +++ b/sci-libs/iml/iml-1.0.5-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Integer Matrix Library" +HOMEPAGE="https://www.cs.uwaterloo.ca/~astorjoh/iml.html" +SRC_URI="https://www.cs.uwaterloo.ca/~astorjoh/${P}.tar.bz2" + +# COPYING is GPL-2, but the files under src/ all have a BSD header +LICENSE="GPL-2 BSD" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +DEPEND="virtual/cblas" +RDEPEND="${DEPEND}" + +DOCS=( AUTHORS ChangeLog README ) + +PATCHES=( + "${FILESDIR}"/${PN}-1.0.4-use-any-cblas-implementation.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + --with-default="${EPREFIX}"/usr \ + --enable-shared \ + --disable-static +} + +src_install() { + default + find "${ED}" -type f -name '*.la' -delete || die +} diff --git a/sci-libs/symmetrica/Manifest b/sci-libs/symmetrica/Manifest index 9aa658d2131e..d9b39e70630a 100644 --- a/sci-libs/symmetrica/Manifest +++ b/sci-libs/symmetrica/Manifest @@ -1,3 +1,3 @@ DIST symmetrica-3.0.1.tar.xz 789336 BLAKE2B 88521356bdc006413e0922b49b23f345da96bbe8cb2a4a6ae12bf53fe46150078f086e6d1f6e514817453f2a868b6eb578b716c05f5459397ed8d766d321ec24 SHA512 1e4c42e1ae9fcdf246dff1c1f01522d6cd416c12302363f82356018847df2f64d2f5ea6256459832d195e8e333ae14743794d5a53346e92d8ba1bb1c0949c271 -EBUILD symmetrica-3.0.1-r1.ebuild 530 BLAKE2B 77d77e6caaaf39ad9cff62754b6598b67b622578f52c3b3d3f37e585e392c0f50f0d875678c368ac92a607c0f8c1b85b55ba51ad531ad1d2e64864712229ea74 SHA512 3932dd561693aa471df15a311228f4cbc5ac5c7e969852e70c14b2a69593af039e68a0f6a7796c705ed4026a6249c104f4a110619b6334251a3668f452242798 +EBUILD symmetrica-3.0.1-r1.ebuild 537 BLAKE2B b96ba155a139ec65752070afdb5702d6bd3b160e87dc10ebcc897f30b178e4a39a629a626ce766c4d1faad91043c84e7be162f79757a5205f8d9fe2d503f1df7 SHA512 b61fc5ccb14276521c3fc27d2c66620296e7551d9a241ed8b4e94d20db30c2b20281e2c6b1250ee6e205dcd7ba3fe89ec1b61f285c90090ce99f34c0dac038cb MISC metadata.xml 770 BLAKE2B 6a6035b830992a2d990f2bc0de458622f15c2d423f270ee542d6af9af128032f41108a9b9c3d40360e6847c0fe4c5bb10ca68564246a2c8ee2f2a96b3bb79d4e SHA512 aa5e5ea606826363afe447924f02f7800197dce9ef928558ff9a3b6f95bb3229747e42c4e004bcb76fd0faea34f9d807c6b720ffdd16b9b35e394f1330386f09 diff --git a/sci-libs/symmetrica/symmetrica-3.0.1-r1.ebuild b/sci-libs/symmetrica/symmetrica-3.0.1-r1.ebuild index 9e2594472ee3..ff73f597c54d 100644 --- a/sci-libs/symmetrica/symmetrica-3.0.1-r1.ebuild +++ b/sci-libs/symmetrica/symmetrica-3.0.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -9,7 +9,7 @@ SRC_URI="https://gitlab.com/sagemath/symmetrica/uploads/b3d8e1ad5ab2449c30bbc314 LICENSE="ISC" SLOT="0/2" -KEYWORDS="amd64" +KEYWORDS="amd64 ~riscv" IUSE="doc" DOCS=( README.md ) |