summaryrefslogtreecommitdiff
path: root/eclass
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
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')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/vcs-snapshot.eclass10
2 files changed, 12 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 7867e1d27bc3..d9b560902175 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.665 2013/02/08 13:43:19 kensington Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.666 2013/02/08 20:51:35 mgorny Exp $
+
+ 08 Feb 2013; Michał Górny <mgorny@gentoo.org> vcs-snapshot.eclass:
+ Document the src_unpack() function. Requested in bug #456160.
08 Feb 2013; Michael Palimaka <kensington@gentoo.org> cmake-utils.eclass:
Bump CMake minimum version to latest stable.
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