summaryrefslogtreecommitdiff
path: root/dev-python/iminuit
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/iminuit')
-rw-r--r--dev-python/iminuit/Manifest4
-rw-r--r--dev-python/iminuit/iminuit-2.27.0.ebuild58
-rw-r--r--dev-python/iminuit/iminuit-2.28.0.ebuild58
3 files changed, 120 insertions, 0 deletions
diff --git a/dev-python/iminuit/Manifest b/dev-python/iminuit/Manifest
index 5008317d23f6..f1ae7a978e61 100644
--- a/dev-python/iminuit/Manifest
+++ b/dev-python/iminuit/Manifest
@@ -1,3 +1,7 @@
DIST iminuit-2.26.0.tar.gz 2945757 BLAKE2B 361c84731ab3ddb01d940d5082b7170cde73ee1f1015724ea78e8dc9d910dcf4614c2ac7eb508a7efaed2abc259b5ffe09103ba921cd3f29c56daf227226e54f SHA512 6caa59c1dd3446f650bae490ef2c24b3f512284745d75e1acf714a3c440964017a68455fcc008b4176c5cbb9a4fadfc699bc01c7734a5b94ff521fe24a1b579a
+DIST iminuit-2.27.0.tar.gz 3265513 BLAKE2B 838c54e0215fa959ca3d2bb46fb3bb24c52ff61369a84de6e1b6c22f1a511db9cfc9d0de5934ac85507b11807128f3a16f0acceafb93a164459e43e61f72da22 SHA512 9d50c51a1e65565bef032e583a4ae529f6f8fcb7c8968eafdf07f96006b56c09632e2738531b64e5518ee69a9b8c6f146313405895750573bf1b792ff8148a56
+DIST iminuit-2.28.0.tar.gz 3268211 BLAKE2B bdc790602daf7df6bb98d4d341aacab2583d3feebd82cc71bce573e83a680da5394c32918038f60cc1e3ad1a0dae15ce0c46fba5e56fdece3b3cfbcb59a3aa08 SHA512 9674d57dff8682367a75d6a3b338f92e9171a507b9e51d1b2eef9c2feaeb1cccb60e2d39f0d6cd3feda9265050333a7814bad939207d4c653f53eecdb3b95955
EBUILD iminuit-2.26.0.ebuild 1217 BLAKE2B 1924eda8e39a5aad4bf1cc8a5e662806c94284551e49c0c2fd4eea297236aa91304c0b4610c3339622b8ebd37f945cd258af9617d04b739adc6c632a9a6b0e65 SHA512 6ff0767fc5776d48336de49ddc82e272c33c31beedf680780be5a36496ea993685c15bf77650f288a7aa5f3e50040fab894eba47a539aa994e8bc98460707dac
+EBUILD iminuit-2.27.0.ebuild 1217 BLAKE2B 1924eda8e39a5aad4bf1cc8a5e662806c94284551e49c0c2fd4eea297236aa91304c0b4610c3339622b8ebd37f945cd258af9617d04b739adc6c632a9a6b0e65 SHA512 6ff0767fc5776d48336de49ddc82e272c33c31beedf680780be5a36496ea993685c15bf77650f288a7aa5f3e50040fab894eba47a539aa994e8bc98460707dac
+EBUILD iminuit-2.28.0.ebuild 1217 BLAKE2B 1924eda8e39a5aad4bf1cc8a5e662806c94284551e49c0c2fd4eea297236aa91304c0b4610c3339622b8ebd37f945cd258af9617d04b739adc6c632a9a6b0e65 SHA512 6ff0767fc5776d48336de49ddc82e272c33c31beedf680780be5a36496ea993685c15bf77650f288a7aa5f3e50040fab894eba47a539aa994e8bc98460707dac
MISC metadata.xml 494 BLAKE2B c97d7fad530773c29b5e723843f13c8305aa1f011e678ad4e9625181ca633c1dfaa3847cb7b3aa09433b6ce665cbf4eb39fde7f80ead402292bc75bb8442beba SHA512 04413a2cbdc7f6843f89560a519ccdb00bcfcf0c9254e9fff7a8901ed992cd7121ba052191399fd60f76f35e495f84c2297acd0a9a1898d4fbcadb7a60841d99
diff --git a/dev-python/iminuit/iminuit-2.27.0.ebuild b/dev-python/iminuit/iminuit-2.27.0.ebuild
new file mode 100644
index 000000000000..c9795273e9af
--- /dev/null
+++ b/dev-python/iminuit/iminuit-2.27.0.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..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_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}"
+}
diff --git a/dev-python/iminuit/iminuit-2.28.0.ebuild b/dev-python/iminuit/iminuit-2.28.0.ebuild
new file mode 100644
index 000000000000..c9795273e9af
--- /dev/null
+++ b/dev-python/iminuit/iminuit-2.28.0.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..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_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}"
+}