diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-09-27 21:24:24 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-09-27 21:25:25 +0300 |
commit | 4b54a4c5bef2502569c60d25852c12bb6a09aabe (patch) | |
tree | bcafdbd549412e9c9ff15c0c24a2b9b1d2bb7b7d /dev-python/iminuit | |
parent | dev-python/fakeredis: add 1.9.2 (diff) | |
download | gentoo-4b54a4c5bef2502569c60d25852c12bb6a09aabe.tar.gz gentoo-4b54a4c5bef2502569c60d25852c12bb6a09aabe.tar.bz2 gentoo-4b54a4c5bef2502569c60d25852c12bb6a09aabe.zip |
dev-python/iminuit: add 2.17.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/iminuit')
-rw-r--r-- | dev-python/iminuit/Manifest | 1 | ||||
-rw-r--r-- | dev-python/iminuit/iminuit-2.17.0.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/iminuit/Manifest b/dev-python/iminuit/Manifest index 0fdc191e9925..be94b64b7a3b 100644 --- a/dev-python/iminuit/Manifest +++ b/dev-python/iminuit/Manifest @@ -1 +1,2 @@ DIST iminuit-2.16.0.tar.gz 429960 BLAKE2B 39d5d52797f8f9749dc99b638039323c5eaedec9bd810f8f6b79f19c37e12d6c8d3c6acd4811b80a43828c9ca7b1a30ea71174cdd749d40f5b27cdfd1de193c6 SHA512 06a3906ff121c135ec3c882a5eb5d77a09b910cd2b81d4e6e635122a4544546b64fc6342936a8a963e84d89efca82552a0283908e100d26c25d4bbf7fca5735e +DIST iminuit-2.17.0.tar.gz 431704 BLAKE2B 46bd5f108f42ba426f71cf7670a1936cbf1c24fd070ace653b9daf55c22a4012ac2e052a05a94ffb6873a42adb7a23509b22f25b0db576ca42e27eea51aca67a SHA512 c42c1a1630d6abf3232ec862c2064db74b7395a9f5ffa515157c74fe86dd4026dc985fa377d5355574fe2fe131432efe006a68b9883cb67c4fa31a3929071f0c diff --git a/dev-python/iminuit/iminuit-2.17.0.ebuild b/dev-python/iminuit/iminuit-2.17.0.ebuild new file mode 100644 index 000000000000..8f9a4ea554d7 --- /dev/null +++ b/dev-python/iminuit/iminuit-2.17.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +# forced implicitly +CMAKE_MAKEFILE_GENERATOR=emake +inherit cmake distutils-r1 virtualx + +DESCRIPTION="Minuit numerical function minimization in Python" +HOMEPAGE="https://github.com/scikit-hep/iminuit/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="MIT LGPL-2.1" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + 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() { + epytest -p no:pytest-describe || die "Tests failed with ${EPYTHON}" +} |