diff options
| author | Michał Górny <mgorny@gentoo.org> | 2024-11-13 07:44:54 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2024-11-13 07:55:20 +0100 |
| commit | f076106816f5ba1faf93b14c610bade9dbc037a8 (patch) | |
| tree | 48c849c24ab8060c063bc84c773ad55503afb639 /dev-python/contourpy | |
| parent | ede96842a29b6ce18e0390566e0035431d7fff7b (diff) | |
| download | gentoo-f076106816f5ba1faf93b14c610bade9dbc037a8.tar.gz gentoo-f076106816f5ba1faf93b14c610bade9dbc037a8.tar.bz2 gentoo-f076106816f5ba1faf93b14c610bade9dbc037a8.zip | |
dev-python/contourpy: Bump to 1.3.1
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.1.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
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 +} |
