1 |
commit: abae14e016335563106eb0a33d079f5408184076 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 30 17:55:08 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 30 18:45:45 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abae14e0 |
7 |
|
8 |
dev-python/iminuit: Bump to 2.11.2 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/iminuit/Manifest | 1 + |
13 |
dev-python/iminuit/iminuit-2.11.2.ebuild | 41 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 42 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/iminuit/Manifest b/dev-python/iminuit/Manifest |
17 |
index 34c10091136f..4a552fa9c765 100644 |
18 |
--- a/dev-python/iminuit/Manifest |
19 |
+++ b/dev-python/iminuit/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST iminuit-2.10.0.tar.gz 408625 BLAKE2B 8876f4e94958a9154d517b91859d0c3a58ea919d53271f372eb4f648157567cf39e6639f5cdee7e137bb5a3011eadcfc28b52e3ba87333b2d7dafb0f8b58a7f1 SHA512 0f40a7f775ff814004d6fd5b331887eef2c9d389462b2c3585eca7568cd4babe5f83c85a002c6b47f047008a3ffc0a9e2c6f29cdc4acaf3d4c7208637a16d1e8 |
22 |
+DIST iminuit-2.11.2.tar.gz 411984 BLAKE2B 8fa47b24890f26718ebb8f053c2f908d982a7b6cc7f71f6523f387128ab0bd894bb851f18e2f8611ff5ab1c113651f526893445f465fbbfa10d487dc15effcbd SHA512 b60755f21ae38bd19860e0d711bab9c6e37dd361cc8cf43bdd1a583e8c06abca38e42ae0a6c4631be05c5082c9ab169bddb51e4d84397ce8f81833fd4c46cdd7 |
23 |
DIST iminuit-2.9.0.tar.gz 408294 BLAKE2B d924d5ca5bef0e5b2dbc1fcfc12daab196c6937feff1badd73f9f8f20601989b21673165e758df7dabe072cb4a14cbda12823cfaf30fa5687de4184238465c50 SHA512 55d1d855b23862a4205b6c12ff53ddc088739945523670f3959edfe859abdbd3600da78cc219af6ed792156e2da7d8ae844e76e49ac759af433af875eab26714 |
24 |
|
25 |
diff --git a/dev-python/iminuit/iminuit-2.11.2.ebuild b/dev-python/iminuit/iminuit-2.11.2.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..3a700725da54 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/iminuit/iminuit-2.11.2.ebuild |
30 |
@@ -0,0 +1,41 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_USE_PEP517=setuptools |
37 |
+PYTHON_COMPAT=( python3_{8..10} ) |
38 |
+ |
39 |
+# forced implicitly |
40 |
+CMAKE_MAKEFILE_GENERATOR=emake |
41 |
+inherit cmake distutils-r1 virtualx |
42 |
+ |
43 |
+DESCRIPTION="Minuit numerical function minimization in Python" |
44 |
+HOMEPAGE="https://github.com/scikit-hep/iminuit/" |
45 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+SLOT="0" |
48 |
+LICENSE="MIT LGPL-2.1" |
49 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
53 |
+" |
54 |
+BDEPEND=" |
55 |
+ dev-python/cython[${PYTHON_USEDEP}] |
56 |
+ test? ( |
57 |
+ dev-python/ipython[${PYTHON_USEDEP}] |
58 |
+ dev-python/matplotlib[${PYTHON_USEDEP}] |
59 |
+ dev-python/scipy[${PYTHON_USEDEP}] |
60 |
+ ) |
61 |
+" |
62 |
+ |
63 |
+distutils_enable_tests pytest |
64 |
+ |
65 |
+src_test() { |
66 |
+ virtx distutils-r1_src_test |
67 |
+} |
68 |
+ |
69 |
+python_test() { |
70 |
+ epytest -p no:pytest-describe || die "Tests failed with ${EPYTHON}" |
71 |
+} |