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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CD9AA15808B for ; Mon, 21 Mar 2022 13:36:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0671DE08DD; Mon, 21 Mar 2022 13:36:06 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 97BAFE08DD for ; Mon, 21 Mar 2022 13:36:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A1B5B342FF0 for ; Mon, 21 Mar 2022 13:36:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EB0F7320 for ; Mon, 21 Mar 2022 13:36:01 +0000 (UTC) From: "Thomas Beierlein" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Beierlein" Message-ID: <1647869743.725073832253187b4183b0ddaa1672451e66ae49.tomjbe@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/nanovna-saver/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-wireless/nanovna-saver/nanovna-saver-0.3.10.ebuild X-VCS-Directories: net-wireless/nanovna-saver/ X-VCS-Committer: tomjbe X-VCS-Committer-Name: Thomas Beierlein X-VCS-Revision: 725073832253187b4183b0ddaa1672451e66ae49 X-VCS-Branch: master Date: Mon, 21 Mar 2022 13:36: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: 42f032e5-b99a-4972-94fc-4183666e7d79 X-Archives-Hash: 121770542e9aabfb7c4c8193e21eb0cc commit: 725073832253187b4183b0ddaa1672451e66ae49 Author: Thomas Beierlein gentoo org> AuthorDate: Mon Mar 21 13:31:09 2022 +0000 Commit: Thomas Beierlein gentoo org> CommitDate: Mon Mar 21 13:35:43 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72507383 net-wireless/nanovna-saver: enable py3.10, add USE deps and tests Signed-off-by: Thomas Beierlein gentoo.org> net-wireless/nanovna-saver/nanovna-saver-0.3.10.ebuild | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/net-wireless/nanovna-saver/nanovna-saver-0.3.10.ebuild b/net-wireless/nanovna-saver/nanovna-saver-0.3.10.ebuild index 1270f8f75142..e2817ae6b9e4 100644 --- a/net-wireless/nanovna-saver/nanovna-saver-0.3.10.ebuild +++ b/net-wireless/nanovna-saver/nanovna-saver-0.3.10.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8,9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 DESCRIPTION="tool for reading, displaying and saving data from the NanoVNA" @@ -24,14 +24,16 @@ DEPEND="" RDEPEND="${DEPEND} dev-python/cython[${PYTHON_USEDEP}] dev-python/pyserial[${PYTHON_USEDEP}] - dev-python/PyQt5[${PYTHON_USEDEP}] + dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets] dev-python/numpy[${PYTHON_USEDEP}] dev-python/scipy[${PYTHON_USEDEP}]" BDEPEND="" PATCHES=( "${FILESDIR}"/no-newline-in-description.patch ) -src_prepare() { - rm "${S}"/test -R || die - distutils-r1_src_prepare +distutils_enable_tests pytest + +python_install() { + rm -r "${BUILD_DIR}"/lib/test || die + distutils-r1_python_install }