summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-08-03 20:00:06 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-08-03 20:30:11 +0300
commit2b4e0fe5f738c7300a48ecc903d43723e7316e17 (patch)
tree0f4d79261aabbd5d98b1eef275ce5346eaa0bc6f
parentdev-python/autobahn: add 22.7.1 (diff)
downloadgentoo-2b4e0fe5f738c7300a48ecc903d43723e7316e17.tar.gz
gentoo-2b4e0fe5f738c7300a48ecc903d43723e7316e17.tar.bz2
gentoo-2b4e0fe5f738c7300a48ecc903d43723e7316e17.zip
dev-python/iminuit: add 2.15.2
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r--dev-python/iminuit/Manifest1
-rw-r--r--dev-python/iminuit/iminuit-2.15.2.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/iminuit/Manifest b/dev-python/iminuit/Manifest
index d726cb7934ea..3f74ec93c1da 100644
--- a/dev-python/iminuit/Manifest
+++ b/dev-python/iminuit/Manifest
@@ -5,3 +5,4 @@ DIST iminuit-2.12.2.tar.gz 420639 BLAKE2B b158dd0916d5de229a1af16c402d8f51fd01cb
DIST iminuit-2.13.0.tar.gz 422872 BLAKE2B 756c43cfa89037ee80c274e0e4e9a70fe8fbbc3dd6508964361221740f8b159657d944c2c1fe32056ce0118489ad427c074f822ec6e8c9b809cc04cf34e9be45 SHA512 4a7d4eab7ea996069fce439eeaf9459d86d35d8cb95efb3893601f30cabab28c56da8ada7ae4ae1b9d0b8ce41f8d4ecc36e0a98a5e67ca1f739b40dda61cfd54
DIST iminuit-2.14.0.tar.gz 427380 BLAKE2B 1ed6119bb6ee3ed91a6f40064959c138d12526d534520104cede88f14f298ff25f51d3e17515b3d3b78b7cbb4361a6cb704e24dc02930ad9414c42fed96c830c SHA512 8370c62a02e99e4eaf19153fabb6dc1dbd5db50fed94df73be28bbdc3b5f2d27cb1e770e5d6a031cbf780799363c69da0fb78e12a7f8cdc832e6120e4e78bd0b
DIST iminuit-2.15.1.tar.gz 429180 BLAKE2B b23f2200cc2279136bc5fa01bdd26f44f9cdad8150e503ef11ac70916f1ec52f9e1568a2ab0c5dcb9a8db714580c036fb2764e3a36f866bde87614d0c62e1867 SHA512 e651fedc9c387a21b07201fc5e3cf1f76d8ab6bf50d276068c17fc8a19262afcb2fcc8204619a090a58514cf1e67d372141fc3c558f1c53beab405ea404e8c0d
+DIST iminuit-2.15.2.tar.gz 429553 BLAKE2B a7d0cc5e3776ac962c653c8f10687af457f40a89ec9a58c6d17fc39a51a863c91f0a50e6d2e53713eaf3010e4c8fdc9efdaa44b033741c5af514c2986507cef6 SHA512 185f2581c8ce3b7af7601b456205054875d92ce0c0491e3aad0da386a1556509622dd6ed30ad10df82f3c43cc5f03cf13f1d3765d4252ab5ecf943a3d9f4310f
diff --git a/dev-python/iminuit/iminuit-2.15.2.ebuild b/dev-python/iminuit/iminuit-2.15.2.ebuild
new file mode 100644
index 000000000000..8f9a4ea554d7
--- /dev/null
+++ b/dev-python/iminuit/iminuit-2.15.2.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}"
+}