From f08cffaee649c3e94a10bff292b5e2e70aa8a166 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Sun, 5 Feb 2006 08:51:08 +0000 Subject: New upstream version. (Portage version: 2.1_pre4-r1) --- app-emacs/slime/ChangeLog | 12 +++- app-emacs/slime/Manifest | 56 ++++++++++++--- .../slime/files/1.2.1.20060205/70slime-gentoo.el | 16 +++++ app-emacs/slime/files/1.2.1.20060205/README.Gentoo | 12 ++++ .../slime/files/1.2.1.20060205/swank-loader.lisp | 4 ++ app-emacs/slime/files/1.2.1.20060205/swank.asd | 81 ++++++++++++++++++++++ app-emacs/slime/files/digest-slime-1.2.1.20060205 | 3 + app-emacs/slime/slime-1.2.1.20060205.ebuild | 60 ++++++++++++++++ 8 files changed, 232 insertions(+), 12 deletions(-) create mode 100644 app-emacs/slime/files/1.2.1.20060205/70slime-gentoo.el create mode 100644 app-emacs/slime/files/1.2.1.20060205/README.Gentoo create mode 100644 app-emacs/slime/files/1.2.1.20060205/swank-loader.lisp create mode 100644 app-emacs/slime/files/1.2.1.20060205/swank.asd create mode 100644 app-emacs/slime/files/digest-slime-1.2.1.20060205 create mode 100644 app-emacs/slime/slime-1.2.1.20060205.ebuild (limited to 'app-emacs') diff --git a/app-emacs/slime/ChangeLog b/app-emacs/slime/ChangeLog index d2f2d45c52c0..08014b078cbd 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.23 2005/12/11 19:31:07 mkennedy Exp $ +# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/slime/ChangeLog,v 1.24 2006/02/05 08:51:07 mkennedy Exp $ + +*slime-1.2.1.20060205 (05 Feb 2006) + + 05 Feb 2006; Matthew Kennedy + +files/1.2.1.20060205/70slime-gentoo.el, + +files/1.2.1.20060205/README.Gentoo, +files/1.2.1.20060205/swank.asd, + +files/1.2.1.20060205/swank-loader.lisp, +slime-1.2.1.20060205.ebuild: + New upstream version. 11 Dec 2005; Matthew Kennedy files/1.2.1.20051211/swank.asd: diff --git a/app-emacs/slime/Manifest b/app-emacs/slime/Manifest index 619aa9ac7e40..0ed1006be9ef 100644 --- a/app-emacs/slime/Manifest +++ b/app-emacs/slime/Manifest @@ -1,24 +1,60 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 a96f23e112c116e07b092e62888f08ba ChangeLog 6397 +RMD160 30b04859b52bb4bb2c0295590b4d229f46019c30 ChangeLog 6397 +SHA256 da5c4073f15582f54b4facf60b71275d80b863bb1c2bc1ea63211174c1aab388 ChangeLog 6397 MD5 ee1f66aba753cb513ec91d33210dc246 files/1.2.1.20050804/70slime-gentoo.el 569 +RMD160 7133265dd0e38df42050bfedc57134c0db9c5b68 files/1.2.1.20050804/70slime-gentoo.el 569 +SHA256 6c3a331793138d5a1eb141738ce3353fdf4f77b9dd73ddb13a5a02c876d28992 files/1.2.1.20050804/70slime-gentoo.el 569 MD5 a6f665debad6ee005b99b5ae3d3aeedb files/1.2.1.20050804/README.Gentoo 349 +RMD160 cb74eb4e1042b9943cdb6a4e8c7a9b9e0f4a2a52 files/1.2.1.20050804/README.Gentoo 349 +SHA256 a49653970dca358d9420892890848661be57ebe68685ce41678ceb43bc7222a3 files/1.2.1.20050804/README.Gentoo 349 MD5 cd3eddef773c2bdc1eac336383f13ec6 files/1.2.1.20050804/swank-loader.lisp 68 +RMD160 28a2624c60122f50ff758923c4ca2ee666ec25ee files/1.2.1.20050804/swank-loader.lisp 68 +SHA256 1c42cd16fd6af8e377716c633adb9e0d6172df6001e2aa26eed6a33df420d015 files/1.2.1.20050804/swank-loader.lisp 68 MD5 80cd96bdd0caca9767147a2cf1f08769 files/1.2.1.20050804/swank.asd 2191 +RMD160 5840391b2ded0a8a88cece046b77a0f5a173be9a files/1.2.1.20050804/swank.asd 2191 +SHA256 27f4e87766f70d1e3846925a2ca478f018542b7db2410aca831b752c517ea48c files/1.2.1.20050804/swank.asd 2191 MD5 ee1f66aba753cb513ec91d33210dc246 files/1.2.1.20051211/70slime-gentoo.el 569 +RMD160 7133265dd0e38df42050bfedc57134c0db9c5b68 files/1.2.1.20051211/70slime-gentoo.el 569 +SHA256 6c3a331793138d5a1eb141738ce3353fdf4f77b9dd73ddb13a5a02c876d28992 files/1.2.1.20051211/70slime-gentoo.el 569 MD5 1ab5127efd37110d1dc0711ec5626a92 files/1.2.1.20051211/README.Gentoo 347 +RMD160 d14589acdadaa746e145fecf50382d6055c87ae1 files/1.2.1.20051211/README.Gentoo 347 +SHA256 fdc51ac5cea0e5cecc83eaed30d086da1f7aa60ded9b98c535445a062c0a3679 files/1.2.1.20051211/README.Gentoo 347 MD5 cd3eddef773c2bdc1eac336383f13ec6 files/1.2.1.20051211/swank-loader.lisp 68 +RMD160 28a2624c60122f50ff758923c4ca2ee666ec25ee files/1.2.1.20051211/swank-loader.lisp 68 +SHA256 1c42cd16fd6af8e377716c633adb9e0d6172df6001e2aa26eed6a33df420d015 files/1.2.1.20051211/swank-loader.lisp 68 MD5 2fb7f0df5e95786860d421a83618720a files/1.2.1.20051211/swank.asd 2161 +RMD160 57699bd2a0f8325b30715948dbd1dc688fd0f8c1 files/1.2.1.20051211/swank.asd 2161 +SHA256 e35f51cc7b91414bbc3df979de60245b4d4c7229d3f1f889f96718bb04482930 files/1.2.1.20051211/swank.asd 2161 +MD5 ee1f66aba753cb513ec91d33210dc246 files/1.2.1.20060205/70slime-gentoo.el 569 +RMD160 7133265dd0e38df42050bfedc57134c0db9c5b68 files/1.2.1.20060205/70slime-gentoo.el 569 +SHA256 6c3a331793138d5a1eb141738ce3353fdf4f77b9dd73ddb13a5a02c876d28992 files/1.2.1.20060205/70slime-gentoo.el 569 +MD5 1ab5127efd37110d1dc0711ec5626a92 files/1.2.1.20060205/README.Gentoo 347 +RMD160 d14589acdadaa746e145fecf50382d6055c87ae1 files/1.2.1.20060205/README.Gentoo 347 +SHA256 fdc51ac5cea0e5cecc83eaed30d086da1f7aa60ded9b98c535445a062c0a3679 files/1.2.1.20060205/README.Gentoo 347 +MD5 cd3eddef773c2bdc1eac336383f13ec6 files/1.2.1.20060205/swank-loader.lisp 68 +RMD160 28a2624c60122f50ff758923c4ca2ee666ec25ee files/1.2.1.20060205/swank-loader.lisp 68 +SHA256 1c42cd16fd6af8e377716c633adb9e0d6172df6001e2aa26eed6a33df420d015 files/1.2.1.20060205/swank-loader.lisp 68 +MD5 2fb7f0df5e95786860d421a83618720a files/1.2.1.20060205/swank.asd 2161 +RMD160 57699bd2a0f8325b30715948dbd1dc688fd0f8c1 files/1.2.1.20060205/swank.asd 2161 +SHA256 e35f51cc7b91414bbc3df979de60245b4d4c7229d3f1f889f96718bb04482930 files/1.2.1.20060205/swank.asd 2161 MD5 5dc9040c865b8807c7a2ccb040587b2a files/digest-slime-1.2.1.20050804 150 +RMD160 5e8222125cafab03dfb14cc19179058641a4a85f files/digest-slime-1.2.1.20050804 150 +SHA256 3d3dbb1cbefa8372e4c5865c3e9a6730965dc185a311a54bec45d6015cc50cbf files/digest-slime-1.2.1.20050804 150 MD5 f5335ea0a6e7f6aab6972933dd924284 files/digest-slime-1.2.1.20051211 151 +RMD160 54a3b7b0593bee5c5c827030a877b5420aca0b36 files/digest-slime-1.2.1.20051211 151 +SHA256 357d06bc2e3ff61f97f9f6d8392023089482baee4a2876ddb78dd195d0969f7c files/digest-slime-1.2.1.20051211 151 +MD5 10be287684f222bed544aaa473e53032 files/digest-slime-1.2.1.20060205 262 +RMD160 084e5b2475fabb141268d4d045f2b9f73096234d files/digest-slime-1.2.1.20060205 262 +SHA256 d5168ee1b9f134aab223f3e95da06a6ed7905364670d2defffc7e737508a2ca2 files/digest-slime-1.2.1.20060205 262 MD5 185b50ff504c7da6807fffb4e73fc017 metadata.xml 1267 +RMD160 c7f206f44fcd561788623b4ec596f6e82de74948 metadata.xml 1267 +SHA256 d516dcbafdb0818785833d3a07fe626e74f67cde6f9999e9120b61ec0ae8f172 metadata.xml 1267 MD5 672b81e68ae0f4dd6dd799319c4fe356 slime-1.2.1.20050804.ebuild 2033 +RMD160 e676f187c86e9b805f212562d22d0ae7e06da580 slime-1.2.1.20050804.ebuild 2033 +SHA256 44b3cd29b496e3e32bd992b566e9f6a4b54e884851d3142a71affed996f3aca3 slime-1.2.1.20050804.ebuild 2033 MD5 2ac38cb2bf7f7c9fa59f01b94fa3cbb5 slime-1.2.1.20051211.ebuild 1950 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFDnH6HyiNZaEAZA+ARAgDrAJ91VmOECVBB8wRB3eK4kKtwNxIV7QCggdjr -ZWnWz3UYJGBsAWGYIK/6DSo= -=MZFs ------END PGP SIGNATURE----- +RMD160 59f8a4d61b17d9956c3544ee863d08601d6877bf slime-1.2.1.20051211.ebuild 1950 +SHA256 fec1e1158384e8351f32020b5decbcfc25f63a8d2ed53ec7171f104fb7355392 slime-1.2.1.20051211.ebuild 1950 +MD5 31360c3f8277746a723f786daa6ac01d slime-1.2.1.20060205.ebuild 1643 +RMD160 782b2ffcf8be524cf70562b824b894b29d33c383 slime-1.2.1.20060205.ebuild 1643 +SHA256 82b1885f4351a709c3d3b7849e5430c25eeeb9ee675a1995cb3d9c42e255abdd slime-1.2.1.20060205.ebuild 1643 diff --git a/app-emacs/slime/files/1.2.1.20060205/70slime-gentoo.el b/app-emacs/slime/files/1.2.1.20060205/70slime-gentoo.el new file mode 100644 index 000000000000..105a1c76e689 --- /dev/null +++ b/app-emacs/slime/files/1.2.1.20060205/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.20060205/README.Gentoo b/app-emacs/slime/files/1.2.1.20060205/README.Gentoo new file mode 100644 index 000000000000..99353ee7aa29 --- /dev/null +++ b/app-emacs/slime/files/1.2.1.20060205/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 + diff --git a/app-emacs/slime/files/1.2.1.20060205/swank-loader.lisp b/app-emacs/slime/files/1.2.1.20060205/swank-loader.lisp new file mode 100644 index 000000000000..4d9b157312e6 --- /dev/null +++ b/app-emacs/slime/files/1.2.1.20060205/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.20060205/swank.asd b/app-emacs/slime/files/1.2.1.20060205/swank.asd new file mode 100644 index 000000000000..ddcd9f0c97ed --- /dev/null +++ b/app-emacs/slime/files/1.2.1.20060205/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.20060205 b/app-emacs/slime/files/digest-slime-1.2.1.20060205 new file mode 100644 index 000000000000..552d06c11594 --- /dev/null +++ b/app-emacs/slime/files/digest-slime-1.2.1.20060205 @@ -0,0 +1,3 @@ +MD5 9c9c00e76919ce4780065121ddd6f199 slime-1.2.1.20060205.tar.gz 451769 +RMD160 14558f8b334824c9c235f0f7696eee96d2910f53 slime-1.2.1.20060205.tar.gz 451769 +SHA256 cf381ac54c524ec08f62cbea41cb84369e2352f76067d7544904db8ccb24432c slime-1.2.1.20060205.tar.gz 451769 diff --git a/app-emacs/slime/slime-1.2.1.20060205.ebuild b/app-emacs/slime/slime-1.2.1.20060205.ebuild new file mode 100644 index 000000000000..3b68f73f3b68 --- /dev/null +++ b/app-emacs/slime/slime-1.2.1.20060205.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2006 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.20060205.ebuild,v 1.1 2006/02/05 08:51:07 mkennedy Exp $ + +inherit elisp eutils + +DESCRIPTION="SLIME, the Superior Lisp Interaction Mode (Extended)" +HOMEPAGE="http://common-lisp.net/project/slime/" + +SRC_URI="mirror://gentoo/${P}.tar.gz" +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 )" + +CLPACKAGE=swank + +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 +} -- cgit v1.2.3-65-gdbad