From 01421541d2f60203ae11906600726397c598eeae Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Sun, 6 Aug 2006 04:24:39 +0000 Subject: [PATCH] New upstream version. Package-Manager: portage-2.1.1_pre4-r3 --- app-emacs/slime/ChangeLog | 10 +- app-emacs/slime/Manifest | 42 ++++++--- .../files/2.0.0.20060805/70slime-gentoo.el | 13 +++ .../slime/files/2.0.0.20060805/README.Gentoo | 12 +++ .../files/2.0.0.20060805/swank-loader.lisp | 4 + .../slime/files/2.0.0.20060805/swank.asd | 92 +++++++++++++++++++ .../slime/files/digest-slime-2.0.0.20060805 | 3 + app-emacs/slime/slime-2.0.0.20060805.ebuild | 62 +++++++++++++ 8 files changed, 223 insertions(+), 15 deletions(-) create mode 100644 app-emacs/slime/files/2.0.0.20060805/70slime-gentoo.el create mode 100644 app-emacs/slime/files/2.0.0.20060805/README.Gentoo create mode 100644 app-emacs/slime/files/2.0.0.20060805/swank-loader.lisp create mode 100644 app-emacs/slime/files/2.0.0.20060805/swank.asd create mode 100644 app-emacs/slime/files/digest-slime-2.0.0.20060805 create mode 100644 app-emacs/slime/slime-2.0.0.20060805.ebuild diff --git a/app-emacs/slime/ChangeLog b/app-emacs/slime/ChangeLog index 578b426c3fd7..0696611a4586 100644 --- a/app-emacs/slime/ChangeLog +++ b/app-emacs/slime/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-emacs/slime # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/slime/ChangeLog,v 1.26 2006/06/18 04:42:06 mkennedy Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/slime/ChangeLog,v 1.27 2006/08/06 04:24:39 mkennedy Exp $ + +*slime-2.0.0.20060805 (06 Aug 2006) + + 06 Aug 2006; Matthew Kennedy + +files/2.0.0.20060805/70slime-gentoo.el, + +files/2.0.0.20060805/README.Gentoo, +files/2.0.0.20060805/swank.asd, + +files/2.0.0.20060805/swank-loader.lisp, +slime-2.0.0.20060805.ebuild: + New upstream version. *slime-2.0.0.20060617 (18 Jun 2006) diff --git a/app-emacs/slime/Manifest b/app-emacs/slime/Manifest index 0a1d4ecee78a..19a67968f25f 100644 --- a/app-emacs/slime/Manifest +++ b/app-emacs/slime/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX 1.2.1.20050804/70slime-gentoo.el 569 RMD160 7133265dd0e38df42050bfedc57134c0db9c5b68 SHA1 d2b144096f6f8ee62b63766dbf4903b7233090c4 SHA256 6c3a331793138d5a1eb141738ce3353fdf4f77b9dd73ddb13a5a02c876d28992 MD5 ee1f66aba753cb513ec91d33210dc246 files/1.2.1.20050804/70slime-gentoo.el 569 RMD160 7133265dd0e38df42050bfedc57134c0db9c5b68 files/1.2.1.20050804/70slime-gentoo.el 569 @@ -65,11 +62,28 @@ AUX 2.0.0.20060617/swank.asd 2566 RMD160 52ccd3ce2d398368bfd219a1ea491faaddba22b MD5 5be894eb67f6fb6850ebc99f9c6d23af files/2.0.0.20060617/swank.asd 2566 RMD160 52ccd3ce2d398368bfd219a1ea491faaddba22b9 files/2.0.0.20060617/swank.asd 2566 SHA256 1a0fd671ca1ebed36b96124043cf71033592225d7c345d7aba6455e2951af3ea files/2.0.0.20060617/swank.asd 2566 +AUX 2.0.0.20060805/70slime-gentoo.el 451 RMD160 e15860be7553e588b8f9f547eae42804e2f1a214 SHA1 9b6ef6bf765bc63938086872f4bab0c31ffa5404 SHA256 5816afae1dc4dbb77fe0413504688de0add083aab9217940edf9f6c8f2eb4f36 +MD5 0d610ac7f0c3daa87614b1b72a4d40fd files/2.0.0.20060805/70slime-gentoo.el 451 +RMD160 e15860be7553e588b8f9f547eae42804e2f1a214 files/2.0.0.20060805/70slime-gentoo.el 451 +SHA256 5816afae1dc4dbb77fe0413504688de0add083aab9217940edf9f6c8f2eb4f36 files/2.0.0.20060805/70slime-gentoo.el 451 +AUX 2.0.0.20060805/README.Gentoo 347 RMD160 d14589acdadaa746e145fecf50382d6055c87ae1 SHA1 b0c783443f7d57f6610abf71141bcffaddad34f8 SHA256 fdc51ac5cea0e5cecc83eaed30d086da1f7aa60ded9b98c535445a062c0a3679 +MD5 1ab5127efd37110d1dc0711ec5626a92 files/2.0.0.20060805/README.Gentoo 347 +RMD160 d14589acdadaa746e145fecf50382d6055c87ae1 files/2.0.0.20060805/README.Gentoo 347 +SHA256 fdc51ac5cea0e5cecc83eaed30d086da1f7aa60ded9b98c535445a062c0a3679 files/2.0.0.20060805/README.Gentoo 347 +AUX 2.0.0.20060805/swank-loader.lisp 68 RMD160 28a2624c60122f50ff758923c4ca2ee666ec25ee SHA1 2f1a69b01814de704b9d041096d7c3e20d32faba SHA256 1c42cd16fd6af8e377716c633adb9e0d6172df6001e2aa26eed6a33df420d015 +MD5 cd3eddef773c2bdc1eac336383f13ec6 files/2.0.0.20060805/swank-loader.lisp 68 +RMD160 28a2624c60122f50ff758923c4ca2ee666ec25ee files/2.0.0.20060805/swank-loader.lisp 68 +SHA256 1c42cd16fd6af8e377716c633adb9e0d6172df6001e2aa26eed6a33df420d015 files/2.0.0.20060805/swank-loader.lisp 68 +AUX 2.0.0.20060805/swank.asd 2566 RMD160 52ccd3ce2d398368bfd219a1ea491faaddba22b9 SHA1 58887bd3ee61d13d036f0ede60ae60c8b5aead2a SHA256 1a0fd671ca1ebed36b96124043cf71033592225d7c345d7aba6455e2951af3ea +MD5 5be894eb67f6fb6850ebc99f9c6d23af files/2.0.0.20060805/swank.asd 2566 +RMD160 52ccd3ce2d398368bfd219a1ea491faaddba22b9 files/2.0.0.20060805/swank.asd 2566 +SHA256 1a0fd671ca1ebed36b96124043cf71033592225d7c345d7aba6455e2951af3ea files/2.0.0.20060805/swank.asd 2566 DIST slime-1.2.1-CVS-2005-08-04-gentoo.patch.bz2 35674 DIST slime-1.2.1-CVS-2005-12-11-gentoo.patch.bz2 106345 DIST slime-1.2.1.20060205.tar.gz 451769 RMD160 14558f8b334824c9c235f0f7696eee96d2910f53 SHA256 cf381ac54c524ec08f62cbea41cb84369e2352f76067d7544904db8ccb24432c DIST slime-1.2.1.tar.gz 373957 DIST slime-2.0.0.20060617.tar.gz 473051 RMD160 fb20268b7e2d67b7f9e190d16a09811b6ecdf344 SHA1 e75967ff4f693a663d918595d8243328bd90d692 SHA256 5f0cf57ab69bc2220990550cd25bc7daeb115171a23c10c97c26ff3a1e4b2147 +DIST slime-2.0.0.20060805.tar.gz 475257 RMD160 10f7585ee41473cfa8eff8d72fa1a18cfb844617 SHA1 09a2b6a2145e81c78d0827fc18de0a111b9d57d9 SHA256 d0fe439375fcc41cc2ff9954c21dcb705ccc3431e20b221af6098f7704b999a5 EBUILD slime-1.2.1.20050804.ebuild 2033 RMD160 e676f187c86e9b805f212562d22d0ae7e06da580 SHA1 ab80578aa5194476074ba8715bf0394a9d460240 SHA256 44b3cd29b496e3e32bd992b566e9f6a4b54e884851d3142a71affed996f3aca3 MD5 672b81e68ae0f4dd6dd799319c4fe356 slime-1.2.1.20050804.ebuild 2033 RMD160 e676f187c86e9b805f212562d22d0ae7e06da580 slime-1.2.1.20050804.ebuild 2033 @@ -86,10 +100,14 @@ EBUILD slime-2.0.0.20060617.ebuild 1685 RMD160 13f48dc93ea3c1a6dd2da9685c447b130 MD5 e98cb5dbac820c21b83fd11348624f10 slime-2.0.0.20060617.ebuild 1685 RMD160 13f48dc93ea3c1a6dd2da9685c447b1304fd79a9 slime-2.0.0.20060617.ebuild 1685 SHA256 d72c8475bfc03e66299856fb4979fbd791dc77cec29472de7eb6bcfc4898b8bf slime-2.0.0.20060617.ebuild 1685 -MISC ChangeLog 7206 RMD160 26a29a6e5f6172a662c0bade36caa9afb1ad5ba5 SHA1 5327da8f150560d778e9ed2920a736c74add8a66 SHA256 5ac5f9458a522084d653e5b24949c7a735d4f826566e809164af9b4bbbeff800 -MD5 56808aaee13eedbe0ca186456c559a65 ChangeLog 7206 -RMD160 26a29a6e5f6172a662c0bade36caa9afb1ad5ba5 ChangeLog 7206 -SHA256 5ac5f9458a522084d653e5b24949c7a735d4f826566e809164af9b4bbbeff800 ChangeLog 7206 +EBUILD slime-2.0.0.20060805.ebuild 1691 RMD160 29fba16f3b0cfab0e560d9d08410f2bf11d021d9 SHA1 9b919361642643fc2de963ece7df4013d1058eb9 SHA256 1d0daf5b840d0c52f60e3f9d4cf1eb88b1a9ab0d5c2460baf1e7dac1b139af8a +MD5 f81813f10ad1a9a2075d0adabf0be815 slime-2.0.0.20060805.ebuild 1691 +RMD160 29fba16f3b0cfab0e560d9d08410f2bf11d021d9 slime-2.0.0.20060805.ebuild 1691 +SHA256 1d0daf5b840d0c52f60e3f9d4cf1eb88b1a9ab0d5c2460baf1e7dac1b139af8a slime-2.0.0.20060805.ebuild 1691 +MISC ChangeLog 7509 RMD160 fa56844eb2eb0e8f670261038fb55c5fc1fa284f SHA1 a0c1ea0d237adbf4336d271c267a386c860f67ea SHA256 d7d0c0ed8d3cd54bd279282127851ce87c97693e3d979aa77908a261fcdae790 +MD5 73c96345fecd9d5cfff5f6a732afc9d7 ChangeLog 7509 +RMD160 fa56844eb2eb0e8f670261038fb55c5fc1fa284f ChangeLog 7509 +SHA256 d7d0c0ed8d3cd54bd279282127851ce87c97693e3d979aa77908a261fcdae790 ChangeLog 7509 MISC metadata.xml 1267 RMD160 c7f206f44fcd561788623b4ec596f6e82de74948 SHA1 f91c564e0b518ab158b57faf23d419c144a5898d SHA256 d516dcbafdb0818785833d3a07fe626e74f67cde6f9999e9120b61ec0ae8f172 MD5 185b50ff504c7da6807fffb4e73fc017 metadata.xml 1267 RMD160 c7f206f44fcd561788623b4ec596f6e82de74948 metadata.xml 1267 @@ -106,10 +124,6 @@ SHA256 d5168ee1b9f134aab223f3e95da06a6ed7905364670d2defffc7e737508a2ca2 files/di MD5 daba5195e70ef5665fc6f895ad4417e3 files/digest-slime-2.0.0.20060617 262 RMD160 15e0f6b704449dc4a9a5a83177ed1a1b7cafe5c9 files/digest-slime-2.0.0.20060617 262 SHA256 cb733c4df1b3e886c42bcc6607de71df1cdde039b32e2f41b90170eb2dfba199 files/digest-slime-2.0.0.20060617 262 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.3 (GNU/Linux) - -iD8DBQFElNmkyiNZaEAZA+ARAoCZAJwLh5mA7i/R98xTRz92pKYgAuUD4wCfYyg/ -DxTS6B+PcM+EgO/TEXzst9Q= -=2cNc ------END PGP SIGNATURE----- +MD5 b7d1995692bd2c6468b13fe3f025bb3a files/digest-slime-2.0.0.20060805 262 +RMD160 f1d3e63a42bbe891e769298d25fc74f7a42d972c files/digest-slime-2.0.0.20060805 262 +SHA256 f1e1441ff479d5058d22a4c9b7d0e1f7cd94082447468b53068c8acd3cdebaf6 files/digest-slime-2.0.0.20060805 262 diff --git a/app-emacs/slime/files/2.0.0.20060805/70slime-gentoo.el b/app-emacs/slime/files/2.0.0.20060805/70slime-gentoo.el new file mode 100644 index 000000000000..2687bb5c4f14 --- /dev/null +++ b/app-emacs/slime/files/2.0.0.20060805/70slime-gentoo.el @@ -0,0 +1,13 @@ + +;;; site-lisp configuration for slime-cvs + +(add-to-list 'load-path "@SITELISP@") +(require 'slime) +(slime-setup) + +;; 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/2.0.0.20060805/README.Gentoo b/app-emacs/slime/files/2.0.0.20060805/README.Gentoo new file mode 100644 index 000000000000..99353ee7aa29 --- /dev/null +++ b/app-emacs/slime/files/2.0.0.20060805/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/2.0.0.20060805/swank-loader.lisp b/app-emacs/slime/files/2.0.0.20060805/swank-loader.lisp new file mode 100644 index 000000000000..4d9b157312e6 --- /dev/null +++ b/app-emacs/slime/files/2.0.0.20060805/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/2.0.0.20060805/swank.asd b/app-emacs/slime/files/2.0.0.20060805/swank.asd new file mode 100644 index 000000000000..48b9335c5679 --- /dev/null +++ b/app-emacs/slime/files/2.0.0.20060805/swank.asd @@ -0,0 +1,92 @@ +;;; -*- mode: lisp; syntax: common-lisp; package: common-lisp -*- + +(defpackage #:swank-system + (:use #:common-lisp + #:asdf)) + +(defpackage #:swank-loader + (:use #:common-lisp) + (:export #:*source-directory* + #:load-swank)) + +(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) + +(defvar *source-directory* + (make-pathname :name nil :type nil + :defaults (or *load-pathname* *default-pathname-defaults*)) + "The directory where to look for the source.") + + +(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 (directory) + (load (make-pathname :name "site-init" :type "lisp" + :defaults directory) + :if-does-not-exist nil)) + +(defun load-swank (&key (source-directory *source-directory*)) + (asdf:oos 'asdf:load-op :swank) + (funcall (intern (string :warn-unimplemented-interfaces) :swank-backend)) + (load-site-init-file source-directory) + (load-user-init-file)) + +(load-swank) + +;; swank.asd ends here diff --git a/app-emacs/slime/files/digest-slime-2.0.0.20060805 b/app-emacs/slime/files/digest-slime-2.0.0.20060805 new file mode 100644 index 000000000000..73f0bdb3cd97 --- /dev/null +++ b/app-emacs/slime/files/digest-slime-2.0.0.20060805 @@ -0,0 +1,3 @@ +MD5 68f2b0a712c9bf68f99d58c06584b73f slime-2.0.0.20060805.tar.gz 475257 +RMD160 10f7585ee41473cfa8eff8d72fa1a18cfb844617 slime-2.0.0.20060805.tar.gz 475257 +SHA256 d0fe439375fcc41cc2ff9954c21dcb705ccc3431e20b221af6098f7704b999a5 slime-2.0.0.20060805.tar.gz 475257 diff --git a/app-emacs/slime/slime-2.0.0.20060805.ebuild b/app-emacs/slime/slime-2.0.0.20060805.ebuild new file mode 100644 index 000000000000..0a88d0c5f024 --- /dev/null +++ b/app-emacs/slime/slime-2.0.0.20060805.ebuild @@ -0,0 +1,62 @@ +# 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-2.0.0.20060805.ebuild,v 1.1 2006/08/06 04:24:39 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 + +S=${WORKDIR}/slime/slime + +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 HACKING NEWS PROBLEMS + 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 +} -- 2.26.2