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 4BCAE1382C5 for ; Mon, 1 Feb 2021 01:48:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77E6FE0907; Mon, 1 Feb 2021 01:48:43 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 5EBE0E0907 for ; Mon, 1 Feb 2021 01:48:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 7182D341085 for ; Mon, 1 Feb 2021 01:48:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D1FEE476 for ; Mon, 1 Feb 2021 01:48:40 +0000 (UTC) From: "Horea Christian" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Horea Christian" Message-ID: <1612144110.720e1d6139727d6366b8d7ae69aedb5c297f113e.chymera@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-visualization/fsleyes-widgets/ X-VCS-Repository: proj/sci X-VCS-Files: sci-visualization/fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild X-VCS-Directories: sci-visualization/fsleyes-widgets/ X-VCS-Committer: chymera X-VCS-Committer-Name: Horea Christian X-VCS-Revision: 720e1d6139727d6366b8d7ae69aedb5c297f113e X-VCS-Branch: master Date: Mon, 1 Feb 2021 01:48:40 +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: ddc73939-c9d7-41f2-9d04-c0a88a06ec7d X-Archives-Hash: 676e1361142e02aecedbd3924d2db6e8 commit: 720e1d6139727d6366b8d7ae69aedb5c297f113e Author: Horea Christian chymera eu> AuthorDate: Mon Feb 1 01:48:30 2021 +0000 Commit: Horea Christian gmail com> CommitDate: Mon Feb 1 01:48:30 2021 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=720e1d61 sci-visualization/fsleyes-widgets: keep old versions Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Horea Christian chymera.eu> .../fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild b/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild new file mode 100644 index 000000000..eac611cac --- /dev/null +++ b/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 virtualx + +MY_P="widgets-${PV}" + +DESCRIPTION="GUI widgets and utilities for the FSLeyes viewer" +HOMEPAGE="https://git.fmrib.ox.ac.uk/fsl/fsleyes/fsleyes/tree/master" +SRC_URI="https://git.fmrib.ox.ac.uk/fsl/fsleyes/widgets/-/archive/${PV}/${MY_P}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND=" + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + ) + dev-python/setuptools[${PYTHON_USEDEP}] + " +RDEPEND=" + dev-python/deprecation[${PYTHON_USEDEP}] + =dev-python/numpy-1*[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + =dev-python/six-1*[${PYTHON_USEDEP}] + dev-python/wxpython[${PYTHON_USEDEP}] + " + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/fsleyes-widgets-0.8.4-coverage.patch" + "${FILESDIR}/fsleyes-widgets-0.8.4-tests.patch" +) + +python_test() { + # If this could be set for the eclass, it might fix some of the tests: + # https://github.com/pauldmccarthy/fsleyes-widgets/issues/1#issuecomment-575387724 + #xvfbargs="-screen 0 1920x1200x24 +extension RANDR" + virtx pytest --verbose || die +}