1 |
commit: 384c085c1dfee4bac5434ba180b866dd7a49e776 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 16 18:23:41 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 16 18:50:04 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=384c085c |
7 |
|
8 |
dev-python/iminuit: add 2.16.0 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/iminuit/Manifest | 1 + |
13 |
dev-python/iminuit/iminuit-2.16.0.ebuild | 42 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 43 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/iminuit/Manifest b/dev-python/iminuit/Manifest |
17 |
index 3f74ec93c1da..3efb5260670d 100644 |
18 |
--- a/dev-python/iminuit/Manifest |
19 |
+++ b/dev-python/iminuit/Manifest |
20 |
@@ -6,3 +6,4 @@ DIST iminuit-2.13.0.tar.gz 422872 BLAKE2B 756c43cfa89037ee80c274e0e4e9a70fe8fbbc |
21 |
DIST iminuit-2.14.0.tar.gz 427380 BLAKE2B 1ed6119bb6ee3ed91a6f40064959c138d12526d534520104cede88f14f298ff25f51d3e17515b3d3b78b7cbb4361a6cb704e24dc02930ad9414c42fed96c830c SHA512 8370c62a02e99e4eaf19153fabb6dc1dbd5db50fed94df73be28bbdc3b5f2d27cb1e770e5d6a031cbf780799363c69da0fb78e12a7f8cdc832e6120e4e78bd0b |
22 |
DIST iminuit-2.15.1.tar.gz 429180 BLAKE2B b23f2200cc2279136bc5fa01bdd26f44f9cdad8150e503ef11ac70916f1ec52f9e1568a2ab0c5dcb9a8db714580c036fb2764e3a36f866bde87614d0c62e1867 SHA512 e651fedc9c387a21b07201fc5e3cf1f76d8ab6bf50d276068c17fc8a19262afcb2fcc8204619a090a58514cf1e67d372141fc3c558f1c53beab405ea404e8c0d |
23 |
DIST iminuit-2.15.2.tar.gz 429553 BLAKE2B a7d0cc5e3776ac962c653c8f10687af457f40a89ec9a58c6d17fc39a51a863c91f0a50e6d2e53713eaf3010e4c8fdc9efdaa44b033741c5af514c2986507cef6 SHA512 185f2581c8ce3b7af7601b456205054875d92ce0c0491e3aad0da386a1556509622dd6ed30ad10df82f3c43cc5f03cf13f1d3765d4252ab5ecf943a3d9f4310f |
24 |
+DIST iminuit-2.16.0.tar.gz 429960 BLAKE2B 39d5d52797f8f9749dc99b638039323c5eaedec9bd810f8f6b79f19c37e12d6c8d3c6acd4811b80a43828c9ca7b1a30ea71174cdd749d40f5b27cdfd1de193c6 SHA512 06a3906ff121c135ec3c882a5eb5d77a09b910cd2b81d4e6e635122a4544546b64fc6342936a8a963e84d89efca82552a0283908e100d26c25d4bbf7fca5735e |
25 |
|
26 |
diff --git a/dev-python/iminuit/iminuit-2.16.0.ebuild b/dev-python/iminuit/iminuit-2.16.0.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..8f9a4ea554d7 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/iminuit/iminuit-2.16.0.ebuild |
31 |
@@ -0,0 +1,42 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+DISTUTILS_USE_PEP517=setuptools |
38 |
+PYTHON_COMPAT=( python3_{8..10} ) |
39 |
+ |
40 |
+# forced implicitly |
41 |
+CMAKE_MAKEFILE_GENERATOR=emake |
42 |
+inherit cmake distutils-r1 virtualx |
43 |
+ |
44 |
+DESCRIPTION="Minuit numerical function minimization in Python" |
45 |
+HOMEPAGE="https://github.com/scikit-hep/iminuit/" |
46 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
47 |
+ |
48 |
+SLOT="0" |
49 |
+LICENSE="MIT LGPL-2.1" |
50 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
54 |
+" |
55 |
+BDEPEND=" |
56 |
+ dev-python/cython[${PYTHON_USEDEP}] |
57 |
+ test? ( |
58 |
+ dev-python/ipython[${PYTHON_USEDEP}] |
59 |
+ dev-python/ipywidgets[${PYTHON_USEDEP}] |
60 |
+ dev-python/matplotlib[${PYTHON_USEDEP}] |
61 |
+ dev-python/scipy[${PYTHON_USEDEP}] |
62 |
+ ) |
63 |
+" |
64 |
+ |
65 |
+distutils_enable_tests pytest |
66 |
+ |
67 |
+src_test() { |
68 |
+ virtx distutils-r1_src_test |
69 |
+} |
70 |
+ |
71 |
+python_test() { |
72 |
+ epytest -p no:pytest-describe || die "Tests failed with ${EPYTHON}" |
73 |
+} |