From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/poezio/
Date: Sat, 18 Apr 2020 09:39:26 +0000 (UTC) [thread overview]
Message-ID: <1587202748.a3cc7df7f919becfaf08ce68a93712fbffbd0b6d.mgorny@gentoo> (raw)
commit: a3cc7df7f919becfaf08ce68a93712fbffbd0b6d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 18 09:32:46 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Apr 18 09:39:08 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3cc7df7
net-im/poezio: Fix running tests, use correct deps
Upstream uses pytest in tests, so we need to depend on it. Using pytest
also avoids failures due to missing optional runtime deps that are not
used in tests at all.
Closes: https://bugs.gentoo.org/717884
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
net-im/poezio/poezio-0.12.ebuild | 14 ++------------
net-im/poezio/poezio-9999.ebuild | 14 ++------------
2 files changed, 4 insertions(+), 24 deletions(-)
diff --git a/net-im/poezio/poezio-0.12.ebuild b/net-im/poezio/poezio-0.12.ebuild
index d4124188559..435612e4aec 100644
--- a/net-im/poezio/poezio-0.12.ebuild
+++ b/net-im/poezio/poezio-0.12.ebuild
@@ -10,8 +10,6 @@ DESCRIPTION="Console XMPP client that looks like most famous IRC clients"
HOMEPAGE="https://poez.io/"
LICENSE="ZLIB"
SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://git.poez.io/${PN}.git"
@@ -27,12 +25,8 @@ RDEPEND="
dev-python/pyasn1[${PYTHON_USEDEP}]
dev-python/slixmpp[${PYTHON_USEDEP}]
"
-DEPEND="
- test? (
- ${RDEPEND}
- dev-python/potr
- dev-python/pyinotify
- )"
+
+distutils_enable_tests pytest
DOC_CONTENTS="
Install these optional runtime dependencies for additional features.
@@ -55,7 +49,3 @@ src_install() {
pkg_postinst() {
readme.gentoo_print_elog
}
-
-python_test() {
- esetup.py test
-}
diff --git a/net-im/poezio/poezio-9999.ebuild b/net-im/poezio/poezio-9999.ebuild
index 14be76f1d81..2946371c46b 100644
--- a/net-im/poezio/poezio-9999.ebuild
+++ b/net-im/poezio/poezio-9999.ebuild
@@ -10,8 +10,6 @@ DESCRIPTION="Console XMPP client that looks like most famous IRC clients"
HOMEPAGE="https://poez.io/"
LICENSE="ZLIB"
SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://lab.louiz.org/${PN}/${PN}.git"
@@ -27,12 +25,8 @@ RDEPEND="
dev-python/pyasn1[${PYTHON_USEDEP}]
dev-python/slixmpp[${PYTHON_USEDEP}]
"
-DEPEND="
- test? (
- ${RDEPEND}
- dev-python/potr
- dev-python/pyinotify
- )"
+
+distutils_enable_tests pytest
DOC_CONTENTS="
Install these optional runtime dependencies for additional features.
@@ -55,7 +49,3 @@ src_install() {
pkg_postinst() {
readme.gentoo_print_elog
}
-
-python_test() {
- esetup.py test
-}
next reply other threads:[~2020-04-18 9:39 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-18 9:39 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-03 18:09 [gentoo-commits] repo/gentoo:master commit in: net-im/poezio/ Florian Schmaus
2023-12-11 12:05 Florian Schmaus
2023-10-14 12:57 Florian Schmaus
2023-03-16 18:52 Michał Górny
2023-03-16 18:52 Michał Górny
2023-02-26 14:25 Florian Schmaus
2022-05-16 10:13 Florian Schmaus
2022-05-16 10:13 Florian Schmaus
2022-04-13 14:46 Sam James
2022-04-11 8:57 Florian Schmaus
2021-08-17 9:16 Florian Schmaus
2021-08-17 9:16 Florian Schmaus
2021-07-13 0:39 Sam James
2021-07-12 14:20 Florian Schmaus
2021-07-12 14:09 Florian Schmaus
2021-07-12 11:40 Florian Schmaus
2021-06-24 8:39 Florian Schmaus
2021-01-03 9:12 Sam James
2021-01-01 1:34 Michał Górny
2020-11-09 12:27 Andrey Utkin
2020-11-09 12:27 Andrey Utkin
2020-09-01 20:17 Andrey Utkin
2020-09-01 20:17 Andrey Utkin
2019-09-02 17:17 Andrey Utkin
2019-01-24 19:54 Andrey Utkin
2018-08-18 19:54 Andrey Utkin
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=1587202748.a3cc7df7f919becfaf08ce68a93712fbffbd0b6d.mgorny@gentoo \
--to=mgorny@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