diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-26 01:25:46 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-26 01:25:46 +0100 |
commit | 21dea977c89ba487b57c7856a4924950e667f209 (patch) | |
tree | ea817bd899b4d1759c030d6439f307b28e51588d /dev-python/iminuit | |
parent | c25088d4fc442a7d6dc3a8d0498b43024888318d (diff) |
gentoo auto-resync : 26:09:2024 - 01:25:46
Diffstat (limited to 'dev-python/iminuit')
-rw-r--r-- | dev-python/iminuit/Manifest | 2 | ||||
-rw-r--r-- | dev-python/iminuit/iminuit-2.30.0.ebuild | 65 |
2 files changed, 67 insertions, 0 deletions
diff --git a/dev-python/iminuit/Manifest b/dev-python/iminuit/Manifest index 4dea7666222d..85e200d2b119 100644 --- a/dev-python/iminuit/Manifest +++ b/dev-python/iminuit/Manifest @@ -1,5 +1,7 @@ DIST iminuit-2.28.0.tar.gz 3268211 BLAKE2B bdc790602daf7df6bb98d4d341aacab2583d3feebd82cc71bce573e83a680da5394c32918038f60cc1e3ad1a0dae15ce0c46fba5e56fdece3b3cfbcb59a3aa08 SHA512 9674d57dff8682367a75d6a3b338f92e9171a507b9e51d1b2eef9c2feaeb1cccb60e2d39f0d6cd3feda9265050333a7814bad939207d4c653f53eecdb3b95955 DIST iminuit-2.29.1.tar.gz 1833873 BLAKE2B 18d7d9f61125fb34eed24e4c7949e8dc1b62df20fcdf238e25ab2c87935d456c6c53ac4126e9ca9e7127b7bcaa80405072bede9502e8be4e750c74fc973458c9 SHA512 853c3ec4b3a454ebe94929fc04df50f24179e069a8ce7ab34b8a33a349adc4092ebbc563975211b9f5109e5d4524e386c2f02ff095d892bd878ba7958399d771 +DIST iminuit-2.30.0.tar.gz 1835241 BLAKE2B 26bedcab00a626e4a88895021a2dc25c232efe0e0c6f807d7bf68253340c823cea973eecc6f02f0702932a35f1b01735a9ab3479c78ba3db81f436e8e0ef9183 SHA512 2e0594924ad5b01bd50592356289edca623eace75fede5b44652cf616f9271f7c62ae0949ef13e49e97ac6b3733dde7c2f379df00ccabf9bd7492fe88822580c EBUILD iminuit-2.28.0.ebuild 1217 BLAKE2B 1924eda8e39a5aad4bf1cc8a5e662806c94284551e49c0c2fd4eea297236aa91304c0b4610c3339622b8ebd37f945cd258af9617d04b739adc6c632a9a6b0e65 SHA512 6ff0767fc5776d48336de49ddc82e272c33c31beedf680780be5a36496ea993685c15bf77650f288a7aa5f3e50040fab894eba47a539aa994e8bc98460707dac EBUILD iminuit-2.29.1.ebuild 1350 BLAKE2B fc95ae66d1b878559b6a46150d31ce2056a871a226fad45996f7717523c03c9ad85074cceb4126a345e4e3d1dad6c78de6237cb61e512d1cbcb5d9c3b0b26895 SHA512 60318e072b40ed00fbf916bd72af91430fc915d691bd13fa263dd1ad3d31245b4208cd4fa404d0a30bb7d3b5025e27e97bc93578dc8515111f8192bc87fd0a1a +EBUILD iminuit-2.30.0.ebuild 1350 BLAKE2B fc95ae66d1b878559b6a46150d31ce2056a871a226fad45996f7717523c03c9ad85074cceb4126a345e4e3d1dad6c78de6237cb61e512d1cbcb5d9c3b0b26895 SHA512 60318e072b40ed00fbf916bd72af91430fc915d691bd13fa263dd1ad3d31245b4208cd4fa404d0a30bb7d3b5025e27e97bc93578dc8515111f8192bc87fd0a1a MISC metadata.xml 494 BLAKE2B c97d7fad530773c29b5e723843f13c8305aa1f011e678ad4e9625181ca633c1dfaa3847cb7b3aa09433b6ce665cbf4eb39fde7f80ead402292bc75bb8442beba SHA512 04413a2cbdc7f6843f89560a519ccdb00bcfcf0c9254e9fff7a8901ed992cd7121ba052191399fd60f76f35e495f84c2297acd0a9a1898d4fbcadb7a60841d99 diff --git a/dev-python/iminuit/iminuit-2.30.0.ebuild b/dev-python/iminuit/iminuit-2.30.0.ebuild new file mode 100644 index 000000000000..22953bd65422 --- /dev/null +++ b/dev-python/iminuit/iminuit-2.30.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=scikit-build-core +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake distutils-r1 virtualx pypi + +DESCRIPTION="Minuit numerical function minimization in Python" +HOMEPAGE=" + https://github.com/scikit-hep/iminuit/ + https://pypi.org/project/iminuit/ +" + +LICENSE="MIT LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] +" +DEPEND=" + >=dev-python/pybind11-2.12[${PYTHON_USEDEP}] +" +BDEPEND=" + ${DEPEND} + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/annotated-types[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/ipywidgets[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # do not force LTO + sed -i -e '/INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die +} + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # precision error + tests/test_cost.py::test_Template_with_model_2D + + # TODO + tests/test_describe.py::test_with_pydantic_types + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # nonfatal implied by virtx + nonfatal epytest || die "Tests failed with ${EPYTHON}" +} |