diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-04-16 02:55:34 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-04-16 03:55:16 +0200 |
| commit | 8e06e942d8b04b19bcc5ec72c882f9d0ce12ea4d (patch) | |
| tree | dedb7383cc99ffc0bac7a1e9785f785deec9c6ec /dev-python/contourpy | |
| parent | c834f970e2712539aad6986df5cc42130f7c1600 (diff) | |
| download | gentoo-8e06e942d8b04b19bcc5ec72c882f9d0ce12ea4d.tar.gz gentoo-8e06e942d8b04b19bcc5ec72c882f9d0ce12ea4d.tar.bz2 gentoo-8e06e942d8b04b19bcc5ec72c882f9d0ce12ea4d.zip | |
dev-python/contourpy: Bump to 1.3.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/contourpy')
| -rw-r--r-- | dev-python/contourpy/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/contourpy/contourpy-1.3.2.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/contourpy/Manifest b/dev-python/contourpy/Manifest index 2cd6150c32c2..a91605e7a359 100644 --- a/dev-python/contourpy/Manifest +++ b/dev-python/contourpy/Manifest @@ -1 +1,2 @@ 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 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 +} |
