1 |
commit: 1fd59aff689ddbddaa87822b902252998d35acc0 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 8 08:24:55 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 8 08:43:57 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fd59aff |
7 |
|
8 |
dev-python/lmfit: Bump to 1.0.2 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/lmfit/Manifest | 1 + |
13 |
dev-python/lmfit/lmfit-1.0.2.ebuild | 35 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 36 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/lmfit/Manifest b/dev-python/lmfit/Manifest |
17 |
index 2612f9b8621..c49f4457ad8 100644 |
18 |
--- a/dev-python/lmfit/Manifest |
19 |
+++ b/dev-python/lmfit/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST lmfit-1.0.1.tar.gz 258368 BLAKE2B bd2956cb9519f9303d0d2707b0333839ce471f62f53c907870bb6b8ab867cbcd1581d82a1959a6c3c734bd6b8074a769f0587706b3172800cbdef979db3a148d SHA512 1ae3e2cb25625a9b24c261d81c8f1ba0389266724581762f6e0a96140c84e43acd527ab1b83b862bf7b3b4c0b1b9755ee38d0c52e63fe89ea41f2d010b1e5c0d |
22 |
+DIST lmfit-1.0.2.tar.gz 306039 BLAKE2B ab5fcda566f81f00a9d2371f6ae5b3477ed015c70e9b9faf8c5228e3f75f0bf9085d9bd3789042af7b46813d0b6c88f96da37ce295593a5368144d53f5f1799b SHA512 85adeac989117dab3cc9aaf216c37ea5087452351a7978238929216dd9d9be8b6b6790103d4fbbf5211a943c43fb99461750cf58287e2b18c27f66eeacc6ed9a |
23 |
|
24 |
diff --git a/dev-python/lmfit/lmfit-1.0.2.ebuild b/dev-python/lmfit/lmfit-1.0.2.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..3be5d42ef10 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/lmfit/lmfit-1.0.2.ebuild |
29 |
@@ -0,0 +1,35 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+PYTHON_COMPAT=( python3_{7..9} ) |
35 |
+inherit distutils-r1 |
36 |
+ |
37 |
+DESCRIPTION="Non-Linear Least-Squares Minimization and Curve-Fitting for Python" |
38 |
+HOMEPAGE="https://lmfit.github.io/lmfit-py/ https://github.com/lmfit/lmfit-py/" |
39 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="BSD" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64" |
44 |
+IUSE="" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ >=dev-python/asteval-0.9.16[${PYTHON_USEDEP}] |
48 |
+ >=dev-python/numpy-1.16[${PYTHON_USEDEP}] |
49 |
+ >=dev-python/uncertainties-3.0.1[${PYTHON_USEDEP}] |
50 |
+ >=dev-python/scipy-1.2[${PYTHON_USEDEP}] |
51 |
+" |
52 |
+ |
53 |
+distutils_enable_tests pytest |
54 |
+ |
55 |
+python_test() { |
56 |
+ local deselect=( |
57 |
+ # numpy warning mismatch |
58 |
+ tests/test_confidence.py::test_confidence_warnings |
59 |
+ tests/test_model.py::TestUserDefiniedModel::test_extra_param_issues_warning |
60 |
+ ) |
61 |
+ |
62 |
+ pytest -vv ${deselect[@]/#/--deselect } || |
63 |
+ die "Tests failed with ${EPYTHON}" |
64 |
+} |