commit:     bdeaa9ef609325bdf13b10a2380d9fa01bf58d57
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 11 06:14:41 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 11 06:14:41 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdeaa9ef

dev-python/iminuit: Bump to 2.19.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/iminuit/Manifest              |  1 +
 dev-python/iminuit/iminuit-2.19.0.ebuild | 42 ++++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/dev-python/iminuit/Manifest b/dev-python/iminuit/Manifest
index df9151b21fc8..1180125eace0 100644
--- a/dev-python/iminuit/Manifest
+++ b/dev-python/iminuit/Manifest
@@ -1 +1,2 @@
 DIST iminuit-2.18.0.tar.gz 431770 BLAKE2B 
66511da5c0704253bdabd7ea531b4506da4b4f660f4960f3fc88c138c2e67715db0e2cc0e6c6674df22d57dc94bc70b87a1c3b979a0354d2a58bbd500ee3951f
 SHA512 
f9589c18c6c203cbd4d2a0243d9ec0ea30db25c37c4857e97ea8e1e8f7ad4b72e0f20745601ab655bacb56db69445584c7712796623764fbc29106f091231a09
+DIST iminuit-2.19.0.tar.gz 433221 BLAKE2B 
e7aac69f74410ff53597a0e6ae44597185fbf4199ee72b1b1b98676c929550e81e155ce8ba768daf672ec3617b833d08a32ec22996459a1dd02fefdab489ea78
 SHA512 
9f3f86d0717a4fe50d176b6cc6b6df879d4d7b7e43262535627925d8a61dc3e0bde74a41c662c051bc1b136552c5abdaebca800721c3934332212c4ccdf30d69

diff --git a/dev-python/iminuit/iminuit-2.19.0.ebuild 
b/dev-python/iminuit/iminuit-2.19.0.ebuild
new file mode 100644
index 000000000000..22b65376546d
--- /dev/null
+++ b/dev-python/iminuit/iminuit-2.19.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..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}"
+}

Reply via email to