From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/nicotine+/
Date: Wed, 25 Sep 2024 11:55:48 +0000 (UTC) [thread overview]
Message-ID: <1727265343.facd8f13b66df5b00277066e556589fbe744c880.juippis@gentoo> (raw)
commit: facd8f13b66df5b00277066e556589fbe744c880
Author: gentoo-setan <gentoo-setan <AT> protonmail <DOT> com>
AuthorDate: Wed Sep 11 10:14:32 2024 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Sep 25 11:55:43 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=facd8f13
net-p2p/nicotine+: make tests work
- add broadway USE flag to test depends
- remove version check test violating network sandbox
Closes: https://bugs.gentoo.org/933741
Signed-off-by: gentoo-setan <gentoo-setan <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/38563
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
net-p2p/nicotine+/nicotine+-3.3.4.ebuild | 24 ++++++++++++++++++++++--
1 file changed, 22 insertions(+), 2 deletions(-)
diff --git a/net-p2p/nicotine+/nicotine+-3.3.4.ebuild b/net-p2p/nicotine+/nicotine+-3.3.4.ebuild
index 4cc7bccb19fe..e98e68e13b9c 100644
--- a/net-p2p/nicotine+/nicotine+-3.3.4.ebuild
+++ b/net-p2p/nicotine+/nicotine+-3.3.4.ebuild
@@ -16,18 +16,38 @@ S="${WORKDIR}/nicotine-plus-${PV}"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="amd64 ppc x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
# NOTE: good link - https://github.com/nicotine-plus/nicotine-plus/blob/master/doc/DEPENDENCIES.md
-BDEPEND="sys-devel/gettext" # TODO(setan): maybe add pycodestyle and pylint here if use test
+BDEPEND="
+ sys-devel/gettext
+ test? (
+ dev-python/pytest
+ || (
+ >=gui-libs/gtk-4.6.9[broadway]
+ >=x11-libs/gtk+-3.22.20:3[broadway]
+ )
+ )
+"
RDEPEND="
dev-python/pygobject:3[${PYTHON_USEDEP}]
- || ( >=gui-libs/gtk-4.6.9[introspection] >=x11-libs/gtk+-3.22.20:3[introspection] )
+ || (
+ >=gui-libs/gtk-4.6.9[introspection]
+ >=x11-libs/gtk+-3.22.20:3[introspection]
+ )
"
distutils_enable_tests pytest
DOCS=( AUTHORS.md NEWS.md README.md TRANSLATORS.md )
+src_prepare() {
+ default
+ # remove update check test violating network sandbox
+ sed -i -e 's:test_update_check:_&:' \
+ "${S}"/pynicotine/tests/unit/test_version.py || die
+}
pkg_postinst() {
xdg_pkg_postinst
next reply other threads:[~2024-09-25 11:55 UTC|newest]
Thread overview: 79+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-25 11:55 Joonas Niilola [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-07 21:05 [gentoo-commits] repo/gentoo:master commit in: net-p2p/nicotine+/ Sam James
2024-12-17 20:18 Joonas Niilola
2024-12-17 20:18 Joonas Niilola
2024-11-23 16:20 Michał Górny
2024-10-21 12:36 Joonas Niilola
2024-09-23 15:31 Joonas Niilola
2024-07-22 5:43 Joonas Niilola
2024-07-20 6:42 Joonas Niilola
2024-07-20 6:42 Joonas Niilola
2024-06-07 13:15 Joonas Niilola
2024-06-07 13:15 Joonas Niilola
2024-06-07 13:15 Joonas Niilola
2024-06-02 18:57 Arthur Zamarin
2024-06-02 18:57 Arthur Zamarin
2024-06-02 14:47 Sam James
2024-05-31 13:16 Joonas Niilola
2023-09-19 17:48 Arthur Zamarin
2023-08-09 18:14 Piotr Karbowski
2023-07-26 3:33 Sam James
2023-05-05 10:24 Arthur Zamarin
2023-05-02 15:21 Arthur Zamarin
2023-05-02 15:21 Arthur Zamarin
2023-03-29 20:51 Piotr Karbowski
2023-03-29 20:51 Piotr Karbowski
2023-02-21 17:13 Arthur Zamarin
2023-02-21 17:13 Arthur Zamarin
2023-02-19 11:27 Arthur Zamarin
2023-01-08 21:30 Piotr Karbowski
2022-12-09 22:15 Arthur Zamarin
2022-12-09 21:55 Arthur Zamarin
2022-10-23 14:15 Piotr Karbowski
2022-10-19 19:51 Piotr Karbowski
2022-10-19 19:51 Piotr Karbowski
2022-07-05 2:05 Sam James
2022-06-15 7:16 Agostino Sarubbo
2022-06-14 7:10 Agostino Sarubbo
2022-06-07 19:19 Piotr Karbowski
2022-06-07 6:03 Sam James
2022-06-05 7:09 Agostino Sarubbo
2022-06-05 7:06 Agostino Sarubbo
2022-06-04 19:48 Piotr Karbowski
2022-03-06 23:36 Piotr Karbowski
2022-01-21 20:17 Arthur Zamarin
2022-01-21 12:40 Sam James
2022-01-21 12:40 Sam James
2022-01-02 0:04 Sam James
2022-01-02 0:04 Sam James
2022-01-01 11:07 Sam James
2021-12-19 20:42 Piotr Karbowski
2021-12-19 20:42 Piotr Karbowski
2021-09-27 21:18 Piotr Karbowski
2021-06-08 19:16 Piotr Karbowski
2021-04-08 21:02 Piotr Karbowski
2021-03-12 15:30 Sam James
2021-03-12 15:28 Sam James
2021-03-12 15:25 Sam James
2021-03-11 20:34 Piotr Karbowski
2021-02-05 12:31 Sam James
2021-02-05 10:40 Sam James
2021-01-06 10:07 Piotr Karbowski
2020-12-18 10:14 Sergei Trofimovich
2020-12-10 22:23 Piotr Karbowski
2020-11-25 22:30 Piotr Karbowski
2020-10-07 7:09 Agostino Sarubbo
2020-10-07 6:50 Agostino Sarubbo
2020-10-07 6:42 Agostino Sarubbo
2020-10-04 18:01 Piotr Karbowski
2020-07-19 11:43 Piotr Karbowski
2020-07-19 11:27 Piotr Karbowski
2020-07-19 11:27 Piotr Karbowski
2020-07-19 11:27 Piotr Karbowski
2020-02-09 16:47 Michał Górny
2019-01-12 10:59 Pacho Ramos
2019-01-12 10:59 Pacho Ramos
2018-04-16 17:52 Jason Donenfeld
2018-03-10 12:23 Pacho Ramos
2017-01-15 11:20 Pacho Ramos
2016-09-13 1:55 Ryan Hill
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=1727265343.facd8f13b66df5b00277066e556589fbe744c880.juippis@gentoo \
--to=juippis@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