From: Francesco Riosa <vivo75@gmail.com>
To: gentoo development <gentoo-dev@lists.gentoo.org>
Subject: [gentoo-dev] python-any-r1 deps used only for testing
Date: Wed, 28 Feb 2018 23:03:50 +0100 [thread overview]
Message-ID: <c8cca730-9482-90ee-ce1e-11722bafa970@gmail.com> (raw)
hi,
sys-devel/automake would to depend on python:2.7 if and only if
"test" are enabled.
For the tast it inherit python-any-r1 eclass than depend conditionally
with test? ( ${PYTHON_DEPS} )"
Additionally the ebuild call python_setup() in src_test()
However this does not work, because eclass python-any-r1_pkg_setup()
call python_setup() itself and automake ebuild does NOT define it's own
pkg_setup() (thus python-any-r1 pkg setup is used).
Result is that with no python:2.7 installed ebuild will fail, always
both with test enabled or disabled.
I've realized all this after bug https://bugs.gentoo.org/648940 was
closed, that discussion didn't go very well, so I'd like to ask before
opening a different bug
It's correct to ask the maintainer to define pkg_setup() in automake ebuild?
if so should it be empty like:
pkg_setup() { : }
or it should contain default like
pkg_setup() { default }
or another solution is preferred?
Thanks in advance,
Francesco (vivo)
next reply other threads:[~2018-02-28 22:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-28 22:03 Francesco Riosa [this message]
2018-03-01 1:06 ` [gentoo-dev] python-any-r1 deps used only for testing Thomas Deutschmann
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=c8cca730-9482-90ee-ce1e-11722bafa970@gmail.com \
--to=vivo75@gmail.com \
--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