From: Andrew Savchenko <bircoph@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] [PATCH] subversion.eclass: support for EAPI 6
Date: Fri, 29 Jul 2016 18:31:58 +0300 [thread overview]
Message-ID: <20160729183158.254fcaefbe2485ad8ad5e3d8@gentoo.org> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 258 bytes --]
Hello,
subversion eclass can't be used in EAPI 6 ebuilds, since it lacks
eapply_user call in src_prepare(), otherwise it looks fine for
EAPI 6 and works here fine.
This patch adds eapply_user for EAPI 6 and later.
Best regards,
Andrew Savchenko
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: subversion.eclass.patch --]
[-- Type: text/x-diff; name="subversion.eclass.patch", Size: 451 bytes --]
diff --git a/eclass/subversion.eclass b/eclass/subversion.eclass
index c45c725..49040a4 100644
--- a/eclass/subversion.eclass
+++ b/eclass/subversion.eclass
@@ -434,6 +434,7 @@ subversion_src_unpack() {
# Default src_prepare. Bootstrap.
subversion_src_prepare() {
subversion_bootstrap || die "${ESVN}: unknown problem occurred in subversion_bootstrap."
+ [[ ${EAPI:-0} -ge 6 ]] && eapply_user
}
# @FUNCTION: subversion_pkg_preinst
[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]
next reply other threads:[~2016-07-29 15:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-29 15:31 Andrew Savchenko [this message]
2016-07-29 15:42 ` [gentoo-dev] [PATCH] subversion.eclass: support for EAPI 6 Michał Górny
2016-07-29 19:36 ` Andrew Savchenko
2016-07-30 5:37 ` Michał Górny
2016-07-30 9:34 ` Andrew Savchenko
2016-08-06 14:05 ` Andrew Savchenko
2016-08-20 16:42 ` Raymond Jennings
2016-08-22 13:26 ` Andrew Savchenko
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=20160729183158.254fcaefbe2485ad8ad5e3d8@gentoo.org \
--to=bircoph@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