1 |
commit: 8596dc8787ce7a355d27b0263c1e8a13603a26f3 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 2 03:35:06 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 2 04:46:52 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8596dc87 |
7 |
|
8 |
dev-python/iminuit: Bump to 2.12.1 |
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.12.1.ebuild | 41 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 42 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/iminuit/Manifest b/dev-python/iminuit/Manifest |
17 |
index 58d9c3acf719..0db0c8a7018f 100644 |
18 |
--- a/dev-python/iminuit/Manifest |
19 |
+++ b/dev-python/iminuit/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST iminuit-2.11.2.tar.gz 411984 BLAKE2B 8fa47b24890f26718ebb8f053c2f908d982a7b6cc7f71f6523f387128ab0bd894bb851f18e2f8611ff5ab1c113651f526893445f465fbbfa10d487dc15effcbd SHA512 b60755f21ae38bd19860e0d711bab9c6e37dd361cc8cf43bdd1a583e8c06abca38e42ae0a6c4631be05c5082c9ab169bddb51e4d84397ce8f81833fd4c46cdd7 |
22 |
DIST iminuit-2.12.0.tar.gz 420687 BLAKE2B 9d3761bd756f58a7c36a61f161e4667f8efbb6edef9bb1882fcd324efe46aaec126dbfb4b692a5b7f56a1f162cb292c9e58a0d3337ae04a019756455bc0df1e9 SHA512 1697c04722323506bbe43682befe1b6020656348c98fec0a877ea8403390e741ea106d61d95e31595d894b020025606b413b2f185fd747b2b7d733b729919fe1 |
23 |
+DIST iminuit-2.12.1.tar.gz 420488 BLAKE2B 8910017f27d683b5129a506c7536def9b70b3dac27153985023f81bc94fb767c33f0a9fb4c8ac6911634839fd3870ac3bb63ddbf0cd8925b68778983c341354b SHA512 2b54ebb3c66eb508e848fbedae32aac32a82d794da899d10848d683b7a97b7882014e77b1e98be3563b0e96957208072f048e8df23a8c14f5e3b472eae5b5f23 |
24 |
|
25 |
diff --git a/dev-python/iminuit/iminuit-2.12.1.ebuild b/dev-python/iminuit/iminuit-2.12.1.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..3a700725da54 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/iminuit/iminuit-2.12.1.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 |
+} |