1 |
commit: 342504757fc280923f5d410a1a6e7e136e31a757 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 28 05:40:00 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 28 06:05:32 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34250475 |
7 |
|
8 |
dev-python/lmfit: Bump to 1.1.0 |
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.1.0.ebuild | 49 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 50 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/lmfit/Manifest b/dev-python/lmfit/Manifest |
17 |
index d546c944bfae..d954bfaa80ad 100644 |
18 |
--- a/dev-python/lmfit/Manifest |
19 |
+++ b/dev-python/lmfit/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST lmfit-1.0.3.tar.gz 292475 BLAKE2B 6d97fe671b0d5bb7751d0ead97ab83d8100e2bb16b81bed61ff07ee6355bffd99258ab554032c9b8a35bb4376a1efef0ab988b3eb6d5a9e26f52314719e45dae SHA512 33febdd68104bb41ca379a8acd03a8bb985ba8785d607ab110b63bc7b3b39b9d95161a683fe015613bee6d99100ede82d1f3574515a6bfb9160300a5791fcc55 |
22 |
+DIST lmfit-py-1.1.0.gh.tar.gz 300406 BLAKE2B b874efd70bc1c5fa2c94239027d636a8dd5bf5ca2a3481cfc467032efe9d57ff55c74ccf175f32c6f87cd285e9216db49ef4fb0566e86cafe85537a40db64366 SHA512 9d5c871446a5bb650d8709b0db100e23be8ed7459ceb7ea4614fb07b1058044bb07394b2af615ecf7d9a22aaf49c1da723cb555749956d1f3ad507a4465fa0da |
23 |
|
24 |
diff --git a/dev-python/lmfit/lmfit-1.1.0.ebuild b/dev-python/lmfit/lmfit-1.1.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..0200aee91e87 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/lmfit/lmfit-1.1.0.ebuild |
29 |
@@ -0,0 +1,49 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..11} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+MY_P=lmfit-py-${PV} |
41 |
+DESCRIPTION="Non-Linear Least-Squares Minimization and Curve-Fitting for Python" |
42 |
+HOMEPAGE=" |
43 |
+ https://lmfit.github.io/lmfit-py/ |
44 |
+ https://github.com/lmfit/lmfit-py/ |
45 |
+ https://pypi.org/project/lmfit/ |
46 |
+" |
47 |
+SRC_URI=" |
48 |
+ https://github.com/lmfit/lmfit-py/archive/${PV}.tar.gz |
49 |
+ -> ${MY_P}.gh.tar.gz |
50 |
+" |
51 |
+S=${WORKDIR}/${MY_P} |
52 |
+ |
53 |
+LICENSE="BSD" |
54 |
+SLOT="0" |
55 |
+KEYWORDS="~amd64" |
56 |
+ |
57 |
+RDEPEND=" |
58 |
+ >=dev-python/asteval-0.9.28[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/numpy-1.19[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/scipy-1.6[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/uncertainties-3.1.4[${PYTHON_USEDEP}] |
62 |
+" |
63 |
+BDEPEND=" |
64 |
+ >=dev-python/setuptools_scm-6.2[${PYTHON_USEDEP}] |
65 |
+" |
66 |
+ |
67 |
+distutils_enable_tests pytest |
68 |
+ |
69 |
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |
70 |
+ |
71 |
+python_test() { |
72 |
+ local EPYTEST_DESELECT=( |
73 |
+ # TODO |
74 |
+ tests/test_model.py::TestUserDefiniedModel::test_model_nan_policy |
75 |
+ ) |
76 |
+ |
77 |
+ epytest -o addopts= |
78 |
+} |