Skip to content

Commit

Permalink
eclass/enlightenment.eclass: Remove svn references
Browse files Browse the repository at this point in the history
SVN for E is long gone.
  • Loading branch information
bjacquin authored and mgorny committed Jan 27, 2018
1 parent 91953f8 commit d5feacc
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions eclass/enlightenment.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,14 @@ E_ECONF=()
#
# live $PV has a 9999 marker
# KEYWORDS ""
# SRC_URI svn/etc... up
# SRC_URI git/etc... up
# S $WORKDIR/$E_S_APPEND
#
# Overrides:
# KEYWORDS EKEY_STATE
# SRC_URI EURI_STATE
# S EURI_STATE

E_LIVE_SERVER_DEFAULT_SVN="http://svn.enlightenment.org/svn/e/trunk"
E_LIVE_SERVER_DEFAULT_GIT="https://git.enlightenment.org"

E_STATE="release"
Expand All @@ -58,15 +57,6 @@ if [[ ${PV} == *9999* ]] ; then
E_S_APPEND=${EGIT_URI_APPEND}
E_LIVE_SOURCE="git"
inherit git-2
else
E_LIVE_SERVER=${E_LIVE_SERVER:-${E_LIVE_SERVER_DEFAULT_SVN}}

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
E_STATE="live"
WANT_AUTOTOOLS="yes"
Expand Down Expand Up @@ -126,7 +116,6 @@ esac
enlightenment_src_unpack() {
if [[ ${E_STATE} == "live" ]] ; then
case ${E_LIVE_SOURCE} in
svn) subversion_src_unpack;;
git) git-2_src_unpack;;
*) die "eek!";;
esac
Expand All @@ -147,7 +136,6 @@ enlightenment_src_prepare() {
# autotools require README, when README.in is around, but README
# is created later in configure step
[[ -f README.in ]] && touch README
export SVN_REPO_PATH=${ESVN_WC_PATH}
eautoreconf
fi
epunt_cxx
Expand Down Expand Up @@ -178,7 +166,7 @@ enlightenment_src_compile() {

enlightenment_src_install() {
V=1 emake install DESTDIR="${D}" || die
find "${D}" '(' -name CVS -o -name .svn -o -name .git ')' -type d -exec rm -rf '{}' \; 2>/dev/null
find "${D}" '(' -name CVS -o -name -o -name .git ')' -type d -exec rm -rf '{}' \; 2>/dev/null
for d in AUTHORS ChangeLog NEWS README TODO ${EDOCS}; do
[[ -f ${d} ]] && dodoc ${d}
done
Expand Down

0 comments on commit d5feacc

Please sign in to comment.