diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-06-27 14:00:03 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-06-27 14:40:08 +0200 |
commit | ac975e108a5c665be5fdbde8550cad9128a8631e (patch) | |
tree | af520c69a8b5bab26b9be6980a84783060e9523a /dev-python/pyamg | |
parent | dev-db/m17n-db: new upstream release (diff) | |
download | gentoo-ac975e108a5c665be5fdbde8550cad9128a8631e.tar.gz gentoo-ac975e108a5c665be5fdbde8550cad9128a8631e.tar.bz2 gentoo-ac975e108a5c665be5fdbde8550cad9128a8631e.zip |
dev-python/pyamg: Bump to 5.2.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pyamg')
-rw-r--r-- | dev-python/pyamg/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pyamg/pyamg-5.2.0.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/pyamg/Manifest b/dev-python/pyamg/Manifest index 44ce22afef1a..d1d7fd379aa8 100644 --- a/dev-python/pyamg/Manifest +++ b/dev-python/pyamg/Manifest @@ -1,2 +1,3 @@ DIST pyamg-5.0.1.gh.tar.gz 4132815 BLAKE2B 578a8b1ff7eb627698ba1f0fc2483c614bf73b38b0f38ba11264a3754d5d6e24dd09b818e42d059e7efc18300bb7eb0f661c8ad9e874fcb4d316c5dcebce27df SHA512 d04291854840bbf349cb7b73a392bf3d043f8db88ed1070e8689d45803c8544470d09c2eb268d57ac994e59b99b3f42c8350f1e3612600069c2b93f65ceb659f DIST pyamg-5.1.0.gh.tar.gz 4133863 BLAKE2B eb1894f52ef40764f580c23381afbfc1a0ae066ef34ab393adc1ded8f5ed2d881db231f8cfcf94232a531300d920cd54f634382be390be1127648be06464ffb9 SHA512 d770289a9995dd6d7eb7be137e39adeed0968d25d6c5c8c664f14ca3980f09fdda407adb3f634172a9ce49e4d0e205a63dccc21214a027324372a2be1374f062 +DIST pyamg-5.2.0.gh.tar.gz 4133298 BLAKE2B 73f1a53eaedd9c80e23fb49e242342e877b46eacc023abd4949d3036591b3fed7c05aa71a98656227f571f6ecdf714675d6a97749a4a7a19e7f2f7c48f9fcd90 SHA512 9636090199a41145892f50462f8db8148543f48ee16f41a857b003d5bbcfe5cdab0b9f236dbbb8f4298b65316b05ea448b1493789afabdad6376d6dc75eaaf79 diff --git a/dev-python/pyamg/pyamg-5.2.0.ebuild b/dev-python/pyamg/pyamg-5.2.0.ebuild new file mode 100644 index 000000000000..8d22187046fd --- /dev/null +++ b/dev-python/pyamg/pyamg-5.2.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Algebraic multigrid solvers in Python" +HOMEPAGE=" + https://www.pyamg.org/ + https://github.com/pyamg/pyamg/ + https://pypi.org/project/pyamg/ +" +SRC_URI=" + https://github.com/pyamg/pyamg/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + dev-python/pybind11[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] +" +RDEPEND=" + dev-python/CppHeaderParser[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + >=dev-python/scipy-1.11.0[${PYTHON_USEDEP}] +" +BDEPEND=" + ${DEPEND} + >=dev-python/setuptools-scm-7.0.0[${PYTHON_USEDEP}] + test? ( + dev-python/matplotlib[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + cd "${T}" || die + epytest --pyargs pyamg +} |