From 7a65074f2a3be4e4ec880ee9c9ff0254fd29f9d8 Mon Sep 17 00:00:00 2001 From: Andrey Grozin Date: Wed, 19 Apr 2023 11:29:59 +0700 Subject: dev-python/iminuit: bump to 2.21.3 Closes: https://bugs.gentoo.org/899538 Signed-off-by: Andrey Grozin --- dev-python/iminuit/Manifest | 1 + dev-python/iminuit/iminuit-2.21.3.ebuild | 42 ++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 dev-python/iminuit/iminuit-2.21.3.ebuild (limited to 'dev-python/iminuit') diff --git a/dev-python/iminuit/Manifest b/dev-python/iminuit/Manifest index e36bebddecb3..58b8cf91784e 100644 --- a/dev-python/iminuit/Manifest +++ b/dev-python/iminuit/Manifest @@ -1 +1,2 @@ DIST iminuit-2.19.0.tar.gz 433221 BLAKE2B e7aac69f74410ff53597a0e6ae44597185fbf4199ee72b1b1b98676c929550e81e155ce8ba768daf672ec3617b833d08a32ec22996459a1dd02fefdab489ea78 SHA512 9f3f86d0717a4fe50d176b6cc6b6df879d4d7b7e43262535627925d8a61dc3e0bde74a41c662c051bc1b136552c5abdaebca800721c3934332212c4ccdf30d69 +DIST iminuit-2.21.3.tar.gz 437827 BLAKE2B 5196e896769f6312bb6ba9af8d6f03bea6023a9459ccbe8553e4c10ba5dc2ed90e4e4b57bdd104f7b72e7514a50c0d4c717c76adf206d7eaddcd3c4c54c4d210 SHA512 5e48d4451caf56688143fa4590528fb4ed0660e144dbb3d1c409b84f793593478979728b4af9748b7bbdb7063e2ef7e05476a2ecd52af089f351522aadfc9ba4 diff --git a/dev-python/iminuit/iminuit-2.21.3.ebuild b/dev-python/iminuit/iminuit-2.21.3.ebuild new file mode 100644 index 000000000000..5b482e3c236b --- /dev/null +++ b/dev-python/iminuit/iminuit-2.21.3.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 pypi + +DESCRIPTION="Minuit numerical function minimization in Python" +HOMEPAGE="https://github.com/scikit-hep/iminuit/ + https://pypi.org/project/iminuit/" + +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}" +} -- cgit v1.2.3-65-gdbad