From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/yadm/
Date: Thu, 1 Apr 2021 21:17:27 +0000 (UTC) [thread overview]
Message-ID: <1617311822.a6503185001adad02f1adea45f4f021f8c4ac452.sam@gentoo> (raw)
commit: a6503185001adad02f1adea45f4f021f8c4ac452
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 1 01:57:29 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 1 21:17:02 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6503185
app-admin/yadm: use python-any-r1 API for tests
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-admin/yadm/yadm-2.4.0.ebuild | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/app-admin/yadm/yadm-2.4.0.ebuild b/app-admin/yadm/yadm-2.4.0.ebuild
index 10da88e012a..b056f1e5a96 100644
--- a/app-admin/yadm/yadm-2.4.0.ebuild
+++ b/app-admin/yadm/yadm-2.4.0.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit bash-completion-r1
+PYTHON_COMPAT=( python3_{7,8,9} )
+inherit bash-completion-r1 python-any-r1
DESCRIPTION="A dotfile manager for the config files in your home folder"
HOMEPAGE="https://github.com/TheLocehiliosan/yadm/"
@@ -21,13 +22,23 @@ RDEPEND="
dev-vcs/git
"
-DEPEND="
- test? ( ${RDEPEND}
+BDEPEND="
+ test? (
+ ${RDEPEND}
+ ${PYTHON_DEPS}
dev-python/pytest
dev-tcltk/expect
)
"
+python_check_deps() {
+ has_version -b "dev-python/pytest[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+ use test && python-any-r1_pkg_setup
+}
+
src_compile() {
emake "${PN}.md"
}
next reply other threads:[~2021-04-01 21:17 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-01 21:17 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-19 9:15 [gentoo-commits] repo/gentoo:master commit in: app-admin/yadm/ Pacho Ramos
2023-04-06 8:34 Arthur Zamarin
2023-04-06 8:33 Arthur Zamarin
2023-04-06 8:20 Arthur Zamarin
2023-02-28 13:58 Joonas Niilola
2023-02-28 13:58 Joonas Niilola
2023-01-19 7:16 Joonas Niilola
2022-12-25 22:06 David Seifert
2022-03-21 19:55 Arthur Zamarin
2022-01-13 2:27 Georgy Yakovlev
2021-11-26 10:20 Marek Szuba
2020-03-31 8:39 Joonas Niilola
2020-03-28 0:33 Georgy Yakovlev
2020-03-28 0:33 Georgy Yakovlev
2017-12-31 20:46 Patrice Clement
2017-08-09 11:02 Michael Palimaka
2017-08-08 11:03 Amy Liffey
2017-02-18 1:44 Michael Palimaka
2017-02-17 12:07 Michael Palimaka
2017-01-21 23:01 Patrice Clement
2017-01-21 21:19 Patrice Clement
2016-09-27 20:21 Patrice Clement
2016-04-30 14:34 Sam Jorna
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=1617311822.a6503185001adad02f1adea45f4f021f8c4ac452.sam@gentoo \
--to=sam@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