commit:     f076106816f5ba1faf93b14c610bade9dbc037a8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 13 06:44:54 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Nov 13 06:55:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0761068

dev-python/contourpy: Bump to 1.3.1

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

 dev-python/contourpy/Manifest               |  1 +
 dev-python/contourpy/contourpy-1.3.1.ebuild | 53 +++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/contourpy/Manifest b/dev-python/contourpy/Manifest
index 3c6af3663e2f..fa6ce0be6d9b 100644
--- a/dev-python/contourpy/Manifest
+++ b/dev-python/contourpy/Manifest
@@ -1 +1,2 @@
 DIST contourpy-1.3.0.gh.tar.gz 13445333 BLAKE2B 
d49131f0d46f4000ecbd9caf7cf63c3089085cb6ce85f745ba737f0c3a430e8f5594205dd6be0e5fcc1ae8572594825b363b07c01feabe8ef13641eacc4a9ac0
 SHA512 
aa16e87879f3513219b1c1f4e001e99c9842248baebd2b1632b3177b141c16ed7d28efcd96bb33bddf941fa1613887691f4c293262c1fe7f82d12c0713fe852b
+DIST contourpy-1.3.1.gh.tar.gz 13445593 BLAKE2B 
745b55740afcee562c1578922079dc271e3074b011b7a0c8b6f8287b23c18a616a634afd6b05bd463921de77e857ca550a57424646961267f080a9e36ec64185
 SHA512 
09dbb934c65280722312ce002198bb294bb543febba28a2fd874d4b9feb3d837a802c68614703acf6131f799047254a16a4c932cd694d7d55e5a946a49cc8f3a

diff --git a/dev-python/contourpy/contourpy-1.3.1.ebuild 
b/dev-python/contourpy/contourpy-1.3.1.ebuild
new file mode 100644
index 000000000000..b191fff7b7aa
--- /dev/null
+++ b/dev-python/contourpy/contourpy-1.3.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=meson-python
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
+
+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 ~loong ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~arm64-macos ~x64-macos"
+
+RDEPEND="
+       >=dev-python/numpy-1.23[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       >=dev-python/pybind11-2.13.4[${PYTHON_USEDEP}]
+       test? (
+               dev-python/matplotlib[${PYTHON_USEDEP}]
+               dev-python/pillow[${PYTHON_USEDEP}]
+               dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
+               dev-python/wurlitzer[${PYTHON_USEDEP}]
+       )
+"
+
+DISTUTILS_ARGS=(
+       -Dwerror=false
+)
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+python_test() {
+       local EPYTEST_IGNORE=(
+               # linters
+               tests/test_codebase.py
+       )
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest
+}

Reply via email to