summaryrefslogtreecommitdiff
path: root/dev-python/contourpy
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/contourpy')
-rw-r--r--dev-python/contourpy/Manifest2
-rw-r--r--dev-python/contourpy/contourpy-1.3.2.ebuild53
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/contourpy/Manifest b/dev-python/contourpy/Manifest
index 34136b375b7b..0be0e8395c5f 100644
--- a/dev-python/contourpy/Manifest
+++ b/dev-python/contourpy/Manifest
@@ -1,3 +1,5 @@
DIST contourpy-1.3.1.gh.tar.gz 13445593 BLAKE2B 745b55740afcee562c1578922079dc271e3074b011b7a0c8b6f8287b23c18a616a634afd6b05bd463921de77e857ca550a57424646961267f080a9e36ec64185 SHA512 09dbb934c65280722312ce002198bb294bb543febba28a2fd874d4b9feb3d837a802c68614703acf6131f799047254a16a4c932cd694d7d55e5a946a49cc8f3a
+DIST contourpy-1.3.2.gh.tar.gz 13447363 BLAKE2B e2ffdca06f2304f6b38414d556d2b1f40334e5626c722a5ca6e8fd6490f28fd8dbc388eacffa1c60815553e5f5183ada2e61c08ba571dbf52add7dc3904398b6 SHA512 4948f1fc706623ec63828066efb0fa720a946e39b3d9072356dea9d27ba07fe5fa37df297a865afd4e96e43419983161e3c7a1fe75d14973460683342bea4f0c
EBUILD contourpy-1.3.1.ebuild 1148 BLAKE2B fa096a3f4caefab7cc223204e4ba82e3dffc19426c32286af5723c7b8704380777c58635b926ec2c2ef5dab4a7926069696761eccebb0f2811c3aaa360d7a59b SHA512 878c8165becfe1535daa07621e3e910537544a439728deadd67e9b94a47c43a5e0ebbadce09735b1b1cdf0217a2ef09057f884596099b261bb61c735e0e8086a
+EBUILD contourpy-1.3.2.ebuild 1155 BLAKE2B c28fc8400dcd0667d9dc58f678eb076ae42f18a78e71e17f4e1fcbb5b81c6a1f3d022ac015ec44182d41e0654ae9f9471cdf81a09642dcfb864c14a51bd74088 SHA512 afdc7226b2520d4c293d793fefd74ad949f19c395fca67db080b068474edf1824f9fccc3b2498e84969ed6e12cde92c03e759c938e9115a5258ac45e00030dc6
MISC metadata.xml 372 BLAKE2B de3d6cc9d8727bf43be63fdbb8aa2ad375667d189019e189be262e39d028acab98a21e200798c2d5c5c72521aa7d38202e3e235dd44de9b43a7dc9e045d50c47 SHA512 e692f94d805d7f56fc895a4c76dfbacf2f068d687b9191482b946445baa3bd0a685eda7a1b0aec2aaf9a02e6f23d87f0bf22d90f42e3c21d930724c635ff859a
diff --git a/dev-python/contourpy/contourpy-1.3.2.ebuild b/dev-python/contourpy/contourpy-1.3.2.ebuild
new file mode 100644
index 000000000000..99b6ec49d072
--- /dev/null
+++ b/dev-python/contourpy/contourpy-1.3.2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2022-2025 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 pypy3_11 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
+}