* [gentoo-commits] gentoo-x86 commit in eclass: enlightenment.eclass
@ 2008-09-20 20:35 Mike Frysinger (vapier)
0 siblings, 0 replies; 24+ messages in thread
From: Mike Frysinger (vapier) @ 2008-09-20 20:35 UTC (permalink / raw
To: gentoo-commits
vapier 08/09/20 20:35:01
Modified: enlightenment.eclass
Log:
add support for svn #237852 by Thomas 'gimpel' Kuther and Night Nord
Revision Changes Path
1.73 eclass/enlightenment.eclass
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?rev=1.73&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?rev=1.73&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?r1=1.72&r2=1.73
Index: enlightenment.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -r1.72 -r1.73
--- enlightenment.eclass 20 Apr 2007 04:30:18 -0000 1.72
+++ enlightenment.eclass 20 Sep 2008 20:35:00 -0000 1.73
@@ -1,12 +1,12 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.72 2007/04/20 04:30:18 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.73 2008/09/20 20:35:00 vapier Exp $
#
# Author: vapier@gentoo.org
inherit eutils libtool
-# ECVS_STATE's:
+# E_STATE's:
# release [default]
# KEYWORDS arch
# SRC_URI $P.tar.gz
@@ -19,46 +19,53 @@
#
# live $PV has a 9999 marker
# KEYWORDS ""
-# SRC_URI `cvs up`
-# S $WORKDIR/$ECVS_MODULE
+# SRC_URI cvs/svn/etc... up
+# S $WORKDIR/$E_S_APPEND
#
# Overrides:
# KEYWORDS EKEY_STATE
# SRC_URI EURI_STATE
# S EURI_STATE
-#E17_DEFAULT_CVS="cvs.sourceforge.net:/cvsroot/enlightenment"
-E17_DEFAULT_CVS="anoncvs.enlightenment.org:/var/cvs/e"
+#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"
-ECVS_STATE="release"
+E_STATE="release"
if [[ ${PV/9999} != ${PV} ]] ; then
- if [[ -z ${ECVS_MODULE} ]] ; then
- ECVS_MODULE=${PN}
- if [[ ${CATEGORY/libs} != ${CATEGORY} ]] ; then
- ECVS_MODULE="e17/libs/${PN}"
- else
- ECVS_MODULE="e17/apps/${PN}"
- fi
- fi
- ECVS_SERVER=${E17_ECVS_SERVER:-${ECVS_SERVER:-${E17_DEFAULT_CVS}}}
- ECVS_STATE="live"
+ E_LIVE_SERVER=${E_LIVE_SERVER:-${E_LIVE_SERVER_DEFAULT_SVN}}
+ E_STATE="live"
WANT_AUTOTOOLS="yes"
- inherit cvs
+
+ # 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_REPO_URI=${ESVN_SERVER:-${E_LIVE_SERVER_DEFAULT_SVN}}/${ESVN_URI_APPEND}
+ E_S_APPEND=${ESVN_URI_APPEND}
+ E_LIVE_SOURCE="svn"
+ inherit subversion
+ fi
elif [[ ${PV/.200[3-9][0-1][0-9][0-3][0-9]/} != ${PV} ]] ; then
- ECVS_STATE="snap"
+ E_STATE="snap"
elif [[ ${PV%%.[0-9][0-9][0-9]} != ${PV} ]] ; then
- ECVS_STATE="snap"
+ E_STATE="snap"
EURI_STATE="release"
fi
if [[ ${WANT_AUTOTOOLS} == "yes" ]] ; then
- WANT_AUTOCONF=${E17_WANT_AUTOCONF:-latest}
- WANT_AUTOMAKE=${E17_WANT_AUTOMAKE:-latest}
+ WANT_AUTOCONF=${E_WANT_AUTOCONF:-latest}
+ WANT_AUTOMAKE=${E_WANT_AUTOMAKE:-latest}
inherit autotools
fi
DESCRIPTION="A DR17 production"
HOMEPAGE="http://www.enlightenment.org/"
-case ${EURI_STATE:-${ECVS_STATE}} in
+case ${EURI_STATE:-${E_STATE}} in
release) SRC_URI="http://enlightenment.freedesktop.org/files/${P}.tar.gz mirror://sourceforge/enlightenment/${P}.tar.gz";;
snap) SRC_URI="mirror://gentoo/${P}.tar.bz2";;
live) SRC_URI="";;
@@ -66,7 +73,7 @@
LICENSE="BSD"
SLOT="0"
-case ${EKEY_STATE:-${ECVS_STATE}} in
+case ${EKEY_STATE:-${E_STATE}} in
release) KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sh sparc x86 ~x86-fbsd";;
snap) KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd";;
live) KEYWORDS="";;
@@ -76,23 +83,23 @@
DEPEND="doc? ( app-doc/doxygen )"
RDEPEND="nls? ( sys-devel/gettext )"
-case ${EURI_STATE:-${ECVS_STATE}} in
+case ${EURI_STATE:-${E_STATE}} in
release) S=${WORKDIR}/${P};;
snap) S=${WORKDIR}/${PN};;
- live) S=${WORKDIR}/${ECVS_MODULE};;
+ live) S=${WORKDIR}/${E_S_APPEND};;
esac
enlightenment_warning_msg() {
- if [[ -n ${E17_ECVS_SERVER} ]] ; then
- einfo "Using user cvs server: ${E17_ECVS_SERVER}"
+ if [[ -n ${E_LIVE_SERVER} ]] ; then
+ einfo "Using user server for live sources: ${E_LIVE_SERVER}"
fi
- if [[ ${ECVS_STATE} == "snap" ]] ; then
+ if [[ ${E_STATE} == "snap" ]] ; then
ewarn "Please do not contact the E team about bugs in Gentoo."
ewarn "Only contact vapier@gentoo.org via e-mail or bugzilla."
- ewarn "Remember, this stuff is CVS only code so dont cry when"
+ ewarn "Remember, this stuff is DEV only code so dont cry when"
ewarn "I break you :)."
- elif [[ ${ECVS_STATE} == "live" ]] ; then
- eerror "This is a LIVE CVS ebuild."
+ elif [[ ${E_STATE} == "live" ]] ; then
+ eerror "This is a LIVE SOURCES ebuild."
eerror "That means there are NO promises it will work."
eerror "If it fails to build, FIX THE CODE YOURSELF"
eerror "before reporting any issues."
@@ -118,8 +125,12 @@
}
enlightenment_src_unpack() {
- if [[ ${ECVS_STATE} == "live" ]] ; then
- cvs_src_unpack
+ if [[ ${E_STATE} == "live" ]] ; then
+ case ${E_LIVE_SOURCE} in
+ cvs) cvs_src_unpack;;
+ svn) subversion_src_unpack;;
+ *) die "eek!";;
+ esac
else
unpack ${A}
fi
@@ -157,7 +168,7 @@
enlightenment_src_install() {
emake install DESTDIR="${D}" || enlightenment_die
- find "${D}" -name CVS -type d -exec rm -rf '{}' \; 2>/dev/null
+ find "${D}" '(' -name CVS -o -name .svn -o -name .git ')' -type d -exec rm -rf '{}' \; 2>/dev/null
dodoc AUTHORS ChangeLog NEWS README TODO ${EDOCS}
use doc && [[ -d doc ]] && dohtml -r doc/*
}
^ permalink raw reply [flat|nested] 24+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: enlightenment.eclass
@ 2008-11-30 3:18 Mike Frysinger (vapier)
0 siblings, 0 replies; 24+ messages in thread
From: Mike Frysinger (vapier) @ 2008-11-30 3:18 UTC (permalink / raw
To: gentoo-commits
vapier 08/11/30 03:18:30
Modified: enlightenment.eclass
Log:
pull in dev-util/cvs for live ebuilds as gettext (autopoint) needs it #245073 by Thomas Kuther
Revision Changes Path
1.74 eclass/enlightenment.eclass
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?rev=1.74&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?rev=1.74&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?r1=1.73&r2=1.74
Index: enlightenment.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -r1.73 -r1.74
--- enlightenment.eclass 20 Sep 2008 20:35:00 -0000 1.73
+++ enlightenment.eclass 30 Nov 2008 03:18:30 -0000 1.74
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.73 2008/09/20 20:35:00 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.74 2008/11/30 03:18:30 vapier Exp $
#
# Author: vapier@gentoo.org
@@ -83,6 +83,9 @@
DEPEND="doc? ( app-doc/doxygen )"
RDEPEND="nls? ( sys-devel/gettext )"
+# gettext (via `autopoint`) needs to run cvs #245073
+[[ ${E_STATE} == "live" ]] && DEPEND="${DEPEND} dev-util/cvs"
+
case ${EURI_STATE:-${E_STATE}} in
release) S=${WORKDIR}/${P};;
snap) S=${WORKDIR}/${PN};;
^ permalink raw reply [flat|nested] 24+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: enlightenment.eclass
@ 2008-11-30 8:33 Mike Frysinger (vapier)
0 siblings, 0 replies; 24+ messages in thread
From: Mike Frysinger (vapier) @ 2008-11-30 8:33 UTC (permalink / raw
To: gentoo-commits
vapier 08/11/30 08:33:52
Modified: enlightenment.eclass
Log:
snap state now tracks upstream snaps rather than gentoo snaps
Revision Changes Path
1.75 eclass/enlightenment.eclass
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?rev=1.75&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?rev=1.75&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?r1=1.74&r2=1.75
Index: enlightenment.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -r1.74 -r1.75
--- enlightenment.eclass 30 Nov 2008 03:18:30 -0000 1.74
+++ enlightenment.eclass 30 Nov 2008 08:33:51 -0000 1.75
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.74 2008/11/30 03:18:30 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.75 2008/11/30 08:33:51 vapier Exp $
#
# Author: vapier@gentoo.org
@@ -51,11 +51,10 @@
E_LIVE_SOURCE="svn"
inherit subversion
fi
-elif [[ ${PV/.200[3-9][0-1][0-9][0-3][0-9]/} != ${PV} ]] ; then
+elif [[ -n ${E_SNAP_DATE} ]] ; then
E_STATE="snap"
-elif [[ ${PV%%.[0-9][0-9][0-9]} != ${PV} ]] ; then
- E_STATE="snap"
- EURI_STATE="release"
+else
+ E_STATE="release"
fi
if [[ ${WANT_AUTOTOOLS} == "yes" ]] ; then
WANT_AUTOCONF=${E_WANT_AUTOCONF:-latest}
@@ -66,8 +65,8 @@
DESCRIPTION="A DR17 production"
HOMEPAGE="http://www.enlightenment.org/"
case ${EURI_STATE:-${E_STATE}} in
- release) SRC_URI="http://enlightenment.freedesktop.org/files/${P}.tar.gz mirror://sourceforge/enlightenment/${P}.tar.gz";;
- snap) SRC_URI="mirror://gentoo/${P}.tar.bz2";;
+ release) SRC_URI="mirror://sourceforge/enlightenment/${P}.tar.gz";;
+ snap) SRC_URI="http://download.enlightenment.org/snapshots/${E_SNAP_DATE}/${P}.tar.bz2";;
live) SRC_URI="";;
esac
@@ -88,7 +87,7 @@
case ${EURI_STATE:-${E_STATE}} in
release) S=${WORKDIR}/${P};;
- snap) S=${WORKDIR}/${PN};;
+ snap) S=${WORKDIR}/${P};;
live) S=${WORKDIR}/${E_S_APPEND};;
esac
^ permalink raw reply [flat|nested] 24+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: enlightenment.eclass
@ 2008-11-30 9:05 Mike Frysinger (vapier)
0 siblings, 0 replies; 24+ messages in thread
From: Mike Frysinger (vapier) @ 2008-11-30 9:05 UTC (permalink / raw
To: gentoo-commits
vapier 08/11/30 09:05:51
Modified: enlightenment.eclass
Log:
declare ESVN_SUB_PROJECT so the checkout in $DISTDIR matches upstream
Revision Changes Path
1.76 eclass/enlightenment.eclass
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?rev=1.76&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?rev=1.76&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?r1=1.75&r2=1.76
Index: enlightenment.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -r1.75 -r1.76
--- enlightenment.eclass 30 Nov 2008 08:33:51 -0000 1.75
+++ enlightenment.eclass 30 Nov 2008 09:05:51 -0000 1.76
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.75 2008/11/30 08:33:51 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.76 2008/11/30 09:05:51 vapier Exp $
#
# Author: vapier@gentoo.org
@@ -45,8 +45,8 @@
inherit cvs
else
ESVN_URI_APPEND=${ESVN_URI_APPEND:-${PN}}
- ESVN_PROJECT="enlightenment"
- ESVN_REPO_URI=${ESVN_SERVER:-${E_LIVE_SERVER_DEFAULT_SVN}}/${ESVN_URI_APPEND}
+ 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
^ permalink raw reply [flat|nested] 24+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: enlightenment.eclass
@ 2008-12-07 15:58 Peter Volkov (pva)
0 siblings, 0 replies; 24+ messages in thread
From: Peter Volkov (pva) @ 2008-12-07 15:58 UTC (permalink / raw
To: gentoo-commits
pva 08/12/07 15:58:03
Modified: enlightenment.eclass
Log:
Updated mail for bug reports from vapier@g.o to e17@g.o.
Revision Changes Path
1.77 eclass/enlightenment.eclass
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?rev=1.77&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?rev=1.77&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?r1=1.76&r2=1.77
Index: enlightenment.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -r1.76 -r1.77
--- enlightenment.eclass 30 Nov 2008 09:05:51 -0000 1.76
+++ enlightenment.eclass 7 Dec 2008 15:58:03 -0000 1.77
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.76 2008/11/30 09:05:51 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.77 2008/12/07 15:58:03 pva Exp $
#
# Author: vapier@gentoo.org
@@ -97,7 +97,7 @@
fi
if [[ ${E_STATE} == "snap" ]] ; then
ewarn "Please do not contact the E team about bugs in Gentoo."
- ewarn "Only contact vapier@gentoo.org via e-mail or bugzilla."
+ ewarn "Only contact e17@gentoo.org via e-mail or bugzilla."
ewarn "Remember, this stuff is DEV only code so dont cry when"
ewarn "I break you :)."
elif [[ ${E_STATE} == "live" ]] ; then
@@ -110,7 +110,7 @@
enlightenment_die() {
enlightenment_warning_msg
- die "$@"$'\n'"!!! SEND BUG REPORTS TO vapier@gentoo.org NOT THE E TEAM"
+ die "$@"$'\n'"!!! SEND BUG REPORTS TO e17@gentoo.org NOT THE E TEAM"
}
enlightenment_pkg_setup() {
^ permalink raw reply [flat|nested] 24+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: enlightenment.eclass
@ 2008-12-08 11:55 Peter Volkov (pva)
0 siblings, 0 replies; 24+ messages in thread
From: Peter Volkov (pva) @ 2008-12-08 11:55 UTC (permalink / raw
To: gentoo-commits
pva 08/12/08 11:55:31
Modified: enlightenment.eclass
Log:
After dicussion with vapier, updated e17 alias to enlightenment@g.o.
Revision Changes Path
1.78 eclass/enlightenment.eclass
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?rev=1.78&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?rev=1.78&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?r1=1.77&r2=1.78
Index: enlightenment.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -r1.77 -r1.78
--- enlightenment.eclass 7 Dec 2008 15:58:03 -0000 1.77
+++ enlightenment.eclass 8 Dec 2008 11:55:31 -0000 1.78
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.77 2008/12/07 15:58:03 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.78 2008/12/08 11:55:31 pva Exp $
#
# Author: vapier@gentoo.org
@@ -97,7 +97,7 @@
fi
if [[ ${E_STATE} == "snap" ]] ; then
ewarn "Please do not contact the E team about bugs in Gentoo."
- ewarn "Only contact e17@gentoo.org via e-mail or bugzilla."
+ ewarn "Only contact enlightenment@gentoo.org via e-mail or bugzilla."
ewarn "Remember, this stuff is DEV only code so dont cry when"
ewarn "I break you :)."
elif [[ ${E_STATE} == "live" ]] ; then
@@ -110,7 +110,7 @@
enlightenment_die() {
enlightenment_warning_msg
- die "$@"$'\n'"!!! SEND BUG REPORTS TO e17@gentoo.org NOT THE E TEAM"
+ die "$@"$'\n'"!!! SEND BUG REPORTS TO enlightenment@gentoo.org NOT THE E TEAM"
}
enlightenment_pkg_setup() {
^ permalink raw reply [flat|nested] 24+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: enlightenment.eclass
@ 2009-02-03 9:05 Peter Volkov (pva)
0 siblings, 0 replies; 24+ messages in thread
From: Peter Volkov (pva) @ 2009-02-03 9:05 UTC (permalink / raw
To: gentoo-commits
pva 09/02/03 09:05:27
Modified: enlightenment.eclass
Log:
do dodoc only if file exists
Revision Changes Path
1.79 eclass/enlightenment.eclass
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?rev=1.79&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?rev=1.79&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?r1=1.78&r2=1.79
Index: enlightenment.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -r1.78 -r1.79
--- enlightenment.eclass 8 Dec 2008 11:55:31 -0000 1.78
+++ enlightenment.eclass 3 Feb 2009 09:05:27 -0000 1.79
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.78 2008/12/08 11:55:31 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.79 2009/02/03 09:05:27 pva Exp $
#
# Author: vapier@gentoo.org
@@ -171,7 +171,9 @@
enlightenment_src_install() {
emake install DESTDIR="${D}" || enlightenment_die
find "${D}" '(' -name CVS -o -name .svn -o -name .git ')' -type d -exec rm -rf '{}' \; 2>/dev/null
- dodoc AUTHORS ChangeLog NEWS README TODO ${EDOCS}
+ for d in AUTHORS ChangeLog NEWS README TODO ${EDOCS}; do
+ [[ -f ${d} ]] && dodoc ${d}
+ done
use doc && [[ -d doc ]] && dohtml -r doc/*
}
^ permalink raw reply [flat|nested] 24+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: enlightenment.eclass
@ 2009-03-07 22:28 Mike Frysinger (vapier)
0 siblings, 0 replies; 24+ messages in thread
From: Mike Frysinger (vapier) @ 2009-03-07 22:28 UTC (permalink / raw
To: gentoo-commits
vapier 09/03/07 22:28:16
Modified: enlightenment.eclass
Log:
people rarely complain when a build works, so stop dumping warning messages during the normal build process
Revision Changes Path
1.80 eclass/enlightenment.eclass
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?rev=1.80&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?rev=1.80&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?r1=1.79&r2=1.80
Index: enlightenment.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- enlightenment.eclass 3 Feb 2009 09:05:27 -0000 1.79
+++ enlightenment.eclass 7 Mar 2009 22:28:16 -0000 1.80
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.79 2009/02/03 09:05:27 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.80 2009/03/07 22:28:16 vapier Exp $
#
# Author: vapier@gentoo.org
@@ -114,7 +114,7 @@
}
enlightenment_pkg_setup() {
- enlightenment_warning_msg
+ : enlightenment_warning_msg
}
# the stupid gettextize script prevents non-interactive mode, so we hax it
@@ -178,7 +178,7 @@
}
enlightenment_pkg_postinst() {
- enlightenment_warning_msg
+ : enlightenment_warning_msg
}
EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_postinst
^ permalink raw reply [flat|nested] 24+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: enlightenment.eclass
@ 2010-02-28 10:52 Thomas Sachau (tommy)
0 siblings, 0 replies; 24+ messages in thread
From: Thomas Sachau (tommy) @ 2010-02-28 10:52 UTC (permalink / raw
To: gentoo-commits
tommy 10/02/28 10:52:07
Modified: enlightenment.eclass
Log:
Update enlightenment eclass as discussed on enlightenment alias
Revision Changes Path
1.81 eclass/enlightenment.eclass
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?rev=1.81&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?rev=1.81&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?r1=1.80&r2=1.81
Index: enlightenment.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -r1.80 -r1.81
--- enlightenment.eclass 7 Mar 2009 22:28:16 -0000 1.80
+++ enlightenment.eclass 28 Feb 2010 10:52:06 -0000 1.81
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.80 2009/03/07 22:28:16 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.81 2010/02/28 10:52:06 tommy Exp $
#
# Author: vapier@gentoo.org
@@ -62,6 +62,13 @@
inherit autotools
fi
+ENLIGHTENMENT_EXPF="pkg_setup src_unpack src_compile src_install pkg_postinst"
+case "${EAPI:-0}" in
+ 2|3|4) ENLIGHTENMENT_EXPF+=" src_prepare src_configure" ;;
+ *) ;;
+esac
+EXPORT_FUNCTIONS ${ENLIGHTENMENT_EXPF}
+
DESCRIPTION="A DR17 production"
HOMEPAGE="http://www.enlightenment.org/"
case ${EURI_STATE:-${E_STATE}} in
@@ -117,15 +124,6 @@
: enlightenment_warning_msg
}
-# the stupid gettextize script prevents non-interactive mode, so we hax it
-gettext_modify() {
- use nls || return 0
- cp $(type -P gettextize) "${T}"/ || die "could not copy gettextize"
- sed -i \
- -e 's:read dummy < /dev/tty::' \
- "${T}"/gettextize
-}
-
enlightenment_src_unpack() {
if [[ ${E_STATE} == "live" ]] ; then
case ${E_LIVE_SOURCE} in
@@ -136,34 +134,31 @@
else
unpack ${A}
fi
- gettext_modify
- [[ -s gendoc ]] && chmod a+rx gendoc
+ hasq src_prepare ${ENLIGHTENMENT_EXPF} || enlightenment_src_prepare
}
-enlightenment_src_compile() {
- # gstreamer sucks, work around it doing stupid stuff
- export GST_REGISTRY="${S}/registry.xml"
-
- if [[ ! -e configure ]] ; then
- env \
- PATH="${T}:${PATH}" \
- NOCONFIGURE=yes \
- USER=blah \
- ./autogen.sh \
- || enlightenment_die "autogen failed"
- # symlinked files will cause sandbox violation
- local x
- for x in config.{guess,sub} ; do
- [[ ! -L ${x} ]] && continue
- rm -f ${x}
- touch ${x}
- done
- elif [[ ${WANT_AUTOTOOLS} == "yes" ]] ; then
+enlightenment_src_prepare() {
+ [[ -s gendoc ]] && chmod a+rx gendoc
+ if [[ ${WANT_AUTOTOOLS} == "yes" ]] ; then
+ [[ -d po ]] && eautopoint -f
+ # autotools require README, when README.in is around, but README
+ # is created later in configure step
+ [[ -f README.in ]] && touch README
eautoreconf
fi
epunt_cxx
elibtoolize
- econf ${MY_ECONF} || enlightenment_die "econf failed"
+}
+
+enlightenment_src_configure() {
+ # gstreamer sucks, work around it doing stupid stuff
+ export GST_REGISTRY="${S}/registry.xml"
+
+ econf ${MY_ECONF}
+}
+
+enlightenment_src_compile() {
+ hasq src_configure ${ENLIGHTENMENT_EXPF} || enlightenment_src_configure
emake || enlightenment_die "emake failed"
use doc && [[ -x ./gendoc ]] && { ./gendoc || enlightenment_die "gendoc failed" ; }
}
@@ -181,4 +176,3 @@
: enlightenment_warning_msg
}
-EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_postinst
^ permalink raw reply [flat|nested] 24+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: enlightenment.eclass
@ 2010-03-23 19:41 Jonathan Callen (abcd)
0 siblings, 0 replies; 24+ messages in thread
From: Jonathan Callen (abcd) @ 2010-03-23 19:41 UTC (permalink / raw
To: gentoo-commits
abcd 10/03/23 19:41:54
Modified: enlightenment.eclass
Log:
Add prefix keywords for enlightenment
Revision Changes Path
1.82 eclass/enlightenment.eclass
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?rev=1.82&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?rev=1.82&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/enlightenment.eclass?r1=1.81&r2=1.82
Index: enlightenment.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -r1.81 -r1.82
--- enlightenment.eclass 28 Feb 2010 10:52:06 -0000 1.81
+++ enlightenment.eclass 23 Mar 2010 19:41:53 -0000 1.82
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.81 2010/02/28 10:52:06 tommy Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.82 2010/03/23 19:41:53 abcd Exp $
#
# Author: vapier@gentoo.org
@@ -80,8 +80,8 @@
LICENSE="BSD"
SLOT="0"
case ${EKEY_STATE:-${E_STATE}} in
- release) KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sh sparc x86 ~x86-fbsd";;
- snap) KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd";;
+ release) KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-interix ~x86-solaris ~x64-solaris";;
+ snap) KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-interix ~x86-solaris ~x64-solaris";;
live) KEYWORDS="";;
esac
IUSE="nls doc"
^ permalink raw reply [flat|nested] 24+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: enlightenment.eclass
@ 2010-08-22 23:31 Mike Frysinger (vapier)
0 siblings, 0 replies; 24+ messages in thread
From: Mike Frysinger (vapier) @ 2010-08-22 23:31 UTC (permalink / raw
To: gentoo-commits
vapier 10/08/22 23:31:08
Modified: enlightenment.eclass
Log:
add support for python/cython by Michael Blumenkrantz et al, and start eclass documentation
Revision Changes Path
1.84 eclass/enlightenment.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.84&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.84&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?r1=1.83&r2=1.84
Index: enlightenment.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -r1.83 -r1.84
--- enlightenment.eclass 19 Jun 2010 00:35:11 -0000 1.83
+++ enlightenment.eclass 22 Aug 2010 23:31:08 -0000 1.84
@@ -1,11 +1,24 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.83 2010/06/19 00:35:11 abcd Exp $
-#
-# Author: vapier@gentoo.org
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.84 2010/08/22 23:31:08 vapier Exp $
+
+# @ECLASS: enlightenment.eclass
+# @MAINTAINER:
+# enlightenment@gentoo.org
+# @BLURB: simplify enlightenment package management
inherit eutils libtool
+# @ECLASS-VARIABLE: E_PYTHON
+# @DEFAULT_UNSET
+# @DESCRIPTION:
+# if defined, the package is based on Python/distutils
+
+# @ECLASS-VARIABLE: E_CYTHON
+# @DEFAULT_UNSET
+# @DESCRIPTION:
+# if defined, the package is Cython bindings (implies E_PYTHON)
+
# E_STATE's:
# release [default]
# KEYWORDS arch
@@ -56,6 +69,17 @@
else
E_STATE="release"
fi
+
+# Parse requested python state
+: ${E_PYTHON:=${E_CYTHON}}
+if [[ -n ${E_PYTHON} ]] ; then
+ WANT_AUTOTOOLS="no"
+
+ PYTHON_DEPEND="2:2.4"
+
+ inherit python distutils
+fi
+
if [[ ${WANT_AUTOTOOLS} == "yes" ]] ; then
WANT_AUTOCONF=${E_WANT_AUTOCONF:-latest}
WANT_AUTOMAKE=${E_WANT_AUTOMAKE:-latest}
@@ -88,9 +112,8 @@
DEPEND="doc? ( app-doc/doxygen )"
RDEPEND="nls? ( sys-devel/gettext )"
-
-# gettext (via `autopoint`) needs to run cvs #245073
-[[ ${E_STATE} == "live" ]] && DEPEND="${DEPEND} dev-vcs/cvs"
+[[ -n ${E_PYTHON} ]] && DEPEND+=" >=dev-python/setuptools-0.6_rc9"
+[[ -n ${E_CYTHON} ]] && DEPEND+=" >=dev-python/cython-0.12.1"
case ${EURI_STATE:-${E_STATE}} in
release) S=${WORKDIR}/${P};;
@@ -159,8 +182,20 @@
enlightenment_src_compile() {
hasq src_configure ${ENLIGHTENMENT_EXPF} || enlightenment_src_configure
- emake || enlightenment_die "emake failed"
- use doc && [[ -x ./gendoc ]] && { ./gendoc || enlightenment_die "gendoc failed" ; }
+
+ if [[ -z ${E_PYTHON} ]] ; then
+ emake || enlightenment_die "emake failed"
+ else
+ distutils_src_compile
+ fi
+
+ if use doc ; then
+ if [[ -x ./gendoc ]] ; then
+ ./gendoc || enlightenment_die "gendoc failed"
+ else
+ emake doc || enlightenment_die "emake doc failed"
+ fi
+ fi
}
enlightenment_src_install() {
@@ -175,4 +210,3 @@
enlightenment_pkg_postinst() {
: enlightenment_warning_msg
}
-
^ permalink raw reply [flat|nested] 24+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: enlightenment.eclass
@ 2010-08-23 21:38 Mike Frysinger (vapier)
0 siblings, 0 replies; 24+ messages in thread
From: Mike Frysinger (vapier) @ 2010-08-23 21:38 UTC (permalink / raw
To: gentoo-commits
vapier 10/08/23 21:38:14
Modified: enlightenment.eclass
Log:
drop enlightenment_warning_msg now that things have stabilized quite a bit upstream
Revision Changes Path
1.85 eclass/enlightenment.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.85&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.85&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?r1=1.84&r2=1.85
Index: enlightenment.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -r1.84 -r1.85
--- enlightenment.eclass 22 Aug 2010 23:31:08 -0000 1.84
+++ enlightenment.eclass 23 Aug 2010 21:38:13 -0000 1.85
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.84 2010/08/22 23:31:08 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.85 2010/08/23 21:38:13 vapier Exp $
# @ECLASS: enlightenment.eclass
# @MAINTAINER:
@@ -86,7 +86,7 @@
inherit autotools
fi
-ENLIGHTENMENT_EXPF="pkg_setup src_unpack src_compile src_install pkg_postinst"
+ENLIGHTENMENT_EXPF="src_unpack src_compile src_install"
case "${EAPI:-0}" in
2|3|4) ENLIGHTENMENT_EXPF+=" src_prepare src_configure" ;;
*) ;;
@@ -121,32 +121,6 @@
live) S=${WORKDIR}/${E_S_APPEND};;
esac
-enlightenment_warning_msg() {
- if [[ -n ${E_LIVE_SERVER} ]] ; then
- einfo "Using user server for live sources: ${E_LIVE_SERVER}"
- fi
- if [[ ${E_STATE} == "snap" ]] ; then
- ewarn "Please do not contact the E team about bugs in Gentoo."
- ewarn "Only contact enlightenment@gentoo.org via e-mail or bugzilla."
- ewarn "Remember, this stuff is DEV only code so dont cry when"
- ewarn "I break you :)."
- elif [[ ${E_STATE} == "live" ]] ; then
- eerror "This is a LIVE SOURCES ebuild."
- eerror "That means there are NO promises it will work."
- eerror "If it fails to build, FIX THE CODE YOURSELF"
- eerror "before reporting any issues."
- fi
-}
-
-enlightenment_die() {
- enlightenment_warning_msg
- die "$@"$'\n'"!!! SEND BUG REPORTS TO enlightenment@gentoo.org NOT THE E TEAM"
-}
-
-enlightenment_pkg_setup() {
- : enlightenment_warning_msg
-}
-
enlightenment_src_unpack() {
if [[ ${E_STATE} == "live" ]] ; then
case ${E_LIVE_SOURCE} in
@@ -184,29 +158,25 @@
hasq src_configure ${ENLIGHTENMENT_EXPF} || enlightenment_src_configure
if [[ -z ${E_PYTHON} ]] ; then
- emake || enlightenment_die "emake failed"
+ emake || die "emake failed"
else
distutils_src_compile
fi
if use doc ; then
if [[ -x ./gendoc ]] ; then
- ./gendoc || enlightenment_die "gendoc failed"
+ ./gendoc || die
else
- emake doc || enlightenment_die "emake doc failed"
+ emake doc || die
fi
fi
}
enlightenment_src_install() {
- emake install DESTDIR="${D}" || enlightenment_die
+ emake install DESTDIR="${D}" || die
find "${D}" '(' -name CVS -o -name .svn -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
use doc && [[ -d doc ]] && dohtml -r doc/*
}
-
-enlightenment_pkg_postinst() {
- : enlightenment_warning_msg
-}
^ permalink raw reply [flat|nested] 24+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: enlightenment.eclass
@ 2010-08-28 21:15 Thomas Sachau (tommy)
0 siblings, 0 replies; 24+ messages in thread
From: Thomas Sachau (tommy) @ 2010-08-28 21:15 UTC (permalink / raw
To: gentoo-commits
tommy 10/08/28 21:15:24
Modified: enlightenment.eclass
Log:
Add support for static-libs USE flag, including support for .la files removal and not yet committed support for svn revision checks in efl live builds
Revision Changes Path
1.86 eclass/enlightenment.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.86&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.86&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?r1=1.85&r2=1.86
Index: enlightenment.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -r1.85 -r1.86
--- enlightenment.eclass 23 Aug 2010 21:38:13 -0000 1.85
+++ enlightenment.eclass 28 Aug 2010 21:15:24 -0000 1.86
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.85 2010/08/23 21:38:13 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.86 2010/08/28 21:15:24 tommy Exp $
# @ECLASS: enlightenment.eclass
# @MAINTAINER:
@@ -141,6 +141,7 @@
# 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
@@ -150,6 +151,7 @@
enlightenment_src_configure() {
# gstreamer sucks, work around it doing stupid stuff
export GST_REGISTRY="${S}/registry.xml"
+ has static-libs ${IUSE} && MY_ECONF+=" $(use_enable static-libs static)"
econf ${MY_ECONF}
}
@@ -179,4 +181,7 @@
[[ -f ${d} ]] && dodoc ${d}
done
use doc && [[ -d doc ]] && dohtml -r doc/*
+ if has static-libs ${IUSE} ; then
+ use static-libs || find "${D}" -name '*.la' -exec rm -f {} +
+ fi
}
^ permalink raw reply [flat|nested] 24+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: enlightenment.eclass
@ 2010-09-18 8:38 Mike Frysinger (vapier)
0 siblings, 0 replies; 24+ messages in thread
From: Mike Frysinger (vapier) @ 2010-09-18 8:38 UTC (permalink / raw
To: gentoo-commits
vapier 10/09/18 08:38:08
Modified: enlightenment.eclass
Log:
drop distutils support now that upstream too has dropped it
Revision Changes Path
1.87 eclass/enlightenment.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.87&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.87&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?r1=1.86&r2=1.87
Index: enlightenment.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -r1.86 -r1.87
--- enlightenment.eclass 28 Aug 2010 21:15:24 -0000 1.86
+++ enlightenment.eclass 18 Sep 2010 08:38:08 -0000 1.87
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.86 2010/08/28 21:15:24 tommy Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.87 2010/09/18 08:38:08 vapier Exp $
# @ECLASS: enlightenment.eclass
# @MAINTAINER:
@@ -73,11 +73,9 @@
# Parse requested python state
: ${E_PYTHON:=${E_CYTHON}}
if [[ -n ${E_PYTHON} ]] ; then
- WANT_AUTOTOOLS="no"
-
PYTHON_DEPEND="2:2.4"
- inherit python distutils
+ inherit python
fi
if [[ ${WANT_AUTOTOOLS} == "yes" ]] ; then
@@ -159,11 +157,7 @@
enlightenment_src_compile() {
hasq src_configure ${ENLIGHTENMENT_EXPF} || enlightenment_src_configure
- if [[ -z ${E_PYTHON} ]] ; then
- emake || die "emake failed"
- else
- distutils_src_compile
- fi
+ emake || die
if use doc ; then
if [[ -x ./gendoc ]] ; then
^ permalink raw reply [flat|nested] 24+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: enlightenment.eclass
@ 2010-09-18 8:39 Mike Frysinger (vapier)
0 siblings, 0 replies; 24+ messages in thread
From: Mike Frysinger (vapier) @ 2010-09-18 8:39 UTC (permalink / raw
To: gentoo-commits
vapier 10/09/18 08:39:07
Modified: enlightenment.eclass
Log:
simplify DEPEND setup with python vars
Revision Changes Path
1.88 eclass/enlightenment.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.88&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.88&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?r1=1.87&r2=1.88
Index: enlightenment.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -r1.87 -r1.88
--- enlightenment.eclass 18 Sep 2010 08:38:08 -0000 1.87
+++ enlightenment.eclass 18 Sep 2010 08:39:07 -0000 1.88
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.87 2010/09/18 08:38:08 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.88 2010/09/18 08:39:07 vapier Exp $
# @ECLASS: enlightenment.eclass
# @MAINTAINER:
@@ -108,10 +108,10 @@
esac
IUSE="nls doc"
-DEPEND="doc? ( app-doc/doxygen )"
+DEPEND="doc? ( app-doc/doxygen )
+ ${E_PYTHON:+>=dev-python/setuptools-0.6_rc9}
+ ${E_CYTHON:+>=dev-python/cython-0.12.1}"
RDEPEND="nls? ( sys-devel/gettext )"
-[[ -n ${E_PYTHON} ]] && DEPEND+=" >=dev-python/setuptools-0.6_rc9"
-[[ -n ${E_CYTHON} ]] && DEPEND+=" >=dev-python/cython-0.12.1"
case ${EURI_STATE:-${E_STATE}} in
release) S=${WORKDIR}/${P};;
^ permalink raw reply [flat|nested] 24+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: enlightenment.eclass
@ 2011-11-20 8:19 Mike Frysinger (vapier)
0 siblings, 0 replies; 24+ messages in thread
From: Mike Frysinger (vapier) @ 2011-11-20 8:19 UTC (permalink / raw
To: gentoo-commits
vapier 11/11/20 08:19:23
Modified: enlightenment.eclass
Log:
see if the doc target exists before we try to build it #348626 by Thomas Kahle
Revision Changes Path
1.90 eclass/enlightenment.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.90&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.90&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?r1=1.89&r2=1.90
Index: enlightenment.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -r1.89 -r1.90
--- enlightenment.eclass 8 Jul 2011 11:35:01 -0000 1.89
+++ enlightenment.eclass 20 Nov 2011 08:19:23 -0000 1.90
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.89 2011/07/08 11:35:01 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.90 2011/11/20 08:19:23 vapier Exp $
# @ECLASS: enlightenment.eclass
# @MAINTAINER:
@@ -162,7 +162,7 @@
if use doc ; then
if [[ -x ./gendoc ]] ; then
./gendoc || die
- else
+ elif emake -j1 -n doc >&/dev/null ; then
emake doc || die
fi
fi
^ permalink raw reply [flat|nested] 24+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: enlightenment.eclass
@ 2012-09-12 5:57 Mike Frysinger (vapier)
0 siblings, 0 replies; 24+ messages in thread
From: Mike Frysinger (vapier) @ 2012-09-12 5:57 UTC (permalink / raw
To: gentoo-commits
vapier 12/09/12 05:57:41
Modified: enlightenment.eclass
Log:
call epatch_user
Revision Changes Path
1.92 eclass/enlightenment.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.92&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.92&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?r1=1.91&r2=1.92
Index: enlightenment.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -r1.91 -r1.92
--- enlightenment.eclass 27 Dec 2011 17:55:12 -0000 1.91
+++ enlightenment.eclass 12 Sep 2012 05:57:40 -0000 1.92
@@ -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.91 2011/12/27 17:55:12 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.92 2012/09/12 05:57:40 vapier Exp $
# @ECLASS: enlightenment.eclass
# @MAINTAINER:
@@ -133,6 +133,7 @@
}
enlightenment_src_prepare() {
+ epatch_user
[[ -s gendoc ]] && chmod a+rx gendoc
if [[ ${WANT_AUTOTOOLS} == "yes" ]] ; then
[[ -d po ]] && eautopoint -f
^ permalink raw reply [flat|nested] 24+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: enlightenment.eclass
@ 2012-09-12 6:03 Mike Frysinger (vapier)
0 siblings, 0 replies; 24+ messages in thread
From: Mike Frysinger (vapier) @ 2012-09-12 6:03 UTC (permalink / raw
To: gentoo-commits
vapier 12/09/12 06:03:47
Modified: enlightenment.eclass
Log:
drop cvs support since anoncvs.enlightenment.org no longer exists
Revision Changes Path
1.93 eclass/enlightenment.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.93&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.93&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?r1=1.92&r2=1.93
Index: enlightenment.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -r1.92 -r1.93
--- enlightenment.eclass 12 Sep 2012 05:57:40 -0000 1.92
+++ enlightenment.eclass 12 Sep 2012 06:03:47 -0000 1.93
@@ -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 @@
#
# 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 @@
# 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 @@
enlightenment_src_unpack() {
if [[ ${E_STATE} == "live" ]] ; then
case ${E_LIVE_SOURCE} in
- cvs) cvs_src_unpack;;
svn) subversion_src_unpack;;
*) die "eek!";;
esac
^ permalink raw reply [flat|nested] 24+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: enlightenment.eclass
@ 2012-11-26 6:58 Mike Frysinger (vapier)
0 siblings, 0 replies; 24+ messages in thread
From: Mike Frysinger (vapier) @ 2012-11-26 6:58 UTC (permalink / raw
To: gentoo-commits
vapier 12/11/26 06:58:19
Modified: enlightenment.eclass
Log:
fix by Julian Ospald to use correct default working dir for enlightenment_src_prepare and EAPI=[01] #444344
Revision Changes Path
1.98 eclass/enlightenment.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.98&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.98&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?r1=1.97&r2=1.98
Index: enlightenment.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -r1.97 -r1.98
--- enlightenment.eclass 17 Nov 2012 16:02:17 -0000 1.97
+++ enlightenment.eclass 26 Nov 2012 06:58:19 -0000 1.98
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.97 2012/11/17 16:02:17 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.98 2012/11/26 06:58:19 vapier Exp $
# @ECLASS: enlightenment.eclass
# @MAINTAINER:
@@ -118,7 +118,10 @@
else
unpack ${A}
fi
- has src_prepare ${ENLIGHTENMENT_EXPF} || enlightenment_src_prepare
+ if ! has src_prepare ${ENLIGHTENMENT_EXPF} ; then
+ cd "${S}" || die
+ enlightenment_src_prepare
+ fi
}
enlightenment_src_prepare() {
^ permalink raw reply [flat|nested] 24+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: enlightenment.eclass
@ 2013-08-28 2:51 Mike Frysinger (vapier)
0 siblings, 0 replies; 24+ messages in thread
From: Mike Frysinger (vapier) @ 2013-08-28 2:51 UTC (permalink / raw
To: gentoo-commits
vapier 13/08/28 02:51:18
Modified: enlightenment.eclass
Log:
deploy E_ECONF as an array replacement of the MY_ECONF string
Revision Changes Path
1.99 eclass/enlightenment.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.99&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.99&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?r1=1.98&r2=1.99
Index: enlightenment.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -r1.98 -r1.99
--- enlightenment.eclass 26 Nov 2012 06:58:19 -0000 1.98
+++ enlightenment.eclass 28 Aug 2013 02:51:18 -0000 1.99
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.98 2012/11/26 06:58:19 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.99 2013/08/28 02:51:18 vapier Exp $
# @ECLASS: enlightenment.eclass
# @MAINTAINER:
@@ -19,6 +19,11 @@
# @DESCRIPTION:
# if defined, the package is Cython bindings (implies E_PYTHON)
+# @ECLASS-VARIABLE: E_ECONF
+# @DESCRIPTION:
+# Array of flags to pass to econf (obsoletes MY_ECONF)
+E_ECONF=()
+
# E_STATE's:
# release [default]
# KEYWORDS arch
@@ -142,9 +147,9 @@
enlightenment_src_configure() {
# gstreamer sucks, work around it doing stupid stuff
export GST_REGISTRY="${S}/registry.xml"
- has static-libs ${IUSE} && MY_ECONF+=" $(use_enable static-libs static)"
+ has static-libs ${IUSE} && E_ECONF+=( $(use_enable static-libs static) )
- econf ${MY_ECONF}
+ econf ${MY_ECONF} "${E_ECONF[@]}"
}
enlightenment_src_compile() {
^ permalink raw reply [flat|nested] 24+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: enlightenment.eclass
@ 2013-08-31 13:04 Thomas Sachau (tommy)
0 siblings, 0 replies; 24+ messages in thread
From: Thomas Sachau (tommy) @ 2013-08-31 13:04 UTC (permalink / raw
To: gentoo-commits
tommy 13/08/31 13:04:51
Modified: enlightenment.eclass
Log:
Default to svn, avoid breaking existing live ebuilds
Revision Changes Path
1.101 eclass/enlightenment.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.101&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.101&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?r1=1.100&r2=1.101
Index: enlightenment.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -r1.100 -r1.101
--- enlightenment.eclass 31 Aug 2013 12:29:26 -0000 1.100
+++ enlightenment.eclass 31 Aug 2013 13:04:51 -0000 1.101
@@ -1,6 +1,6 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.100 2013/08/31 12:29:26 tommy Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.101 2013/08/31 13:04:51 tommy Exp $
# @ECLASS: enlightenment.eclass
# @MAINTAINER:
@@ -50,16 +50,7 @@
E_STATE="release"
if [[ ${PV} == *9999* ]] ; then
- if [[ ${ESVN_URI_APPEND} ]] ; then
- 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
- elif [[ ${EGIT_URI_APPEND} ]] ; then
+ if [[ ${EGIT_URI_APPEND} ]] ; then
E_LIVE_SERVER=${E_LIVE_SERVER:-${E_LIVE_SERVER_DEFAULT_GIT}}
EGIT_URI_APPEND=${EGIT_URI_APPEND:-${PN}}
EGIT_PROJECT="enlightenment/${EGIT_SUB_PROJECT}/${EGIT_URI_APPEND}"
@@ -68,7 +59,14 @@
E_LIVE_SOURCE="git"
inherit git-2
else
- die "Either ESVN_URI_APPEND or EGIT_URI_APPEND need to be defined"
+ 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"
^ permalink raw reply [flat|nested] 24+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: enlightenment.eclass
@ 2013-09-28 8:54 Mike Frysinger (vapier)
0 siblings, 0 replies; 24+ messages in thread
From: Mike Frysinger (vapier) @ 2013-09-28 8:54 UTC (permalink / raw
To: gentoo-commits
vapier 13/09/28 08:54:27
Modified: enlightenment.eclass
Log:
let ebuilds set SRC_URI before inheriting the eclass
Revision Changes Path
1.102 eclass/enlightenment.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.102&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.102&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?r1=1.101&r2=1.102
Index: enlightenment.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -r1.101 -r1.102
--- enlightenment.eclass 31 Aug 2013 13:04:51 -0000 1.101
+++ enlightenment.eclass 28 Sep 2013 08:54:27 -0000 1.102
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.101 2013/08/31 13:04:51 tommy Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.102 2013/09/28 08:54:27 vapier Exp $
# @ECLASS: enlightenment.eclass
# @MAINTAINER:
@@ -100,11 +100,13 @@
DESCRIPTION="A DR17 production"
HOMEPAGE="http://www.enlightenment.org/"
-case ${EURI_STATE:-${E_STATE}} in
+if [[ -z ${SRC_URI} ]] ; then
+ case ${EURI_STATE:-${E_STATE}} in
release) SRC_URI="mirror://sourceforge/enlightenment/${P}.tar.gz";;
snap) SRC_URI="http://download.enlightenment.org/snapshots/${E_SNAP_DATE}/${P}.tar.bz2";;
live) SRC_URI="";;
-esac
+ esac
+fi
LICENSE="BSD"
SLOT="0"
^ permalink raw reply [flat|nested] 24+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: enlightenment.eclass
@ 2013-10-11 18:34 Mike Frysinger (vapier)
0 siblings, 0 replies; 24+ messages in thread
From: Mike Frysinger (vapier) @ 2013-10-11 18:34 UTC (permalink / raw
To: gentoo-commits
vapier 13/10/11 18:34:43
Modified: enlightenment.eclass
Log:
add multiple inherit protection
Revision Changes Path
1.104 eclass/enlightenment.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.104&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.104&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?r1=1.103&r2=1.104
Index: enlightenment.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -r1.103 -r1.104
--- enlightenment.eclass 4 Oct 2013 15:27:28 -0000 1.103
+++ enlightenment.eclass 11 Oct 2013 18:34:43 -0000 1.104
@@ -1,12 +1,15 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.103 2013/10/04 15:27:28 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.104 2013/10/11 18:34:43 vapier Exp $
# @ECLASS: enlightenment.eclass
# @MAINTAINER:
# enlightenment@gentoo.org
# @BLURB: simplify enlightenment package management
+if [[ ${___ECLASS_ONCE_ENLIGHTENMENT} != "recur -_+^+_- spank" ]] ; then
+___ECLASS_ONCE_ENLIGHTENMENT="recur -_+^+_- spank"
+
inherit eutils libtool
# @ECLASS-VARIABLE: E_PYTHON
@@ -93,8 +96,8 @@
ENLIGHTENMENT_EXPF="src_unpack src_compile src_install"
case "${EAPI:-0}" in
- 2|3|4|5) ENLIGHTENMENT_EXPF+=" src_prepare src_configure" ;;
- *) ;;
+2|3|4|5) ENLIGHTENMENT_EXPF+=" src_prepare src_configure" ;;
+*) ;;
esac
EXPORT_FUNCTIONS ${ENLIGHTENMENT_EXPF}
@@ -192,3 +195,5 @@
use static-libs || find "${D}" -name '*.la' -exec rm -f {} +
fi
}
+
+fi
^ permalink raw reply [flat|nested] 24+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: enlightenment.eclass
@ 2013-10-12 15:30 Alexis Ballier (aballier)
0 siblings, 0 replies; 24+ messages in thread
From: Alexis Ballier (aballier) @ 2013-10-12 15:30 UTC (permalink / raw
To: gentoo-commits
aballier 13/10/12 15:30:23
Modified: enlightenment.eclass
Log:
add amd64-fbsd keywords
Revision Changes Path
1.105 eclass/enlightenment.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.105&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.105&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?r1=1.104&r2=1.105
Index: enlightenment.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -r1.104 -r1.105
--- enlightenment.eclass 11 Oct 2013 18:34:43 -0000 1.104
+++ enlightenment.eclass 12 Oct 2013 15:30:23 -0000 1.105
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.104 2013/10/11 18:34:43 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.105 2013/10/12 15:30:23 aballier Exp $
# @ECLASS: enlightenment.eclass
# @MAINTAINER:
@@ -114,8 +114,8 @@
LICENSE="BSD"
SLOT="0"
case ${EKEY_STATE:-${E_STATE}} in
- release) KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-interix ~x86-solaris ~x64-solaris";;
- snap) KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-interix ~x86-solaris ~x64-solaris";;
+ release) KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-interix ~x86-solaris ~x64-solaris";;
+ snap) KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-interix ~x86-solaris ~x64-solaris";;
live) KEYWORDS="";;
esac
IUSE="nls doc"
^ permalink raw reply [flat|nested] 24+ messages in thread
end of thread, other threads:[~2013-10-12 15:30 UTC | newest]
Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-11 18:34 [gentoo-commits] gentoo-x86 commit in eclass: enlightenment.eclass Mike Frysinger (vapier)
-- strict thread matches above, loose matches on Subject: below --
2013-10-12 15:30 Alexis Ballier (aballier)
2013-09-28 8:54 Mike Frysinger (vapier)
2013-08-31 13:04 Thomas Sachau (tommy)
2013-08-28 2:51 Mike Frysinger (vapier)
2012-11-26 6:58 Mike Frysinger (vapier)
2012-09-12 6:03 Mike Frysinger (vapier)
2012-09-12 5:57 Mike Frysinger (vapier)
2011-11-20 8:19 Mike Frysinger (vapier)
2010-09-18 8:39 Mike Frysinger (vapier)
2010-09-18 8:38 Mike Frysinger (vapier)
2010-08-28 21:15 Thomas Sachau (tommy)
2010-08-23 21:38 Mike Frysinger (vapier)
2010-08-22 23:31 Mike Frysinger (vapier)
2010-03-23 19:41 Jonathan Callen (abcd)
2010-02-28 10:52 Thomas Sachau (tommy)
2009-03-07 22:28 Mike Frysinger (vapier)
2009-02-03 9:05 Peter Volkov (pva)
2008-12-08 11:55 Peter Volkov (pva)
2008-12-07 15:58 Peter Volkov (pva)
2008-11-30 9:05 Mike Frysinger (vapier)
2008-11-30 8:33 Mike Frysinger (vapier)
2008-11-30 3:18 Mike Frysinger (vapier)
2008-09-20 20:35 Mike Frysinger (vapier)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox