dev-python/iminuit: Bump to 2.32.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-11-10 05:18:47 +01:00
parent 6667c7b4b2
commit e4b550e8ae
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
2 changed files with 64 additions and 0 deletions

View File

@ -1,2 +1,4 @@
DIST iminuit-2.31.3.tar.gz 1841427 BLAKE2B 8b2005967478cf575c8a7f6a59c888d40e1389da466e90e3b414eff82c5f62423b996b62272f895f116377d69b71d00d4e4d89178b9c254556ef7e5929512644 SHA512 2918077f691dcbb9fb9bb510fbcebb98402b5508f73693a6b767471cdf3ee98fd5e097f79b76a53adf0e4e853c8fe066efa22ac3a705e41cf0f2b7270595fed2
DIST iminuit-2.31.3.tar.gz.provenance 9490 BLAKE2B d84d56b359dd20d0671283331bf04977320efa025c859c914f43f4f0057841e814d3b684d13a7960a17278855f1eb00a2e1cad386f4781f54882be2c2921b892 SHA512 f14a4f0afb00f5b927ff1d6d58868bb04ef93b27df5fe5ac11a30ab1d9b992b61913541bb20b6e35c542358a537cca8e6c9138144bfcdfff33473df052687093
DIST iminuit-2.32.0.tar.gz 1873843 BLAKE2B eaab9ca47e2a18c2fa468f6a5341d8d0797abfbfd90fb856dd53384693f22bf45eb7e9e6554566f5db21f5ea118c50cacdeb0fd0663c6286b6c2dbe937730fd1 SHA512 57cf6c4e51802042d3657628a95078477bb444d7ea26df84f5650912082716508b81f059fd2650db7eba3df410cafef7db04e8ed0c115947e81f1ffbe26cd1fe
DIST iminuit-2.32.0.tar.gz.provenance 9224 BLAKE2B 7eccba7b4ee9e18bee1ece5d30726a116d14a960fcb11f6179ed0674a4aade2193dba0901455be153219d762d4954a4446009e78fad1ce6a205f391a5496db93 SHA512 0975fb351928e3c405ef8af0b5c8167fe191fba15744f4732af512753e8c566b5603752c230668d248d25fe4f7db7fc250172c5516ca4169fe4ac967a5083ec3

View File

@ -0,0 +1,62 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=scikit-build-core
PYPI_VERIFY_REPO=https://github.com/scikit-hep/iminuit
PYTHON_COMPAT=( python3_{11..14} )
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-3.0[${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}]
)
"
EPYTEST_PLUGINS=()
EPYTEST_XDIST=1
distutils_enable_tests pytest
EPYTEST_DESELECT=(
# precision error
tests/test_cost.py::test_Template_with_model_2D
# TODO
tests/test_describe.py::test_with_pydantic_types
)
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
}