1 |
commit: 48a49d7c459830813116d0053dedf3b7d990b0f0 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 30 20:14:04 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 30 20:16:06 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48a49d7c |
7 |
|
8 |
dev-python/contourpy: add 1.0.6 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/contourpy/Manifest | 1 + |
13 |
dev-python/contourpy/contourpy-1.0.6.ebuild | 47 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 48 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/contourpy/Manifest b/dev-python/contourpy/Manifest |
17 |
index c5ba47fdafc3..6753c8c3648f 100644 |
18 |
--- a/dev-python/contourpy/Manifest |
19 |
+++ b/dev-python/contourpy/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST contourpy-1.0.5.gh.tar.gz 12153420 BLAKE2B 1b3899831938c114480606f0c2ef2962248721884cd2be727f2bd11d12d322e7652c7b63860f4c5d8bd039a7e838f3f360dd1af017219caa97dfc63d69ef7e19 SHA512 47dc08f02920cb0ffc081f313dd041fa36e2fd0a81530374ae77adc288af13cf2c526fc1f45d06ef1c256c4c8fe243e0b36b54d3fff7d4f8bd6f9f4938d3c805 |
22 |
+DIST contourpy-1.0.6.gh.tar.gz 12154065 BLAKE2B d0a621e10bc465a0ed4a20136e813435bb4d79bdd39b64d60676bb794430f2ce15b247e13e163e8e2f89c69ea6a5880dc8f3c8a49750c15e7bcb554aeefcbac1 SHA512 3b6301b414758d588015b745be723642554459df14277aa2eb2def7b5194e0a2b73b73ce8409bc40cda34095e13984d7a2dbc1f3a1dcf272766df92d1de1b5ef |
23 |
|
24 |
diff --git a/dev-python/contourpy/contourpy-1.0.6.ebuild b/dev-python/contourpy/contourpy-1.0.6.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..972f9f2d56d9 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/contourpy/contourpy-1.0.6.ebuild |
29 |
@@ -0,0 +1,47 @@ |
30 |
+# Copyright 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 |
+DESCRIPTION="Python library for calculating contours in 2D quadrilateral grids" |
41 |
+HOMEPAGE=" |
42 |
+ https://pypi.org/project/contourpy/ |
43 |
+ https://github.com/contourpy/contourpy/ |
44 |
+" |
45 |
+SRC_URI=" |
46 |
+ https://github.com/contourpy/contourpy/archive/v${PV}.tar.gz |
47 |
+ -> ${P}.gh.tar.gz |
48 |
+" |
49 |
+ |
50 |
+LICENSE="BSD" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ >=dev-python/numpy-1.16[${PYTHON_USEDEP}] |
56 |
+" |
57 |
+BDEPEND=" |
58 |
+ >=dev-python/pybind11-2.6[${PYTHON_USEDEP}] |
59 |
+ test? ( |
60 |
+ dev-python/matplotlib[${PYTHON_USEDEP}] |
61 |
+ dev-python/pillow[${PYTHON_USEDEP}] |
62 |
+ ) |
63 |
+" |
64 |
+ |
65 |
+distutils_enable_tests pytest |
66 |
+ |
67 |
+python_test() { |
68 |
+ local EPYTEST_IGNORE=( |
69 |
+ # linters |
70 |
+ tests/test_codebase.py |
71 |
+ ) |
72 |
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 |
73 |
+ # threaded algorithms are known to be broken |
74 |
+ # https://github.com/contourpy/contourpy/issues/163 |
75 |
+ epytest -k "not threaded and not threads" |
76 |
+} |