From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3D39E1382C5 for ; Tue, 22 Jun 2021 07:47:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E96AE08ED; Tue, 22 Jun 2021 07:47:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 61AFFE08ED for ; Tue, 22 Jun 2021 07:47:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C15E3335D26 for ; Tue, 22 Jun 2021 07:47:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3C9547A0 for ; Tue, 22 Jun 2021 07:47:01 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1624348012.b6d01c25b2ee41844f5e33dbe3b739af418b0405.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/GridDataFormats/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/GridDataFormats/GridDataFormats-0.5.0.ebuild X-VCS-Directories: dev-python/GridDataFormats/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: b6d01c25b2ee41844f5e33dbe3b739af418b0405 X-VCS-Branch: master Date: Tue, 22 Jun 2021 07:47:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d9337055-5234-4cf8-a573-30f25ecff6cc X-Archives-Hash: 4091b99a6aaba9e918df0b2a22f30b19 commit: b6d01c25b2ee41844f5e33dbe3b739af418b0405 Author: Andrew Ammerlaan gentoo org> AuthorDate: Mon Jun 21 17:54:57 2021 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Tue Jun 22 07:46:52 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6d01c25 dev-python/GridDataFormats: add support for tests, enable py3.10 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan gentoo.org> dev-python/GridDataFormats/GridDataFormats-0.5.0.ebuild | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/dev-python/GridDataFormats/GridDataFormats-0.5.0.ebuild b/dev-python/GridDataFormats/GridDataFormats-0.5.0.ebuild index dae8fce9e4a..bae94c0b169 100644 --- a/dev-python/GridDataFormats/GridDataFormats-0.5.0.ebuild +++ b/dev-python/GridDataFormats/GridDataFormats-0.5.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{7..10} ) inherit distutils-r1 @@ -14,10 +14,19 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" SLOT="0" LICENSE="LGPL-3" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="" -BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" RDEPEND=" >=dev-python/numpy-1.0.3[${PYTHON_USEDEP}] dev-python/scipy[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] " + +distutils_enable_tests pytest + +python_prepare_all() { + # This test needs porting to newer numpy + sed -i -e 's/test_resample_factor/_&/' \ + gridData/tests/test_grid.py || die + + distutils-r1_python_prepare_all +}