diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-02-10 07:33:03 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-02-10 10:15:55 +0100 |
commit | bd851cc0ee1c6f7cbfe9892e79227257bc608537 (patch) | |
tree | 154a92cd2a7f96b3d87dfe988bac09bec539be18 /dev-python/iminuit | |
parent | dev-python/sentry-sdk: Bump to 1.40.3 (diff) | |
download | gentoo-bd851cc0ee1c6f7cbfe9892e79227257bc608537.tar.gz gentoo-bd851cc0ee1c6f7cbfe9892e79227257bc608537.tar.bz2 gentoo-bd851cc0ee1c6f7cbfe9892e79227257bc608537.zip |
dev-python/iminuit: Bump to 2.25.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/iminuit')
-rw-r--r-- | dev-python/iminuit/Manifest | 1 | ||||
-rw-r--r-- | dev-python/iminuit/iminuit-2.25.2.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/iminuit/Manifest b/dev-python/iminuit/Manifest index d045c3a3c116..3655becc0b2f 100644 --- a/dev-python/iminuit/Manifest +++ b/dev-python/iminuit/Manifest @@ -1,2 +1,3 @@ DIST iminuit-2.21.3.tar.gz 437827 BLAKE2B 5196e896769f6312bb6ba9af8d6f03bea6023a9459ccbe8553e4c10ba5dc2ed90e4e4b57bdd104f7b72e7514a50c0d4c717c76adf206d7eaddcd3c4c54c4d210 SHA512 5e48d4451caf56688143fa4590528fb4ed0660e144dbb3d1c409b84f793593478979728b4af9748b7bbdb7063e2ef7e05476a2ecd52af089f351522aadfc9ba4 DIST iminuit-2.25.1.tar.gz 2921727 BLAKE2B db3460ccfa9a0eebf9995758b4ea42eb6e11c09eb3ed9e99aa36ae544c741f07a492ef7228755495229bcf7964932c2667894c2173b5d458833685c2c1ca226c SHA512 a4047f1aaf8e09c0cd531ac10db9a73477cedc2de832e96696e523c8e2319e55925c64996429df15b74b27e72c9c24d8f2b2af3637043967aff377b0a489c003 +DIST iminuit-2.25.2.tar.gz 2929388 BLAKE2B e7e7a8c1d27538a95b527dcd8c01eeefac98914c568dcc58a234e37224cee5234bc107c6774a08f1117e28cf7919147ca832f6f3f150f95eaf0b03c5ce1ea312 SHA512 110eb0920262f9599defb1db984de6266200de5998fa81d2015e81bc1bb3e0b26524a706c060666f1e6248bc95ff17df7453bb53d20f703522b90889bedc1dc4 diff --git a/dev-python/iminuit/iminuit-2.25.2.ebuild b/dev-python/iminuit/iminuit-2.25.2.ebuild new file mode 100644 index 000000000000..ae167b13d180 --- /dev/null +++ b/dev-python/iminuit/iminuit-2.25.2.ebuild @@ -0,0 +1,58 @@ +# 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..12} ) + +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[${PYTHON_USEDEP}] +" +BDEPEND=" + ${BDEPEND} + 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_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}" +} |