From 96647e5d82ac6a1e61841407725a493d19ddcfc2 Mon Sep 17 00:00:00 2001 From: Christian Faulhammer Date: Mon, 2 Jul 2007 06:34:42 +0000 Subject: using new-style virtual dependency (Portage version: 2.1.2.9) --- app-emacs/csharp-mode/ChangeLog | 8 ++++- app-emacs/csharp-mode/csharp-mode-0.6.0-r1.ebuild | 35 ++++++++++++++++++++++ app-emacs/csharp-mode/csharp-mode-0.6.0.ebuild | 19 ------------ .../csharp-mode/files/digest-csharp-mode-0.6.0 | 3 -- .../csharp-mode/files/digest-csharp-mode-0.6.0-r1 | 3 ++ 5 files changed, 45 insertions(+), 23 deletions(-) create mode 100644 app-emacs/csharp-mode/csharp-mode-0.6.0-r1.ebuild delete mode 100644 app-emacs/csharp-mode/csharp-mode-0.6.0.ebuild delete mode 100644 app-emacs/csharp-mode/files/digest-csharp-mode-0.6.0 create mode 100644 app-emacs/csharp-mode/files/digest-csharp-mode-0.6.0-r1 (limited to 'app-emacs') diff --git a/app-emacs/csharp-mode/ChangeLog b/app-emacs/csharp-mode/ChangeLog index 28acc1b9fce4..d005279da2c3 100644 --- a/app-emacs/csharp-mode/ChangeLog +++ b/app-emacs/csharp-mode/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-emacs/csharp-mode # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/csharp-mode/ChangeLog,v 1.2 2007/04/26 16:06:32 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/csharp-mode/ChangeLog,v 1.3 2007/07/02 06:34:42 opfer Exp $ + +*csharp-mode-0.6.0-r1 (02 Jul 2007) + + 02 Jul 2007; Christian Faulhammer + -csharp-mode-0.6.0.ebuild, +csharp-mode-0.6.0-r1.ebuild: + using new-style virtual dependency *csharp-mode-0.6.0 (26 Apr 2007) diff --git a/app-emacs/csharp-mode/csharp-mode-0.6.0-r1.ebuild b/app-emacs/csharp-mode/csharp-mode-0.6.0-r1.ebuild new file mode 100644 index 000000000000..3634503fbb25 --- /dev/null +++ b/app-emacs/csharp-mode/csharp-mode-0.6.0-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/csharp-mode/csharp-mode-0.6.0-r1.ebuild,v 1.1 2007/07/02 06:34:42 opfer Exp $ + +inherit elisp versionator + +DESCRIPTION="A derived Emacs mode implementing most of the C# rules" +HOMEPAGE="http://mfgames.com/linux/csharp-mode" +SRC_URI="http://mfgames.com/linux/releases/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +NEED_CCMODE=5.30 + +DEPEND="|| ( >=app-emacs/cc-mode-${NEED_CCMODE} >=virtual/emacs-22 )" +RDEPEND="${DEPEND}" + +SIMPLE_ELISP=t +SITEFILE=80${PN}-gentoo.el + +pkg_setup () { + local HAVE_CCMODE + HAVE_CCMODE=$(emacs -batch -q \ + --eval "(and (require 'cc-mode nil t) (princ c-version))") + if [ -z "${HAVE_CCMODE}" ] \ + || ! version_is_at_least "${NEED_CCMODE}" "${HAVE_CCMODE}"; then + eerror "This package needs at least cc-mode version ${NEED_CCMODE}." + eerror "You should either install package app-emacs/cc-mode," + eerror "or use \"eselect emacs\" to select an Emacs version >= 22." + die "cc-mode version ${HAVE_CCMODE} is too low." + fi +} diff --git a/app-emacs/csharp-mode/csharp-mode-0.6.0.ebuild b/app-emacs/csharp-mode/csharp-mode-0.6.0.ebuild deleted file mode 100644 index 25d04f41fdea..000000000000 --- a/app-emacs/csharp-mode/csharp-mode-0.6.0.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/csharp-mode/csharp-mode-0.6.0.ebuild,v 1.1 2007/04/26 16:06:32 ulm Exp $ - -inherit elisp - -DESCRIPTION="A derived Emacs mode implementing most of the C# rules" -HOMEPAGE="http://mfgames.com/linux/csharp-mode" -SRC_URI="http://mfgames.com/linux/releases/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="" - -DEPEND="|| ( app-editors/emacs-cvs app-emacs/cc-mode )" - -SIMPLE_ELISP=t -SITEFILE=80${PN}-gentoo.el diff --git a/app-emacs/csharp-mode/files/digest-csharp-mode-0.6.0 b/app-emacs/csharp-mode/files/digest-csharp-mode-0.6.0 deleted file mode 100644 index dc958b922b4a..000000000000 --- a/app-emacs/csharp-mode/files/digest-csharp-mode-0.6.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 a9348b0ffcac76377c454636dba7f880 csharp-mode-0.6.0.tar.bz2 6068 -RMD160 5ab62e1594f77ab91c377896c716370e39abc050 csharp-mode-0.6.0.tar.bz2 6068 -SHA256 4c62fc019d0ac14254a1fbd814c7c3af78f070525cf9b27f00ab69d31ec0151c csharp-mode-0.6.0.tar.bz2 6068 diff --git a/app-emacs/csharp-mode/files/digest-csharp-mode-0.6.0-r1 b/app-emacs/csharp-mode/files/digest-csharp-mode-0.6.0-r1 new file mode 100644 index 000000000000..dc958b922b4a --- /dev/null +++ b/app-emacs/csharp-mode/files/digest-csharp-mode-0.6.0-r1 @@ -0,0 +1,3 @@ +MD5 a9348b0ffcac76377c454636dba7f880 csharp-mode-0.6.0.tar.bz2 6068 +RMD160 5ab62e1594f77ab91c377896c716370e39abc050 csharp-mode-0.6.0.tar.bz2 6068 +SHA256 4c62fc019d0ac14254a1fbd814c7c3af78f070525cf9b27f00ab69d31ec0151c csharp-mode-0.6.0.tar.bz2 6068 -- cgit v1.2.3-65-gdbad