summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-12-16 11:38:12 +0100
committerMichał Górny <mgorny@gentoo.org>2022-12-16 12:31:41 +0100
commit6f24b4bbaaf1f6cb978829efca99a82121e329c6 (patch)
treee8993e71a2f1cbefe8620404b0720c8eac3b89cd /dev-python/iminuit
parentdev-python/autopep8: Bump to 2.0.1 (diff)
downloadgentoo-6f24b4bbaaf1f6cb978829efca99a82121e329c6.tar.gz
gentoo-6f24b4bbaaf1f6cb978829efca99a82121e329c6.tar.bz2
gentoo-6f24b4bbaaf1f6cb978829efca99a82121e329c6.zip
dev-python/iminuit: Bump to 2.18.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/iminuit')
-rw-r--r--dev-python/iminuit/Manifest1
-rw-r--r--dev-python/iminuit/iminuit-2.18.0.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/iminuit/Manifest b/dev-python/iminuit/Manifest
index 1d72bd4791af..4f6cbcbfdb5c 100644
--- a/dev-python/iminuit/Manifest
+++ b/dev-python/iminuit/Manifest
@@ -1 +1,2 @@
DIST iminuit-2.17.0.tar.gz 431704 BLAKE2B 46bd5f108f42ba426f71cf7670a1936cbf1c24fd070ace653b9daf55c22a4012ac2e052a05a94ffb6873a42adb7a23509b22f25b0db576ca42e27eea51aca67a SHA512 c42c1a1630d6abf3232ec862c2064db74b7395a9f5ffa515157c74fe86dd4026dc985fa377d5355574fe2fe131432efe006a68b9883cb67c4fa31a3929071f0c
+DIST iminuit-2.18.0.tar.gz 431770 BLAKE2B 66511da5c0704253bdabd7ea531b4506da4b4f660f4960f3fc88c138c2e67715db0e2cc0e6c6674df22d57dc94bc70b87a1c3b979a0354d2a58bbd500ee3951f SHA512 f9589c18c6c203cbd4d2a0243d9ec0ea30db25c37c4857e97ea8e1e8f7ad4b72e0f20745601ab655bacb56db69445584c7712796623764fbc29106f091231a09
diff --git a/dev-python/iminuit/iminuit-2.18.0.ebuild b/dev-python/iminuit/iminuit-2.18.0.ebuild
new file mode 100644
index 000000000000..31e971835130
--- /dev/null
+++ b/dev-python/iminuit/iminuit-2.18.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..11} )
+
+# 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}"
+}