public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Thomas Beierlein" <tomjbe@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/nanovna-saver/
Date: Mon, 21 Mar 2022 13:36:01 +0000 (UTC)	[thread overview]
Message-ID: <1647869743.725073832253187b4183b0ddaa1672451e66ae49.tomjbe@gentoo> (raw)

commit:     725073832253187b4183b0ddaa1672451e66ae49
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 21 13:31:09 2022 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> 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 <tomjbe <AT> 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
 }


             reply	other threads:[~2022-03-21 13:36 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-21 13:36 Thomas Beierlein [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-30 20:14 [gentoo-commits] repo/gentoo:master commit in: net-wireless/nanovna-saver/ Thomas Beierlein
2024-05-29  7:08 Thomas Beierlein
2024-05-28 20:49 Sam James
2024-04-24 12:41 Thomas Beierlein
2024-01-15 15:55 Thomas Beierlein
2024-01-15 15:55 Thomas Beierlein
2023-12-15 10:10 Michał Górny
2023-08-20 20:08 Rick Farina
2023-06-18 16:23 Sam James
2023-06-18 15:45 Sam James
2023-02-14 13:57 Thomas Beierlein
2023-02-12 16:01 Thomas Beierlein
2023-02-12 15:19 Thomas Beierlein
2022-11-20 17:59 Thomas Beierlein
2022-06-03 10:26 Thomas Beierlein
2022-03-22  9:12 Thomas Beierlein
2021-05-04 19:10 Sam James
2020-12-04  3:16 Rick Farina
2020-10-06 16:43 Rick Farina
2020-08-17 14:46 Rick Farina
2020-03-12 18:56 Rick Farina
2019-11-06 18:46 Rick Farina
2019-09-20 17:28 Rick Farina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1647869743.725073832253187b4183b0ddaa1672451e66ae49.tomjbe@gentoo \
    --to=tomjbe@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox