/[gentoo-x86]/eclass/vcs-snapshot.eclass
Gentoo

Diff of /eclass/vcs-snapshot.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/vcs-snapshot.eclass,v 1.1 2012/03/19 08:38:45 mgorny Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/vcs-snapshot.eclass,v 1.2 2012/03/19 08:52:49 mgorny Exp $
4 4
5# @ECLASS: vcs-snapshot.eclass 5# @ECLASS: vcs-snapshot.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# mgorny@gentoo.org 7# mgorny@gentoo.org
8# @BLURB: support eclass for VCS (github, bitbucket, gitweb) snapshots 8# @BLURB: support eclass for VCS (github, bitbucket, gitweb) snapshots
29# @CODE 29# @CODE
30 30
31case ${EAPI:-0} in 31case ${EAPI:-0} in
32 0|1) die "EAPI ${EAPI} unsupported.";; # default(), SRC_URI arrows 32 0|1) die "EAPI ${EAPI} unsupported.";; # default(), SRC_URI arrows
33 2|3|4) ;; 33 2|3|4) ;;
34 *) die "github-snapshot.eclass API in EAPI ${EAPI} not yet established." 34 *) die "vcs-snapshot.eclass API in EAPI ${EAPI} not yet established."
35esac 35esac
36 36
37EXPORT_FUNCTIONS src_unpack 37EXPORT_FUNCTIONS src_unpack
38 38
39vcs-snapshot_src_unpack() { 39vcs-snapshot_src_unpack() {

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20