diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2005-12-11 19:09:19 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2005-12-11 19:09:19 +0000 |
commit | e27972ddcf308e37a9fcfeda39e9263d26fb8c67 (patch) | |
tree | 25ac1fb40fc7109a50688c450b1a61345fbb65e2 /app-emacs/slime | |
parent | Loosened xerces dependency (bug #115158). (diff) | |
download | gentoo-2-e27972ddcf308e37a9fcfeda39e9263d26fb8c67.tar.gz gentoo-2-e27972ddcf308e37a9fcfeda39e9263d26fb8c67.tar.bz2 gentoo-2-e27972ddcf308e37a9fcfeda39e9263d26fb8c67.zip |
New upstream version.
(Portage version: 2.0.53)
Diffstat (limited to 'app-emacs/slime')
-rw-r--r-- | app-emacs/slime/ChangeLog | 10 | ||||
-rw-r--r-- | app-emacs/slime/Manifest | 22 | ||||
-rw-r--r-- | app-emacs/slime/files/1.2.1.20051211/70slime-gentoo.el | 16 | ||||
-rw-r--r-- | app-emacs/slime/files/1.2.1.20051211/README.Gentoo | 12 | ||||
-rw-r--r-- | app-emacs/slime/files/1.2.1.20051211/swank-loader.lisp | 4 | ||||
-rw-r--r-- | app-emacs/slime/files/1.2.1.20051211/swank.asd | 81 | ||||
-rw-r--r-- | app-emacs/slime/files/digest-slime-1.2.1.20051211 | 2 | ||||
-rw-r--r-- | app-emacs/slime/slime-1.2.1.20051211.ebuild | 71 |
8 files changed, 204 insertions, 14 deletions
diff --git a/app-emacs/slime/ChangeLog b/app-emacs/slime/ChangeLog index caf7aff6e031..bfd1e51f852e 100644 --- a/app-emacs/slime/ChangeLog +++ b/app-emacs/slime/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-emacs/slime # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/slime/ChangeLog,v 1.21 2005/08/14 08:26:36 mkennedy Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/slime/ChangeLog,v 1.22 2005/12/11 19:09:19 mkennedy Exp $ + +*slime-1.2.1.20051211 (11 Dec 2005) + + 11 Dec 2005; Matthew Kennedy <mkennedy@gentoo.org> + +files/1.2.1.20051211/70slime-gentoo.el, + +files/1.2.1.20051211/README.Gentoo, +files/1.2.1.20051211/swank.asd, + +files/1.2.1.20051211/swank-loader.lisp, +slime-1.2.1.20051211.ebuild: + New upstream version. 14 Aug 2005; Matthew Kennedy <mkennedy@gentoo.org> -files/1.2.1.20050610/70slime-gentoo.el, -files/1.2.1.20050610/swank.asd, diff --git a/app-emacs/slime/Manifest b/app-emacs/slime/Manifest index 90be9daa3d1c..589a5fd1c601 100644 --- a/app-emacs/slime/Manifest +++ b/app-emacs/slime/Manifest @@ -1,18 +1,14 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 a82a3257b6c40a6c1787b8ad04418768 ChangeLog 5937 -MD5 185b50ff504c7da6807fffb4e73fc017 metadata.xml 1267 -MD5 672b81e68ae0f4dd6dd799319c4fe356 slime-1.2.1.20050804.ebuild 2033 -MD5 5dc9040c865b8807c7a2ccb040587b2a files/digest-slime-1.2.1.20050804 150 MD5 ee1f66aba753cb513ec91d33210dc246 files/1.2.1.20050804/70slime-gentoo.el 569 MD5 a6f665debad6ee005b99b5ae3d3aeedb files/1.2.1.20050804/README.Gentoo 349 MD5 cd3eddef773c2bdc1eac336383f13ec6 files/1.2.1.20050804/swank-loader.lisp 68 MD5 80cd96bdd0caca9767147a2cf1f08769 files/1.2.1.20050804/swank.asd 2191 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFC/wCQyiNZaEAZA+ARAkZmAJ9rjk/zz1KbcIFb3HR31OMulZ65wQCfdNOk -JyUfdLg5xcMNyK6Hm2OOhkM= -=rbpJ ------END PGP SIGNATURE----- +MD5 ee1f66aba753cb513ec91d33210dc246 files/1.2.1.20051211/70slime-gentoo.el 569 +MD5 1ab5127efd37110d1dc0711ec5626a92 files/1.2.1.20051211/README.Gentoo 347 +MD5 cd3eddef773c2bdc1eac336383f13ec6 files/1.2.1.20051211/swank-loader.lisp 68 +MD5 3db8ecc0c00fcdc30651f1a5fb9cb8bf files/1.2.1.20051211/swank.asd 2158 +MD5 5dc9040c865b8807c7a2ccb040587b2a files/digest-slime-1.2.1.20050804 150 +MD5 f5335ea0a6e7f6aab6972933dd924284 files/digest-slime-1.2.1.20051211 151 +MD5 185b50ff504c7da6807fffb4e73fc017 metadata.xml 1267 +MD5 672b81e68ae0f4dd6dd799319c4fe356 slime-1.2.1.20050804.ebuild 2033 +MD5 7f5ba5517c2b158b7b1c0b6bb822a3a7 slime-1.2.1.20051211.ebuild 1950 diff --git a/app-emacs/slime/files/1.2.1.20051211/70slime-gentoo.el b/app-emacs/slime/files/1.2.1.20051211/70slime-gentoo.el new file mode 100644 index 000000000000..105a1c76e689 --- /dev/null +++ b/app-emacs/slime/files/1.2.1.20051211/70slime-gentoo.el @@ -0,0 +1,16 @@ + +;;; site-lisp configuration for slime-cvs + +(add-to-list 'load-path "@SITELISP@") +(require 'slime) +(add-hook 'lisp-mode-hook + (lambda () (slime-mode t))) +(add-hook 'inferior-lisp-mode-hook + (lambda () (inferior-slime-mode t))) + +;; this prevents us from requiring the user get dev-lisp/hyperspec +;; (which is non-free) as a hard dependency + +(if (file-exists-p "/usr/share/doc/hyperspec/HyperSpec") + (setq common-lisp-hyperspec-root "file:///usr/share/doc/hyperspec/HyperSpec/") + (setq common-lisp-hyperspec-root "http://www.lispworks.com/reference/HyperSpec/")) diff --git a/app-emacs/slime/files/1.2.1.20051211/README.Gentoo b/app-emacs/slime/files/1.2.1.20051211/README.Gentoo new file mode 100644 index 000000000000..99353ee7aa29 --- /dev/null +++ b/app-emacs/slime/files/1.2.1.20051211/README.Gentoo @@ -0,0 +1,12 @@ +SLIME notes for Gentoo +---------------------- + +If you're interested in hacking this ebuild, Gentoo uses its own +swank.asd system definition file and swank-loader.lisp. + +As always with CVS ebuilds, DO NOT report problems to upstream. +Always report problems to the Gentoo Bugzilla at +http://bugs.gentoo.org/. + +Matthew Kennedy <mkennedy@gentoo.org> + diff --git a/app-emacs/slime/files/1.2.1.20051211/swank-loader.lisp b/app-emacs/slime/files/1.2.1.20051211/swank-loader.lisp new file mode 100644 index 000000000000..4d9b157312e6 --- /dev/null +++ b/app-emacs/slime/files/1.2.1.20051211/swank-loader.lisp @@ -0,0 +1,4 @@ + +;; This file is NOT part of SLIME + +(asdf:oos 'asdf:load-op :swank) diff --git a/app-emacs/slime/files/1.2.1.20051211/swank.asd b/app-emacs/slime/files/1.2.1.20051211/swank.asd new file mode 100644 index 000000000000..d5de5b7de4a5 --- /dev/null +++ b/app-emacs/slime/files/1.2.1.20051211/swank.asd @@ -0,0 +1,81 @@ +;;; -*- mode: lisp; syntax: common-lisp; package: common-lisp -*- + +(defpackage #:swank-system + (:use #:common-lisp + #:asdf)) + +(defpackage #:swank-loader + (:use #:common-lisp)) + +(in-package #:swank-system) + +;; http://www.caddr.com/macho/archives/sbcl-devel/2004-3/3014.html + +(defclass unsafe-file (cl-source-file) ()) + +(defmethod perform :around ((op compile-op) (c unsafe-file)) + (setf (operation-on-warnings op) :ignore + (operation-on-failure op) :warn) ; adjust to taste + (call-next-method)) + +(defmacro define-swank-system (&rest sysdep-components) + `(defsystem swank + :name "Swank is the Common Lips back-end to SLIME" + :serial t + :components ((:file "swank-backend") + (:file "nregex") + ,@(mapcar #'(lambda (component) + (if (atom component) + (list :file component) + component)) + sysdep-components) + (:file "swank")) + :depends-on (#+sbcl sb-bsd-sockets))) + +#+sbcl (define-swank-system + "swank-sbcl" + "swank-source-path-parser" + "swank-source-file-cache" + "swank-gray") + +#+openmcl (define-swank-system + "metering" + "swank-openmcl" + "swank-gray") + +#+cmu (define-swank-system + "swank-source-path-parser" + "swank-source-file-cache" + "swank-cmucl") + +#+clisp (define-swank-system + "xref" + "metering" + "swank-clisp" + "swank-gray") + +#+armedbear (define-swank-system + "swank-abcl") + +#+ecl (define-swank-system + "swank-ecl" "swank-gray") + +(in-package #:swank-loader) + +(defun load-user-init-file () + "Load the user init file, return NIL if it does not exist." + (load (merge-pathnames (user-homedir-pathname) + (make-pathname :name ".swank" :type "lisp")) + :if-does-not-exist nil)) + +(defun load-site-init-file () + (load (make-pathname :name "site-init" :type "lisp" + :defaults *load-truename*) + :if-does-not-exist nil)) + +(funcall (intern (string :warn-unimplemented-interfaces) :swank-backend)) + +(load-site-init-file) +(load-user-init-file) + +;; swank.asd ends here diff --git a/app-emacs/slime/files/digest-slime-1.2.1.20051211 b/app-emacs/slime/files/digest-slime-1.2.1.20051211 new file mode 100644 index 000000000000..5d90b3f00873 --- /dev/null +++ b/app-emacs/slime/files/digest-slime-1.2.1.20051211 @@ -0,0 +1,2 @@ +MD5 4f57feaf262dd67f134de7874701e812 slime-1.2.1-CVS-2005-12-11-gentoo.patch.bz2 106345 +MD5 f7fabc03e1ec5a4d380f0890141058d9 slime-1.2.1.tar.gz 373957 diff --git a/app-emacs/slime/slime-1.2.1.20051211.ebuild b/app-emacs/slime/slime-1.2.1.20051211.ebuild new file mode 100644 index 000000000000..4559adeede4a --- /dev/null +++ b/app-emacs/slime/slime-1.2.1.20051211.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/slime/slime-1.2.1.20051211.ebuild,v 1.1 2005/12/11 19:09:19 mkennedy Exp $ + +inherit elisp eutils + +MY_PV_CVS=${PV:6:4}-${PV:10:2}-${PV:12:2} +MY_PV_BASE=${PV:0:5} + +DESCRIPTION="SLIME, the Superior Lisp Interaction Mode (Extended)" +HOMEPAGE="http://common-lisp.net/project/slime/" + +SRC_URI="http://www.common-lisp.net/project/slime/slime-${MY_PV_BASE}.tar.gz + mirror://gentoo/slime-${MY_PV_BASE}-CVS-${MY_PV_CVS}-gentoo.patch.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="doc" + +DEPEND="virtual/emacs + dev-lisp/common-lisp-controller + virtual/commonlisp + doc? ( sys-apps/texinfo )" + +S="${WORKDIR}/slime-${MY_PV_BASE}" + +CLPACKAGE=swank + +src_unpack() { + unpack ${A} + epatch slime-${MY_PV_BASE}-CVS-${MY_PV_CVS}-gentoo.patch || die +} + +src_compile() { + elisp-comp *.el || die + use doc && make -C doc slime.info +} + +src_install() { + elisp-install ${PN} *.{el,elc} ${FILESDIR}/${PV}/swank-loader.lisp + elisp-site-file-install ${FILESDIR}/${PV}/70slime-gentoo.el + dodoc README* ChangeLog + zcat ${D}/usr/share/doc/${PF}/ChangeLog.gz \ + >${D}/usr/share/emacs/site-lisp/slime/ChangeLog + insinto /usr/share/common-lisp/source/swank + doins *.lisp ${FILESDIR}/${PV}/swank.asd + dodir /usr/share/common-lisp/systems + dosym /usr/share/common-lisp/source/swank/swank.asd \ + /usr/share/common-lisp/systems + dodoc ${FILESDIR}/${PV}/README.Gentoo + if use doc; then + doinfo doc/slime.info + fi +} + +pkg_preinst() { + unregister-common-lisp-source $CLPACKAGE || die +} + +pkg_postrm() { + if ! [ -d /usr/share/common-lisp/source/$CLPACKAGE ]; then + unregister-common-lisp-source $CLPACKAGE || die + fi + elisp-site-regen || die +} + +pkg_postinst() { + register-common-lisp-source $CLPACKAGE || die + elisp-site-regen || die + zcat /usr/share/doc/${PF}/README.Gentoo |while read line; do einfo "${line}"; done +} |