summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-09-12 06:03:47 +0000
committerMike Frysinger <vapier@gentoo.org>2012-09-12 06:03:47 +0000
commit36e05d619e937fb59a2a80995627409959b33f47 (patch)
tree43b3bd37257747c645fa26183159a2d709715cd2 /eclass
parentcall epatch_user (diff)
downloadgentoo-2-36e05d619e937fb59a2a80995627409959b33f47.tar.gz
gentoo-2-36e05d619e937fb59a2a80995627409959b33f47.tar.bz2
gentoo-2-36e05d619e937fb59a2a80995627409959b33f47.zip
drop cvs support since anoncvs.enlightenment.org no longer exists
Diffstat (limited to 'eclass')
-rw-r--r--eclass/enlightenment.eclass29
1 files changed, 9 insertions, 20 deletions
diff --git a/eclass/enlightenment.eclass b/eclass/enlightenment.eclass
index c834d1ea7453..8263ebc7f6cb 100644
--- a/eclass/enlightenment.eclass
+++ b/eclass/enlightenment.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.92 2012/09/12 05:57:40 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.93 2012/09/12 06:03:47 vapier Exp $
# @ECLASS: enlightenment.eclass
# @MAINTAINER:
@@ -32,7 +32,7 @@ inherit eutils libtool
#
# live $PV has a 9999 marker
# KEYWORDS ""
-# SRC_URI cvs/svn/etc... up
+# SRC_URI svn/etc... up
# S $WORKDIR/$E_S_APPEND
#
# Overrides:
@@ -40,30 +40,20 @@ inherit eutils libtool
# SRC_URI EURI_STATE
# S EURI_STATE
-#E_LIVE_DEFAULT_CVS="cvs.sourceforge.net:/cvsroot/enlightenment"
-E_LIVE_SERVER_DEFAULT_CVS="anoncvs.enlightenment.org:/var/cvs/e"
E_LIVE_SERVER_DEFAULT_SVN="http://svn.enlightenment.org/svn/e/trunk"
E_STATE="release"
-if [[ ${PV/9999} != ${PV} ]] ; then
+if [[ ${PV} == *9999* ]] ; then
E_LIVE_SERVER=${E_LIVE_SERVER:-${E_LIVE_SERVER_DEFAULT_SVN}}
E_STATE="live"
WANT_AUTOTOOLS="yes"
- # force people to opt-in to legacy cvs
- if [[ -n ${ECVS_MODULE} ]] ; then
- ECVS_SERVER=${ECVS_SERVER:-${E_LIVE_SERVER_DEFAULT_CVS}}
- E_LIVE_SOURCE="cvs"
- E_S_APPEND=${ECVS_MODULE}
- inherit cvs
- else
- ESVN_URI_APPEND=${ESVN_URI_APPEND:-${PN}}
- ESVN_PROJECT="enlightenment/${ESVN_SUB_PROJECT}"
- ESVN_REPO_URI=${ESVN_SERVER:-${E_LIVE_SERVER_DEFAULT_SVN}}/${ESVN_SUB_PROJECT}/${ESVN_URI_APPEND}
- E_S_APPEND=${ESVN_URI_APPEND}
- E_LIVE_SOURCE="svn"
- inherit subversion
- fi
+ ESVN_URI_APPEND=${ESVN_URI_APPEND:-${PN}}
+ ESVN_PROJECT="enlightenment/${ESVN_SUB_PROJECT}"
+ ESVN_REPO_URI=${ESVN_SERVER:-${E_LIVE_SERVER_DEFAULT_SVN}}/${ESVN_SUB_PROJECT}/${ESVN_URI_APPEND}
+ E_S_APPEND=${ESVN_URI_APPEND}
+ E_LIVE_SOURCE="svn"
+ inherit subversion
elif [[ -n ${E_SNAP_DATE} ]] ; then
E_STATE="snap"
else
@@ -122,7 +112,6 @@ esac
enlightenment_src_unpack() {
if [[ ${E_STATE} == "live" ]] ; then
case ${E_LIVE_SOURCE} in
- cvs) cvs_src_unpack;;
svn) subversion_src_unpack;;
*) die "eek!";;
esac