From: Mike Frysinger <vapier@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] unpacker.eclass and base.eclass integration
Date: Sun, 5 Feb 2012 00:21:05 -0500 [thread overview]
Message-ID: <201202050021.06607.vapier@gentoo.org> (raw)
In-Reply-To: <201202011505.41142.vapier@gentoo.org>
[-- Attachment #1: Type: Text/Plain, Size: 503 bytes --]
follow up: have base.eclass leverage unpacker.eclass when it's available
-mike
--- base.eclass 14 Dec 2011 23:38:09 -0000 1.55
+++ base.eclass 5 Feb 2012 05:19:28 -0000
@@ -59,7 +59,11 @@ base_src_unpack() {
pushd "${WORKDIR}" > /dev/null
- [[ -n "${A}" ]] && unpack ${A}
+ if [[ $(type -t unpacker_src_unpack) == "function" ]] ; then
+ unpacker_src_unpack
+ elif [[ -n ${A} ]] ; then
+ unpack ${A}
+ fi
has src_prepare ${BASE_EXPF} || base_src_prepare
popd > /dev/null
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
prev parent reply other threads:[~2012-02-05 5:21 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-01 20:05 [gentoo-dev] unpacker.eclass Mike Frysinger
2012-02-01 20:30 ` Michał Górny
2012-02-01 20:44 ` Mike Frysinger
2012-02-01 20:51 ` Michał Górny
2012-02-01 20:55 ` Mike Frysinger
2012-02-01 23:12 ` Michał Górny
2012-02-02 0:33 ` Mike Frysinger
2012-02-02 8:06 ` Michał Górny
2012-02-02 16:18 ` Mike Frysinger
2012-02-01 21:11 ` Alexandre Rostovtsev
2012-02-02 17:24 ` Mike Frysinger
2012-02-05 5:21 ` Mike Frysinger [this message]
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=201202050021.06607.vapier@gentoo.org \
--to=vapier@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