diff options
author | Ulrich Müller <ulm@gentoo.org> | 2010-02-03 19:24:02 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2010-02-03 19:24:02 +0000 |
commit | 4c456ce56dbe18add903608f9e986fb6f35c2d16 (patch) | |
tree | db25580f801b25f279dabef4d424babf6b77664d /app-emacs/slime | |
parent | Add patch per bug #295511. (diff) | |
download | historical-4c456ce56dbe18add903608f9e986fb6f35c2d16.tar.gz historical-4c456ce56dbe18add903608f9e986fb6f35c2d16.tar.bz2 historical-4c456ce56dbe18add903608f9e986fb6f35c2d16.zip |
Add prefix keywords, change EAPI to 3. New xref USE flag.
Package-Manager: portage-2.2_rc62/cvs/Linux i686
Diffstat (limited to 'app-emacs/slime')
-rw-r--r-- | app-emacs/slime/ChangeLog | 10 | ||||
-rw-r--r-- | app-emacs/slime/Manifest | 15 | ||||
-rw-r--r-- | app-emacs/slime/files/2.0_p20080731/70slime-gentoo.el | 3 | ||||
-rw-r--r-- | app-emacs/slime/metadata.xml | 3 | ||||
-rw-r--r-- | app-emacs/slime/slime-2.0_p20080731-r1.ebuild | 86 |
5 files changed, 105 insertions, 12 deletions
diff --git a/app-emacs/slime/ChangeLog b/app-emacs/slime/ChangeLog index 45fd5c29eef4..ea734072d77a 100644 --- a/app-emacs/slime/ChangeLog +++ b/app-emacs/slime/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-emacs/slime -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/slime/ChangeLog,v 1.67 2009/03/25 14:02:26 ulm Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/slime/ChangeLog,v 1.68 2010/02/03 19:24:02 ulm Exp $ + +*slime-2.0_p20080731-r1 (03 Feb 2010) + + 03 Feb 2010; Ulrich Mueller <ulm@gentoo.org> + +slime-2.0_p20080731-r1.ebuild, metadata.xml: + Add prefix keywords, change EAPI to 3. New xref USE flag. 25 Mar 2009; Ulrich Mueller <ulm@gentoo.org> files/2.0_p20080731/70slime-gentoo.el: diff --git a/app-emacs/slime/Manifest b/app-emacs/slime/Manifest index 6f7adca347b4..70e32bcdedaa 100644 --- a/app-emacs/slime/Manifest +++ b/app-emacs/slime/Manifest @@ -1,7 +1,7 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX 2.0_p20080731/70slime-gentoo.el 562 RMD160 48291e6b3cc701b694e374cd6338945d60191fad SHA1 cb0c83b625306a84e47636359787d5f03372b2e3 SHA256 a7b2626b7514d2b21826439897ca9a4bb5be56fe3623312ef7aadb94494fb92b +AUX 2.0_p20080731/70slime-gentoo.el 526 RMD160 3a3c6ff6d4ec85b5040dc3d18ea51196e5d21b75 SHA1 a92f75d5e5752dd8482fb6c1ec21918afdf54247 SHA256 962ab66f1eb1a2ec4a52c61a59f4fc364978d21373c27f293be2fccccfe135db AUX 2.0_p20080731/changelog-date.patch 714 RMD160 8abca38743900a336fd02058f6d950e62c723dd0 SHA1 22143dd9d4d30130b77cc92badc1c149ab19c5f9 SHA256 9d02ec5b9c96f5d8bd910b237d7d5c75fc350f7ebc226502288e6fe2042629e3 AUX 2.0_p20080731/dont-call-init.patch 543 RMD160 0e9f88090494cc8be14324fabe8740600f6fb2fc SHA1 828a9bad5a923b99063d4fb5c6afc95dd7553a38 SHA256 a390464d246590b1eef5933d5d97e9e21103bae30bb7e57e521ef495f9651b9c AUX 2.0_p20080731/fix-ecl.patch 2680 RMD160 873b470c74f222d39de6b0b10e12ef8e27075577 SHA1 3298a077c4fa6462eb766470a5a294305454ae33 SHA256 e7d73991b2c79f129e2ffd1f97e722b259d3c117177e4e4918b516a45ee426e4 @@ -12,13 +12,14 @@ AUX 2.0_p20080731/module-load-gentoo.patch 1775 RMD160 830a2bd9cb53f98ebba1af46d AUX 2.0_p20080731/swank.asd 3145 RMD160 c5404bd51c76d0aea57dc1867c3eb5a9837d4404 SHA1 d491856a6f63b69a67e8bb5b09916895db41b04c SHA256 d89564abc939fbc9dbb14369260f80ec1ae201464af2c96158ecc7217891165b AUX swank-loader.lisp 68 RMD160 28a2624c60122f50ff758923c4ca2ee666ec25ee SHA1 2f1a69b01814de704b9d041096d7c3e20d32faba SHA256 1c42cd16fd6af8e377716c633adb9e0d6172df6001e2aa26eed6a33df420d015 DIST slime-2.0_p20080731.tar.bz2 596093 RMD160 fd900b6f872ef134810dc8db0ee0bd467109b002 SHA1 464cf65d79eb8d895a27dbdf166490d3bb315470 SHA256 7c5f3ab65a0e76ff042230a34213f558d9a57c00ef22380876bf9cde9717354b +EBUILD slime-2.0_p20080731-r1.ebuild 3043 RMD160 ef895e2c3f8b15f85076b1d07cba836c25c37fde SHA1 5e1469bbef6b8bacf97e0f18227f2306d0868d2d SHA256 5d68fb0dac51c73662e999351e03077f2d7c410322f1e3e4fe55bff4fdc1dcea EBUILD slime-2.0_p20080731.ebuild 2856 RMD160 6293fbbafc224e82de8a35ebf0f7288b9e6323a3 SHA1 7ee1f08d6f333d4cfd8c133fd7932373532ee652 SHA256 22b23e5c23439186fd0e4951c17f71fde5b2ec744c05a5d3588af00cfe291bdf -MISC ChangeLog 15737 RMD160 e07946799529fb79c3813b73a2458a952789de42 SHA1 a23e019f76af536769d70bf9d942557a4d185042 SHA256 28e7313f0c47f74d0fa4d92a5619e6aea943e167cc7618c599a6042b7358c77c -MISC metadata.xml 1267 RMD160 c7f206f44fcd561788623b4ec596f6e82de74948 SHA1 f91c564e0b518ab158b57faf23d419c144a5898d SHA256 d516dcbafdb0818785833d3a07fe626e74f67cde6f9999e9120b61ec0ae8f172 +MISC ChangeLog 15932 RMD160 a71f54c2867fcb24b80c4924a1c0923f6eb25fe9 SHA1 a68a5437f73f77c5a3113077abf451d704dd6e45 SHA256 66701d8f3bef7a888331049c28f5f646d6dcfb37a5edb2e9c92f31267239ed2b +MISC metadata.xml 1348 RMD160 57926d6432d202b231a11b9e4b89c010a394238b SHA1 d858e15144311d7f0f420abe61ea54afffeef2d0 SHA256 d2fb2fdc46daf7c6f59260a6a05e745d54f1d7292078fc21c33bec36cda862c1 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.9 (GNU/Linux) +Version: GnuPG v2.0.14 (GNU/Linux) -iEYEARECAAYFAknKOcUACgkQOeoy/oIi7uwUGACfR/KohQ4VxQJ74bPbo23rFYPW -ImEAn0qGuh6QsThGN+ji5BE0SYpsivYF -=ZFDu +iEYEARECAAYFAktpzWYACgkQOeoy/oIi7uwinACfYamXOe1U15BG3e4+opNdCygo +lQMAoOscsgmjW16oDls+kPTw+ThMhd+J +=EZ3Q -----END PGP SIGNATURE----- diff --git a/app-emacs/slime/files/2.0_p20080731/70slime-gentoo.el b/app-emacs/slime/files/2.0_p20080731/70slime-gentoo.el index d5b3f82e0536..6dfd505133e2 100644 --- a/app-emacs/slime/files/2.0_p20080731/70slime-gentoo.el +++ b/app-emacs/slime/files/2.0_p20080731/70slime-gentoo.el @@ -1,6 +1,3 @@ - -;;; slime site-lisp configuration - (add-to-list 'load-path "@SITELISP@") (add-to-list 'load-path "@SITELISP@/contrib") (autoload 'slime-highlight-edits-mode "slime-highlight-edits" nil t) diff --git a/app-emacs/slime/metadata.xml b/app-emacs/slime/metadata.xml index 206871240493..d33d27c275c4 100644 --- a/app-emacs/slime/metadata.xml +++ b/app-emacs/slime/metadata.xml @@ -28,4 +28,7 @@ systems such Emacs Lisp and ILISP. Feature highlights include: * Inspector: Interactive object-inspector in an Emacs buffer. </longdescription> +<use> + <flag name='xref'>Install xref.lisp cross-referencing tool</flag> +</use> </pkgmetadata> diff --git a/app-emacs/slime/slime-2.0_p20080731-r1.ebuild b/app-emacs/slime/slime-2.0_p20080731-r1.ebuild new file mode 100644 index 000000000000..f90afdfe79db --- /dev/null +++ b/app-emacs/slime/slime-2.0_p20080731-r1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/slime/slime-2.0_p20080731-r1.ebuild,v 1.1 2010/02/03 19:24:02 ulm Exp $ + +EAPI=3 + +inherit common-lisp elisp eutils + +DESCRIPTION="SLIME, the Superior Lisp Interaction Mode (Extended)" +HOMEPAGE="http://common-lisp.net/project/slime/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2 xref? ( xref.lisp )" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos" +IUSE="doc xref" + +RDEPEND="virtual/commonlisp dev-lisp/cl-asdf" +DEPEND="${RDEPEND} + doc? ( virtual/texi2dvi )" + +CLPACKAGE=swank +SITEFILE="70${PN}-gentoo.el" + +src_prepare() { + epatch "${FILESDIR}"/${PV}/module-load-gentoo.patch + epatch "${FILESDIR}"/${PV}/dont-call-init.patch + epatch "${FILESDIR}"/${PV}/inspect-presentations.patch + epatch "${FILESDIR}"/${PV}/fix-ecl.patch + epatch "${FILESDIR}"/${PV}/fix-swank-listener-hooks-contrib.patch + epatch "${FILESDIR}"/${PV}/fix-slime-indentation.patch + epatch "${FILESDIR}"/${PV}/changelog-date.patch + + # extract date of last update from ChangeLog, bug 233270 + SLIME_CHANGELOG_DATE=$(awk '/^[-0-9]+ / { print $1; exit; }' ChangeLog) + [ -n "${SLIME_CHANGELOG_DATE}" ] || die "cannot determine ChangeLog date" + + sed -i "/(defvar \*swank-wire-protocol-version\*/s:nil:\"${SLIME_CHANGELOG_DATE}\":" swank.lisp \ + || die "sed swank.lisp failed" + sed -i "s:@SLIME-CHANGELOG-DATE@:${SLIME_CHANGELOG_DATE}:" slime.el \ + || die "sed slime.el failed" + + # Remove xref.lisp (which is non-free) unless USE flag is set + use xref || rm -f xref.lisp +} + +src_compile() { + elisp-compile *.el || die "Cannot compile core Elisp files" + BYTECOMPFLAGS="${BYTECOMPFLAGS} -L contrib -l slime" \ + elisp-compile contrib/*.el || die "Cannot compile contrib Elisp files" + emake -j1 -C doc slime.info || die "Cannot build info docs" + if use doc; then + VARTEXFONTS="${T}"/fonts \ + emake -j1 -C doc slime.{ps,pdf} || die "emake doc failed" + fi +} + +src_install() { + ## install core + elisp-install ${PN} *.el{,c} "${FILESDIR}"/swank-loader.lisp \ + || die "Cannot install SLIME core" + sed "s:/usr/:${EPREFIX}&:" "${FILESDIR}"/${PV}/${SITEFILE} \ + >"${T}"/${SITEFILE} || die "sed failed" + elisp-site-file-install "${T}"/${SITEFILE} || die + cp "${FILESDIR}"/${PV}/swank.asd "${S}" + # remove upstream swank-loader, since it won't be used + rm "${S}"/swank-loader.lisp + insinto "${CLSOURCEROOT%/}"/swank + doins *.lisp "${FILESDIR}"/${PV}/swank.asd + dodir "${CLSYSTEMROOT}" + dosym "${CLSOURCEROOT%/}"/swank/swank.asd "${CLSYSTEMROOT}" + dosym "${SITELISP}"/${PN}/swank-version.el "${CLSOURCEROOT%/}"/swank + + ## install contribs + elisp-install ${PN}/contrib/ contrib/*.{el,elc,scm,goo} \ + || die "Cannot install contribs" + insinto "${CLSOURCEROOT%/}"/swank/contrib + doins contrib/*.lisp + + ## install docs + dodoc README* ChangeLog HACKING NEWS PROBLEMS + newdoc contrib/README README.contrib + newdoc contrib/ChangeLog ChangeLog.contrib + doinfo doc/slime.info + use doc && dodoc doc/slime.{ps,pdf} +} |