diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-02-01 06:30:02 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-02-01 06:30:02 +0000 |
| commit | ea9f7f5544b44712ccc1a12cde64dc4e352402c2 (patch) | |
| tree | 1c034192f3f18c27d7a5c77d93f66323b6339aa7 /dev-python/iminuit | |
| parent | a3af3e818c5a8edcffcf591e160100c6374ddb30 (diff) | |
| download | baldeagleos-repo-ea9f7f5544b44712ccc1a12cde64dc4e352402c2.tar.gz baldeagleos-repo-ea9f7f5544b44712ccc1a12cde64dc4e352402c2.tar.xz baldeagleos-repo-ea9f7f5544b44712ccc1a12cde64dc4e352402c2.zip | |
Adding metadata
Diffstat (limited to 'dev-python/iminuit')
| -rw-r--r-- | dev-python/iminuit/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/iminuit/iminuit-2.25.0.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/iminuit/Manifest b/dev-python/iminuit/Manifest index d138b0e73d9f..b6b7157a0b5c 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.24.0.tar.gz 2326542 BLAKE2B 98713f814f9c6c58e18c0e468037717c846dce02cedeb86320d47f8515d2e6309bd0f4600e404905235de0e84b6e188c90f6b3776affe607c54df5f721035d75 SHA512 d4c439ddba950b82c5f665cffe099ea593d9f154ecc00dd23359e2fba057bb11e86b832465fbb6f19cd68717913b34f818e434205270f5292b0dc6c2237cf4cc +DIST iminuit-2.25.0.tar.gz 2920587 BLAKE2B 19cab06326461ffc333cf704353620608e7c59376cd8d9a508cfea0bb517f05cb8795250c45495d8e052e4b3739903b07374eae439f7ea3a8b9de558f7aed667 SHA512 cd8322276529127f7a7b3360d5cef9cb9ffdfd48df4b2bbec4bfa60b84377abb4e24b932b385655448ae207191e2810a2da5b11bb7cce6baa195d0421644e1e4 diff --git a/dev-python/iminuit/iminuit-2.25.0.ebuild b/dev-python/iminuit/iminuit-2.25.0.ebuild new file mode 100644 index 000000000000..93edfe9bfe73 --- /dev/null +++ b/dev-python/iminuit/iminuit-2.25.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_{8,9,10,11,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}" +} |
