summaryrefslogtreecommitdiff
path: root/dev-python/pyamg
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-12-22 14:08:05 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-12-22 14:08:05 +0000
commit93a93e9a3b53c1a73142a305ea1f8136846942ee (patch)
treeb9791a06ab3284e27b568412c59316c66240c682 /dev-python/pyamg
parent2771f79232c273bc2a57d23bf335dd81ccf6af28 (diff)
gentoo resync : 22.12.2021
Diffstat (limited to 'dev-python/pyamg')
-rw-r--r--dev-python/pyamg/Manifest2
-rw-r--r--dev-python/pyamg/pyamg-4.2.1.ebuild38
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/pyamg/Manifest b/dev-python/pyamg/Manifest
index 5d8022d80aaf..a6f06b128629 100644
--- a/dev-python/pyamg/Manifest
+++ b/dev-python/pyamg/Manifest
@@ -1,4 +1,6 @@
AUX pyamg-4.0.0-test.patch 589 BLAKE2B 2b337d2815b4bf091a30fcb03b8c9270e601a0dfc5c1d3ed2a4541e8af1d026e8d56a517097d403110eb91c675cc07177b0fc96c81fa48cf51cabccd81da1112 SHA512 c6419ae72b6231015f46679a277d61755cb11cdf1a586789d6cfddbd28ec548ced6bc81c4b973011163d6be76509d26035636ba5952c8bddc3d0c66bc258142e
DIST pyamg-4.1.0.tar.gz 749906 BLAKE2B 31c05d64317b32cbdbd616e982557f0a94bc17b2fce3d982fe93e629d56ad526516603032b3cba9785bf5ebed038481ae641f55a5a1ad621442dde08791981cb SHA512 311642cbbe8dca621cb58bebb1bb05b7dc7b2364713886df96937ba56575137bcb4fb7006a232d2c14380cd41f4337f6f09a8a9794e279a155f27287497d2b08
+DIST pyamg-4.2.1.gh.tar.gz 3900395 BLAKE2B ad4427eb297f044b4782274ce55799bd9da4abec108267c4c0aaedab38e2fb4d89c4c365eca90e4045c411254640ead667fa0e511d9597ff00081c0ebacde9b2 SHA512 933f5f1da808cb02ff5fa91df54a48a971bb3b017582f5a829cf71c94f698469476b9f0306962140dc38f7265266c9b53f98dc7aaa99945b45bfa83003d26df9
EBUILD pyamg-4.1.0.ebuild 737 BLAKE2B b1f0bd7c9f9cc65ca6d6aea2ed93078c50978d8bbd3b62fa9bc4c90556154151cefb683472bd5a4f06c3bec463dd08bc19a1fdcc642237bb01766907ae700feb SHA512 10b5cbb4d98f4daa312c6edb6fcff91df85ccc874ea52633d9f7f5f453f8b81398deb9087867dd0dbb0e5959a1f5c0e5beada9e15dcb7910c037daa526901418
+EBUILD pyamg-4.2.1.ebuild 786 BLAKE2B a65d322aedd6881b384235ff237b08d85dc4724aef61a79341e950d6834f1bfefa153f9922efd319a76324cee330f300f11e4d0db158370dc331180c0b93b0a0 SHA512 8f0a63e64a6d2b61d26a398ddbfee7d4eb899ba303b539ee81ee121c010b2d8a34f7e184e6e2b0dde6de9f8c56276bca920bf74b842a16d14ea89746fbbe3dd2
MISC metadata.xml 661 BLAKE2B becf7cacd76879bd3214eacf42cb06ac03c7e0abe3375e1a49d3319835111bad3a1625f56ae2cfae09284972b5d9195201912e9993bc4a18a9bb81f2f58280d4 SHA512 c9cd36f23fa97324ab520e15d1233ca6153c4d1d195a3d130c71c4289177883c6d9666f80d2ce9341e5182a398a55a286f27068aecb68bb233b1193909204c8c
diff --git a/dev-python/pyamg/pyamg-4.2.1.ebuild b/dev-python/pyamg/pyamg-4.2.1.ebuild
new file mode 100644
index 000000000000..cdcc0310a2cb
--- /dev/null
+++ b/dev-python/pyamg/pyamg-4.2.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Algebraic multigrid solvers in Python"
+HOMEPAGE="https://pyamg.org"
+SRC_URI="
+ https://github.com/pyamg/pyamg/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/scipy[${PYTHON_USEDEP}]"
+BDEPEND="
+ dev-python/pybind11[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ test? (
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ )"
+
+distutils_enable_tests pytest
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+
+python_test() {
+ cp -r -l -n pyamg "${BUILD_DIR}/lib" || die
+ cd "${BUILD_DIR}/lib" || die
+ epytest
+}