diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2024-06-27 23:34:38 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2024-06-27 23:34:38 +0300 |
commit | 98d1d8311bf7d3b9ffdaef10afbbef408d2d7f95 (patch) | |
tree | 6b8a7f7af513c96eee4d3ccc8c5c45ef69a33c1c /dev-python/pyamg | |
parent | dev-python/tpm2-pytss: enable py3.13 (diff) | |
download | gentoo-98d1d8311bf7d3b9ffdaef10afbbef408d2d7f95.tar.gz gentoo-98d1d8311bf7d3b9ffdaef10afbbef408d2d7f95.tar.bz2 gentoo-98d1d8311bf7d3b9ffdaef10afbbef408d2d7f95.zip |
dev-python/pyamg: add 5.2.1
Signed-off-by: Arthur Zamarin <arthurzam@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.1.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/pyamg/Manifest b/dev-python/pyamg/Manifest index d1d7fd379aa8..dcbaddd9d1f2 100644 --- a/dev-python/pyamg/Manifest +++ b/dev-python/pyamg/Manifest @@ -1,3 +1,4 @@ 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 +DIST pyamg-5.2.1.gh.tar.gz 4133340 BLAKE2B 04bb2a5bbcd76eed651512634670ea76359fe779c17ea50c2272d7a9656a348c94b6748efaf24f189219bc467c85418e0d6252ac809f4feb269059ee732b2ea6 SHA512 469a5675bb65ff9eadfdbf344c35cb01bebe09c987b493aaeaf5aa98273ebd8071534e25edac82ffc26f39eb3877e1a69cd2a3894de70bcb5396b6cf723aa3b6 diff --git a/dev-python/pyamg/pyamg-5.2.1.ebuild b/dev-python/pyamg/pyamg-5.2.1.ebuild new file mode 100644 index 000000000000..8d22187046fd --- /dev/null +++ b/dev-python/pyamg/pyamg-5.2.1.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 +} |