commit:     10406975538be7a1a2bfae0cf96fac7ba1c5e850
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 14 04:15:25 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 14 04:57:02 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10406975

dev-python/contourpy: Bump to 1.0.7

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/contourpy/Manifest               |  1 +
 dev-python/contourpy/contourpy-1.0.7.ebuild | 47 +++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/dev-python/contourpy/Manifest b/dev-python/contourpy/Manifest
index 465eb6f6c367..001b8dee6fd6 100644
--- a/dev-python/contourpy/Manifest
+++ b/dev-python/contourpy/Manifest
@@ -1 +1,2 @@
 DIST contourpy-1.0.6.gh.tar.gz 12154065 BLAKE2B 
d0a621e10bc465a0ed4a20136e813435bb4d79bdd39b64d60676bb794430f2ce15b247e13e163e8e2f89c69ea6a5880dc8f3c8a49750c15e7bcb554aeefcbac1
 SHA512 
3b6301b414758d588015b745be723642554459df14277aa2eb2def7b5194e0a2b73b73ce8409bc40cda34095e13984d7a2dbc1f3a1dcf272766df92d1de1b5ef
+DIST contourpy-1.0.7.gh.tar.gz 13357940 BLAKE2B 
740214d68eb95c2d80dfb4008fbf82ae1bbd7135476a7f1a45863e2fd88331c959e80dd56afde67789e95325fe4613a6404c24d4deafebacfabbdebc0b199dfe
 SHA512 
64edcfc911b3d7af9b422058d1f595c05d64f7fca8511ea199d30fa52854aee53a7c7dd95e2f47964f57e7764ce6b7b05c8ccee5ed0309eb5daa822d488ce0ff

diff --git a/dev-python/contourpy/contourpy-1.0.7.ebuild 
b/dev-python/contourpy/contourpy-1.0.7.ebuild
new file mode 100644
index 000000000000..2472a410a2d5
--- /dev/null
+++ b/dev-python/contourpy/contourpy-1.0.7.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python library for calculating contours in 2D quadrilateral grids"
+HOMEPAGE="
+       https://pypi.org/project/contourpy/
+       https://github.com/contourpy/contourpy/
+"
+SRC_URI="
+       https://github.com/contourpy/contourpy/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+
+RDEPEND="
+       >=dev-python/numpy-1.16[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       >=dev-python/pybind11-2.6[${PYTHON_USEDEP}]
+       test? (
+               dev-python/matplotlib[${PYTHON_USEDEP}]
+               dev-python/pillow[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+       local EPYTEST_IGNORE=(
+               # linters
+               tests/test_codebase.py
+       )
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       # threaded algorithms are known to be broken
+       # https://github.com/contourpy/contourpy/issues/163
+       epytest -k "not threaded and not threads"
+}

Reply via email to