summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2011-03-12 14:42:29 +0000
committerUlrich Müller <ulm@gentoo.org>2011-03-12 14:42:29 +0000
commit8a235b679341fb7386975359048461ee87133e5b (patch)
tree4397aaf486bb7130d287b65730f302950fc47cbc /app-emacs
parentDrop dependency on app-emacs/nxml-mode. (diff)
downloadgentoo-2-8a235b679341fb7386975359048461ee87133e5b.tar.gz
gentoo-2-8a235b679341fb7386975359048461ee87133e5b.tar.bz2
gentoo-2-8a235b679341fb7386975359048461ee87133e5b.zip
Drop dependency on app-emacs/nxml-mode.
(Portage version: 2.1.9.42/cvs/Linux x86_64)
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/nxml-libvirt-schemas/ChangeLog6
-rw-r--r--app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-0.8.8.ebuild23
2 files changed, 9 insertions, 20 deletions
diff --git a/app-emacs/nxml-libvirt-schemas/ChangeLog b/app-emacs/nxml-libvirt-schemas/ChangeLog
index 49389b9031fc..bcda7377e8ac 100644
--- a/app-emacs/nxml-libvirt-schemas/ChangeLog
+++ b/app-emacs/nxml-libvirt-schemas/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-emacs/nxml-libvirt-schemas
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-libvirt-schemas/ChangeLog,v 1.5 2011/02/17 15:23:40 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-libvirt-schemas/ChangeLog,v 1.6 2011/03/12 14:42:29 ulm Exp $
+
+ 12 Mar 2011; Ulrich Mueller <ulm@gentoo.org>
+ nxml-libvirt-schemas-0.8.8.ebuild:
+ Drop dependency on app-emacs/nxml-mode.
*nxml-libvirt-schemas-0.8.8 (17 Feb 2011)
diff --git a/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-0.8.8.ebuild b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-0.8.8.ebuild
index 5db860b21f27..2bcda3e42204 100644
--- a/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-0.8.8.ebuild
+++ b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-0.8.8.ebuild
@@ -1,38 +1,33 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-0.8.8.ebuild,v 1.1 2011/02/17 15:23:40 flameeyes Exp $
-
-BACKPORTS=
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-0.8.8.ebuild,v 1.2 2011/03/12 14:42:29 ulm Exp $
EAPI=2
+BACKPORTS=
+NEED_EMACS=23
inherit elisp eutils
MY_P="libvirt-${PV}"
DESCRIPTION="Extension for nxml-mode with libvirt schemas"
HOMEPAGE="http://www.libvirt.org/"
-
SRC_URI="http://libvirt.org/sources/${MY_P}.tar.gz
${BACKPORTS:+mirror://gentoo/${MY_P}-backports-${BACKPORTS}.tar.bz2}"
# This is the license of the package, but the schema files are
# provided without license, maybe it's bad.
LICENSE="LGPL-2.1"
-
SLOT="0"
-
KEYWORDS="~amd64 ~x86"
IUSE=""
-RDEPEND="|| ( >=app-emacs/nxml-mode-20041004-r3 >=virtual/emacs-23 )"
-
# Yes this requires Java, but I'd rather not repackage this, if you
# know something better in C, I'll be glad to use that.
DEPEND="app-text/trang"
+RDEPEND=""
SITEFILE=60${PN}-gentoo.el
-
S="${WORKDIR}/${MY_P}"
src_prepare() {
@@ -55,13 +50,3 @@ src_install() {
doins "${FILESDIR}/schemas.xml" docs/schemas/*.rnc || die "install failed"
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
}
-
-pkg_postinst () {
- elisp-site-regen
-
- if [ $(emacs -batch -q --eval "(princ (fboundp 'nxml-mode))") = nil ]; then
- ewarn "This package needs nxml-mode. You should either install"
- ewarn "app-emacs/nxml-mode, or use \"eselect emacs\" to select"
- ewarn "an Emacs version >= 23."
- fi
-}