commit: 20a1720ff639e94f966eea95964b088e9a11af79 Author: Mark Wright <gienah <AT> gentoo <DOT> org> AuthorDate: Thu Sep 17 07:32:14 2015 +0000 Commit: Mark Wright <gienah <AT> gentoo <DOT> org> CommitDate: Thu Sep 17 07:32:14 2015 +0000 URL: https://gitweb.gentoo.org/proj/lisp.git/commit/?id=20a1720f
app-emacs/slime: Bump to 2.16 .../slime/files/2.15/gentoo-changelog-date.patch | 20 ++++++++++++++++++++ app-emacs/slime/slime-2.15.ebuild | 1 + app-emacs/slime/slime-9999.ebuild | 14 +++++++++----- 3 files changed, 30 insertions(+), 5 deletions(-) diff --git a/app-emacs/slime/files/2.15/gentoo-changelog-date.patch b/app-emacs/slime/files/2.15/gentoo-changelog-date.patch new file mode 100644 index 0000000..c7e815f --- /dev/null +++ b/app-emacs/slime/files/2.15/gentoo-changelog-date.patch @@ -0,0 +1,20 @@ +--- slime-2.15-orig/slime.el 2015-08-31 07:46:47.000000000 +1000 ++++ slime-2.15/slime.el 2015-09-17 17:05:53.616659817 +1000 +@@ -138,16 +138,7 @@ + "Return the datestring of the latest entry in the ChangeLog file. + Return nil if the ChangeLog file cannot be found." + (interactive "p") +- (let ((changelog (slime--changelog-file-name)) +- (date nil)) +- (when (file-exists-p changelog) +- (with-temp-buffer +- (insert-file-contents-literally changelog nil 0 100) +- (goto-char (point-min)) +- (setq date (symbol-name (read (current-buffer)))))) +- (when interactivep +- (message "Slime ChangeLog dates %s." date)) +- date))) ++ "@SLIME-CHANGELOG-DATE@")) + + (defvar slime-protocol-version nil) + (setq slime-protocol-version diff --git a/app-emacs/slime/slime-2.15.ebuild b/app-emacs/slime/slime-2.15.ebuild new file mode 120000 index 0000000..acf114b --- /dev/null +++ b/app-emacs/slime/slime-2.15.ebuild @@ -0,0 +1 @@ +slime-9999.ebuild \ No newline at end of file diff --git a/app-emacs/slime/slime-9999.ebuild b/app-emacs/slime/slime-9999.ebuild index e31e037..72f8d25 100644 --- a/app-emacs/slime/slime-9999.ebuild +++ b/app-emacs/slime/slime-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: $ +# $Id$ EAPI=5 @@ -54,10 +54,14 @@ src_prepare() { SLIME_CHANGELOG_DATE=$(awk '/^[-0-9]+ / { print $1; exit; }' ChangeLog) [ -n "${SLIME_CHANGELOG_DATE}" ] || die "cannot determine ChangeLog date" - # SLIME uses the changelog date to make sure that the emacs side and the CL side - # are in sync. We hardcode it instead of letting slime determine it at runtime - # because ChangeLog doesn't get installed to $EMACSDIR - epatch "${FILESDIR}"/2.11/gentoo-changelog-date.patch + if [[ "${PV}" == "2.11" ]] || [[ "${PV}" == "2.12" ]]; then + # SLIME uses the changelog date to make sure that the emacs side and the CL side + # are in sync. We hardcode it instead of letting slime determine it at runtime + # because ChangeLog doesn't get installed to $EMACSDIR + epatch "${FILESDIR}"/2.11/gentoo-changelog-date.patch + else + epatch "${FILESDIR}"/2.15/gentoo-changelog-date.patch + fi # When starting slime in emacs, slime looks for ${S}/swank/backend.lisp as # /usr/share/common-lisp/source/swank/swank-backend.lisp