public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Mueller (ulm)" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: elisp.eclass
Date: Tue, 25 Aug 2009 12:53:55 +0000	[thread overview]
Message-ID: <E1MfvX9-0004p1-Fx@stork.gentoo.org> (raw)

ulm         09/08/25 12:53:55

  Modified:             elisp.eclass
  Log:
  Sync elisp.eclass from Emacs overlay (revision 1432):
  Don't inherit versionator.eclass.

Revision  Changes    Path
1.42                 eclass/elisp.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/elisp.eclass?rev=1.42&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/elisp.eclass?rev=1.42&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/elisp.eclass?r1=1.41&r2=1.42

Index: elisp.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/elisp.eclass,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- elisp.eclass	29 Mar 2009 20:27:19 -0000	1.41
+++ elisp.eclass	25 Aug 2009 12:53:55 -0000	1.42
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/elisp.eclass,v 1.41 2009/03/29 20:27:19 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/elisp.eclass,v 1.42 2009/08/25 12:53:55 ulm Exp $
 #
 # Copyright 2002-2003 Matthew Kennedy <mkennedy@gentoo.org>
 # Copyright 2003      Jeremy Maitin-Shepard <jbms@attbi.com>
@@ -50,7 +50,7 @@
 # reserved for internal use.  "50${PN}-gentoo.el" is a reasonable choice
 # in most cases.
 
-inherit elisp-common eutils versionator
+inherit elisp-common eutils
 
 case "${EAPI:-0}" in
 	0|1) EXPORT_FUNCTIONS src_{unpack,compile,install} \
@@ -66,8 +66,8 @@
 elisp_pkg_setup() {
 	local need_emacs=${NEED_EMACS:-21}
 	local have_emacs=$(elisp-emacs-version)
-	if ! version_is_at_least "${need_emacs}" "${have_emacs}"; then
-		eerror "This package needs at least Emacs ${need_emacs}."
+	if [ "${have_emacs%%.*}" -lt "${need_emacs%%.*}" ]; then
+		eerror "This package needs at least Emacs ${need_emacs%%.*}."
 		eerror "Use \"eselect emacs\" to select the active version."
 		die "Emacs version ${have_emacs} is too low."
 	fi






             reply	other threads:[~2009-08-28 20:16 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-25 12:53 Ulrich Mueller (ulm) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-10-21 19:16 [gentoo-commits] gentoo-x86 commit in eclass: elisp.eclass Ulrich Mueller (ulm)
2011-08-12 16:14 Ulrich Mueller (ulm)
2011-02-07 21:48 Ulrich Mueller (ulm)
2010-09-17  7:39 Ulrich Mueller (ulm)
2010-01-30 22:54 Ulrich Mueller (ulm)
2009-03-29 20:27 Ulrich Mueller (ulm)
2009-03-29 19:49 Ulrich Mueller (ulm)
2009-02-07 11:32 Christian Faulhammer (fauli)
2008-11-16 10:23 Ulrich Mueller (ulm)
2008-08-28  9:55 Ulrich Mueller (ulm)
2008-06-23 21:38 Christian Faulhammer (opfer)
2008-06-23 13:40 Ulrich Mueller (ulm)
2008-06-03 15:48 Ulrich Mueller (ulm)
2008-03-03 15:21 Ulrich Mueller (ulm)
2007-12-07 13:52 Ulrich Mueller (ulm)
2007-12-07  0:16 Christian Faulhammer (opfer)
2007-12-04 13:11 Ulrich Mueller (ulm)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1MfvX9-0004p1-Fx@stork.gentoo.org \
    --to=ulm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox