summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-02-08 20:51:35 +0000
committerMichał Górny <mgorny@gentoo.org>2013-02-08 20:51:35 +0000
commiteeda71462632178bb885bcbe64c88dd756460cf2 (patch)
tree10b7782bcaaa0fc36f37297ba572f35cdeecfcf8 /eclass/vcs-snapshot.eclass
parentUpdated metadata.xml for UTF8Strings as upstream developer wants to maintain ... (diff)
downloadgentoo-2-eeda71462632178bb885bcbe64c88dd756460cf2.tar.gz
gentoo-2-eeda71462632178bb885bcbe64c88dd756460cf2.tar.bz2
gentoo-2-eeda71462632178bb885bcbe64c88dd756460cf2.zip
Document the src_unpack() function. Requested in bug #456160.
Diffstat (limited to 'eclass/vcs-snapshot.eclass')
-rw-r--r--eclass/vcs-snapshot.eclass10
1 files changed, 8 insertions, 2 deletions
diff --git a/eclass/vcs-snapshot.eclass b/eclass/vcs-snapshot.eclass
index a1bc5e25782e..ee06bf5befe9 100644
--- a/eclass/vcs-snapshot.eclass
+++ b/eclass/vcs-snapshot.eclass
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vcs-snapshot.eclass,v 1.5 2012/09/27 16:35:42 axs Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vcs-snapshot.eclass,v 1.6 2013/02/08 20:51:35 mgorny Exp $
# @ECLASS: vcs-snapshot.eclass
# @MAINTAINER:
@@ -42,6 +42,12 @@ esac
EXPORT_FUNCTIONS src_unpack
+# @FUNCTION: vcs-snapshot_src_unpack
+# @DESCRIPTION:
+# Extract all the archives from ${A}. The .tar, .tar.gz, .tar.bz2
+# and .tar.xz archives will be unpacked to directories matching their
+# local names. Other archive types will be passed down to regular
+# unpack.
vcs-snapshot_src_unpack() {
local f