public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/lisp:master commit in: app-emacs/slime/, app-emacs/slime/files/
@ 2018-04-08 15:40 José María Alonso
  0 siblings, 0 replies; 3+ messages in thread
From: José María Alonso @ 2018-04-08 15:40 UTC (permalink / raw
  To: gentoo-commits

commit:     3fea7beee694cc0d1e63127e4a6aef19128fd99b
Author:     Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  8 15:40:07 2018 +0000
Commit:     José María Alonso <nimiux <AT> gentoo <DOT> org>
CommitDate: Sun Apr  8 15:40:07 2018 +0000
URL:        https://gitweb.gentoo.org/proj/lisp.git/commit/?id=3fea7bee

app-emacs/slime: Fixes doc build

 .../slime/files/slime-2.20-fix-doc-build.patch     | 94 ++++++++++++++++++++++
 app-emacs/slime/files/swank-loader.lisp            |  4 -
 app-emacs/slime/metadata.xml                       | 43 ++++++++++
 app-emacs/slime/slime-2.20.ebuild                  | 18 +++--
 4 files changed, 148 insertions(+), 11 deletions(-)

diff --git a/app-emacs/slime/files/slime-2.20-fix-doc-build.patch b/app-emacs/slime/files/slime-2.20-fix-doc-build.patch
new file mode 100644
index 00000000..c95608c7
--- /dev/null
+++ b/app-emacs/slime/files/slime-2.20-fix-doc-build.patch
@@ -0,0 +1,94 @@
+diff -Nuar a/doc/slime.texi b/doc/slime.texi
+--- a/doc/slime.texi	2017-08-28 13:51:57.000000000 +0200
++++ b/doc/slime.texi	2018-04-08 17:21:16.004697168 +0200
+@@ -1219,7 +1219,8 @@
+ Describe the slot at point.
+ 
+ @kbditem{e, slime-inspector-eval}
+-Evaluate an expression in the context of the inspected object.
++Evaluate an expression in the context of the inspected object.  The
++variable @code{*} will be bound to the inspected object.
+ 
+ @kbditem{v, slime-inspector-toggle-verbose}
+ Toggle between verbose and terse mode. Default is determined by
+@@ -1250,8 +1251,7 @@
+ Store the value under point in the variable `*'.  This can
+ then be used to access the object in the REPL.
+ 
+-@kbditempair{TAB, S-TAB, slime-inspector-next-inspectable-object,
+-slime-inspector-previous-inspectable-object}
++@kbditempair{TAB, S-TAB, slime-inspector-next-inspectable-object, slime-inspector-previous-inspectable-object}
+ 
+ Jump to the next and previous inspectable object respectively.
+ 
+@@ -2016,7 +2016,7 @@
+ On the emacs side you will use something like
+ @example
+ (setq slime-net-coding-system 'utf-8-unix)
+-(slime-connect "127.0.0.1" 4005))
++(slime-connect "localhost" 4005))
+ @end example
+ to connect to this lisp image from the same machine.
+ 
+@@ -2028,7 +2028,7 @@
+ remote machine.
+ 
+ @example
+-ssh -L4005:127.0.0.1:4005 username@@remote.example.com
++ssh -L4005:localhost:4005 username@@remote.example.com
+ @end example
+ 
+ That ssh invocation creates an ssh tunnel between the port 4005 on our
+@@ -2044,9 +2044,9 @@
+ @end example
+ 
+ The @kbd{RET RET} sequence just means that we want to use the default
+-host (@code{127.0.0.1}) and the default port (@code{4005}). Even
++host (@code{localhost}) and the default port (@code{4005}). Even
+ though we're connecting to a remote machine the ssh tunnel fools Emacs
+-into thinking it's actually @code{127.0.0.1}.
++into thinking it's actually @code{localhost}.
+ 
+ @c -----------------------
+ @node Setting up pathname translations
+@@ -2323,8 +2323,7 @@
+ 
+ @table @kbd
+ 
+-@kbditempair{C-<up>, C-<down>,
+-             slime-repl-forward-input, slime-repl-backward-input}
++@kbditempair{C-<up>, C-<down>, slime-repl-forward-input, slime-repl-backward-input}
+ Go to the next/previous history item.
+ 
+ @kbditempair{M-n, M-p, slime-repl-next-input, slime-repl-previous-input}
+@@ -2333,16 +2332,14 @@
+ a row, the second invocation uses the same search pattern (even if the
+ current input has changed).
+ 
+-@kbditempair{M-s, M-r,
+-slime-repl-next-matching-input, slime-repl-previous-matching-input}
++@kbditempair{M-s, M-r, slime-repl-next-matching-input, slime-repl-previous-matching-input}
+ Search forward/reverse through command history with regex
+ 
+ @c @code{slime-repl-@{next,previous@}-input}@*
+ @c @code{slime-repl-@{next,previous@}-matching-input}@*
+ @c @code{comint}-style input history commands.
+ 
+-@kbditempair{C-c C-n, C-c C-p,
+-slime-repl-next-prompt, slime-repl-previous-prompt}
++@kbditempair{C-c C-n, C-c C-p, slime-repl-next-prompt, slime-repl-previous-prompt}
+ Move between the current and previous prompts in the @REPL{} buffer.
+ Pressing RET on a line with old input copies that line to the newest
+ prompt.
+@@ -2655,6 +2652,11 @@
+ If @code{slime-autodoc-use-multiline-p} is set to non-nil,
+ allow long autodoc messages to resize echo area display.
+ 
++@vindex slime-autodoc-mode-string
++@code{slime-autodoc-mode-string} is a string that will be displayed in
++the mode line when autodoc-mode is enabled, or nil, if you prefer no
++indication. You can customize this variable.
++
+ @node ASDF
+ @section ASDF
+ 

diff --git a/app-emacs/slime/files/swank-loader.lisp b/app-emacs/slime/files/swank-loader.lisp
deleted file mode 100644
index 4d9b1573..00000000
--- a/app-emacs/slime/files/swank-loader.lisp
+++ /dev/null
@@ -1,4 +0,0 @@
-
-;; This file is NOT part of SLIME
-
-(asdf:oos 'asdf:load-op :swank)

diff --git a/app-emacs/slime/metadata.xml b/app-emacs/slime/metadata.xml
new file mode 100644
index 00000000..17cb00f7
--- /dev/null
+++ b/app-emacs/slime/metadata.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+  <email>gnu-emacs@gentoo.org</email>
+  <name>Gentoo GNU Emacs project</name>
+</maintainer>
+<maintainer type="project">
+  <email>common-lisp@gentoo.org</email>
+  <name>Gentoo Common Lisp Project</name>
+</maintainer>
+<longdescription>
+  SLIME: The Superior Lisp Interaction Mode for Emacs.  SLIME is a
+  fresh, new Emacs mode for Common Lisp development inspired by existing
+  systems such Emacs Lisp and ILISP. Feature highlights include:
+
+    * slime-mode: An Emacs minor-mode to enhance lisp-mode with:
+      o Code evaluation, compilation, and macroexpansion.
+      o Online documentation (describe, apropos, hyperspec).
+      o Definition finding (aka Meta-Point aka M-.).
+      o Symbol and package name completion.
+      o Automatic macro indentation based on &amp;body.
+      o Cross-reference interface (WHO-CALLS, etc).
+      o ... and more.
+
+    * SLDB: Common Lisp debugger with an Emacs-based user interface.
+
+    * REPL: The Read-Eval-Print Loop ("top-level") is written in Emacs
+      Lisp for tighter integration with Emacs. The REPL also has builtin
+      "shortcut" commands similar those of the McCLIM Listener.
+
+    * Compilation notes: SLIME is able to take compiler messages and
+      annotate them directly into source buffers.
+
+    * Inspector: Interactive object-inspector in an Emacs buffer.
+</longdescription>
+<use>
+  <flag name="xref">Install xref.lisp cross-referencing tool</flag>
+</use>
+<upstream>
+  <remote-id type="github">slime/slime</remote-id>
+</upstream>
+</pkgmetadata>

diff --git a/app-emacs/slime/slime-2.20.ebuild b/app-emacs/slime/slime-2.20.ebuild
index b8a5bdb9..73d436c1 100644
--- a/app-emacs/slime/slime-2.20.ebuild
+++ b/app-emacs/slime/slime-2.20.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit elisp eutils
+inherit elisp
 
 DESCRIPTION="SLIME, the Superior Lisp Interaction Mode (Extended)"
 HOMEPAGE="http://common-lisp.net/project/slime/"
@@ -25,22 +25,26 @@ CLPACKAGE=swank
 CLSYSTEMS=swank
 SITEFILE=70${PN}-gentoo.el
 
+PATCHES=(
+	# Should be fixed in >=app-emacs/slime-2.20
+	"${FILESDIR}/${PN}-2.20-fix-doc-build.patch"
+)
+
 src_prepare() {
+	default
 	# Remove xref.lisp (which is non-free) unless USE flag is set
 	use xref || rm -f xref.lisp
-	eapply_user
 }
 
 src_compile() {
 	elisp-compile *.el || die
 	BYTECOMPFLAGS="${BYTECOMPFLAGS} -L contrib -l slime" \
 		elisp-compile contrib/*.el lib/*.el || die
-	emake -j1 -C doc slime.info || die "Cannot build info docs"
 
-	#if use doc; then
-	#	VARTEXFONTS="${T}"/fonts \
-	#		emake -j1 -C doc slime.pdf || die "emake doc failed"
-	#fi
+	if use doc ; then
+		VARTEXFONTS="${T}"/fonts \
+			emake -C doc all
+	fi
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/lisp:master commit in: app-emacs/slime/, app-emacs/slime/files/
@ 2018-06-02  8:19 José María Alonso
  0 siblings, 0 replies; 3+ messages in thread
From: José María Alonso @ 2018-06-02  8:19 UTC (permalink / raw
  To: gentoo-commits

commit:     25d0e988a927581ec7ed373b62037c0247465368
Author:     Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  2 08:19:09 2018 +0000
Commit:     José María Alonso <nimiux <AT> gentoo <DOT> org>
CommitDate: Sat Jun  2 08:19:09 2018 +0000
URL:        https://gitweb.gentoo.org/proj/lisp.git/commit/?id=25d0e988

app-emacs/slime: Drop old version 2.20

 .../slime/files/slime-2.20-fix-doc-build.patch     | 94 ----------------------
 app-emacs/slime/slime-2.20-r1.ebuild               | 74 -----------------
 2 files changed, 168 deletions(-)

diff --git a/app-emacs/slime/files/slime-2.20-fix-doc-build.patch b/app-emacs/slime/files/slime-2.20-fix-doc-build.patch
deleted file mode 100644
index c95608c7..00000000
--- a/app-emacs/slime/files/slime-2.20-fix-doc-build.patch
+++ /dev/null
@@ -1,94 +0,0 @@
-diff -Nuar a/doc/slime.texi b/doc/slime.texi
---- a/doc/slime.texi	2017-08-28 13:51:57.000000000 +0200
-+++ b/doc/slime.texi	2018-04-08 17:21:16.004697168 +0200
-@@ -1219,7 +1219,8 @@
- Describe the slot at point.
- 
- @kbditem{e, slime-inspector-eval}
--Evaluate an expression in the context of the inspected object.
-+Evaluate an expression in the context of the inspected object.  The
-+variable @code{*} will be bound to the inspected object.
- 
- @kbditem{v, slime-inspector-toggle-verbose}
- Toggle between verbose and terse mode. Default is determined by
-@@ -1250,8 +1251,7 @@
- Store the value under point in the variable `*'.  This can
- then be used to access the object in the REPL.
- 
--@kbditempair{TAB, S-TAB, slime-inspector-next-inspectable-object,
--slime-inspector-previous-inspectable-object}
-+@kbditempair{TAB, S-TAB, slime-inspector-next-inspectable-object, slime-inspector-previous-inspectable-object}
- 
- Jump to the next and previous inspectable object respectively.
- 
-@@ -2016,7 +2016,7 @@
- On the emacs side you will use something like
- @example
- (setq slime-net-coding-system 'utf-8-unix)
--(slime-connect "127.0.0.1" 4005))
-+(slime-connect "localhost" 4005))
- @end example
- to connect to this lisp image from the same machine.
- 
-@@ -2028,7 +2028,7 @@
- remote machine.
- 
- @example
--ssh -L4005:127.0.0.1:4005 username@@remote.example.com
-+ssh -L4005:localhost:4005 username@@remote.example.com
- @end example
- 
- That ssh invocation creates an ssh tunnel between the port 4005 on our
-@@ -2044,9 +2044,9 @@
- @end example
- 
- The @kbd{RET RET} sequence just means that we want to use the default
--host (@code{127.0.0.1}) and the default port (@code{4005}). Even
-+host (@code{localhost}) and the default port (@code{4005}). Even
- though we're connecting to a remote machine the ssh tunnel fools Emacs
--into thinking it's actually @code{127.0.0.1}.
-+into thinking it's actually @code{localhost}.
- 
- @c -----------------------
- @node Setting up pathname translations
-@@ -2323,8 +2323,7 @@
- 
- @table @kbd
- 
--@kbditempair{C-<up>, C-<down>,
--             slime-repl-forward-input, slime-repl-backward-input}
-+@kbditempair{C-<up>, C-<down>, slime-repl-forward-input, slime-repl-backward-input}
- Go to the next/previous history item.
- 
- @kbditempair{M-n, M-p, slime-repl-next-input, slime-repl-previous-input}
-@@ -2333,16 +2332,14 @@
- a row, the second invocation uses the same search pattern (even if the
- current input has changed).
- 
--@kbditempair{M-s, M-r,
--slime-repl-next-matching-input, slime-repl-previous-matching-input}
-+@kbditempair{M-s, M-r, slime-repl-next-matching-input, slime-repl-previous-matching-input}
- Search forward/reverse through command history with regex
- 
- @c @code{slime-repl-@{next,previous@}-input}@*
- @c @code{slime-repl-@{next,previous@}-matching-input}@*
- @c @code{comint}-style input history commands.
- 
--@kbditempair{C-c C-n, C-c C-p,
--slime-repl-next-prompt, slime-repl-previous-prompt}
-+@kbditempair{C-c C-n, C-c C-p, slime-repl-next-prompt, slime-repl-previous-prompt}
- Move between the current and previous prompts in the @REPL{} buffer.
- Pressing RET on a line with old input copies that line to the newest
- prompt.
-@@ -2655,6 +2652,11 @@
- If @code{slime-autodoc-use-multiline-p} is set to non-nil,
- allow long autodoc messages to resize echo area display.
- 
-+@vindex slime-autodoc-mode-string
-+@code{slime-autodoc-mode-string} is a string that will be displayed in
-+the mode line when autodoc-mode is enabled, or nil, if you prefer no
-+indication. You can customize this variable.
-+
- @node ASDF
- @section ASDF
- 

diff --git a/app-emacs/slime/slime-2.20-r1.ebuild b/app-emacs/slime/slime-2.20-r1.ebuild
deleted file mode 100644
index 8c79ae0d..00000000
--- a/app-emacs/slime/slime-2.20-r1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit elisp
-
-DESCRIPTION="SLIME, the Superior Lisp Interaction Mode (Extended)"
-HOMEPAGE="http://common-lisp.net/project/slime/"
-SRC_URI="https://github.com/slime/slime/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2 xref? ( xref.lisp )"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-IUSE="doc xref"
-RESTRICT=test # tests fail to contact sbcl
-
-RDEPEND="virtual/commonlisp
-	dev-lisp/asdf"
-DEPEND="${RDEPEND}
-	>=sys-apps/texinfo-5.1
-	doc? ( virtual/texi2dvi )"
-
-CLPACKAGE=swank
-CLSYSTEMS=swank
-SITEFILE=70${PN}-gentoo.el
-
-PATCHES=(
-	# Should be fixed in >=app-emacs/slime-2.20
-	"${FILESDIR}/${PN}-2.20-fix-doc-build.patch"
-)
-
-src_prepare() {
-	default
-	# Remove xref.lisp (which is non-free) unless USE flag is set
-	use xref || rm -f xref.lisp
-}
-
-src_compile() {
-	elisp-compile *.el || die
-	BYTECOMPFLAGS="${BYTECOMPFLAGS} -L contrib -l slime" \
-		elisp-compile contrib/*.el lib/*.el || die
-
-	emake -C doc slime.info || die
-	if use doc ; then
-		VARTEXFONTS="${T}"/fonts \
-			emake -C doc all
-	fi
-}
-
-src_install() {
-	# Install core
-	elisp-install ${PN} *.{el,elc,lisp} || die "Cannot install SLIME core"
-
-	# Install contribs
-	elisp-install ${PN}/contrib/ contrib/*.{el,elc,lisp,scm,goo} \
-		|| die "Cannot install contribs"
-
-	# Install lib
-	elisp-install ${PN}/lib/ lib/*.{el,elc} || die "Cannot install libs"
-
-	# Install swank
-	elisp-install ${PN}/swank/ swank/*.lisp || die "Cannot install swank"
-
-	elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die "Cannon install site file"
-	# Install docs
-	dodoc README.md CONTRIBUTING.md NEWS PROBLEMS
-	newdoc contrib/README.md README-contrib.md
-	doinfo doc/slime.info
-	use doc && dodoc doc/*.pdf
-
-	# Bug #656760
-	touch "${ED}${SITELISP}/${PN}/lib/.nosearch" || die
-}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/lisp:master commit in: app-emacs/slime/, app-emacs/slime/files/
@ 2022-03-24  9:41 Ulrich Müller
  0 siblings, 0 replies; 3+ messages in thread
From: Ulrich Müller @ 2022-03-24  9:41 UTC (permalink / raw
  To: gentoo-commits

commit:     34050575bbb5d661dac58b2439f41a2cd18b1fa3
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 24 09:33:58 2022 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Mar 24 09:34:39 2022 +0000
URL:        https://gitweb.gentoo.org/proj/lisp.git/commit/?id=34050575

app-emacs/slime: Remove package

Newer ebuild in the gentoo repository. Live ebuild fails because of
missing patches.

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-emacs/slime/files/70slime-gentoo.el |  13 ----
 app-emacs/slime/metadata.xml            |  43 -----------
 app-emacs/slime/slime-2.21.ebuild       |  69 ------------------
 app-emacs/slime/slime-9999.ebuild       | 125 --------------------------------
 4 files changed, 250 deletions(-)

diff --git a/app-emacs/slime/files/70slime-gentoo.el b/app-emacs/slime/files/70slime-gentoo.el
deleted file mode 100644
index 6dfd5051..00000000
--- a/app-emacs/slime/files/70slime-gentoo.el
+++ /dev/null
@@ -1,13 +0,0 @@
-(add-to-list 'load-path "@SITELISP@")
-(add-to-list 'load-path "@SITELISP@/contrib")
-(autoload 'slime-highlight-edits-mode "slime-highlight-edits" nil t)
-
-(require 'slime-autoloads)
-(slime-setup '(slime-fancy slime-asdf slime-banner))
-
-;; this allows us not to require dev-lisp/hyperspec
-;; (which is non-free) as a hard dependency
-(setq common-lisp-hyperspec-root
-      (if (file-exists-p "/usr/share/doc/hyperspec/HyperSpec")
-	  "file:///usr/share/doc/hyperspec/HyperSpec/"
-	"http://www.lispworks.com/reference/HyperSpec/"))

diff --git a/app-emacs/slime/metadata.xml b/app-emacs/slime/metadata.xml
deleted file mode 100644
index f5da9928..00000000
--- a/app-emacs/slime/metadata.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
-  <email>gnu-emacs@gentoo.org</email>
-  <name>Gentoo GNU Emacs project</name>
-</maintainer>
-<maintainer type="project">
-  <email>common-lisp@gentoo.org</email>
-  <name>Gentoo Common Lisp Project</name>
-</maintainer>
-<longdescription>
-  SLIME: The Superior Lisp Interaction Mode for Emacs.  SLIME is a
-  fresh, new Emacs mode for Common Lisp development inspired by existing
-  systems such Emacs Lisp and ILISP. Feature highlights include:
-
-    * slime-mode: An Emacs minor-mode to enhance lisp-mode with:
-      o Code evaluation, compilation, and macroexpansion.
-      o Online documentation (describe, apropos, hyperspec).
-      o Definition finding (aka Meta-Point aka M-.).
-      o Symbol and package name completion.
-      o Automatic macro indentation based on &amp;body.
-      o Cross-reference interface (WHO-CALLS, etc).
-      o ... and more.
-
-    * SLDB: Common Lisp debugger with an Emacs-based user interface.
-
-    * REPL: The Read-Eval-Print Loop ("top-level") is written in Emacs
-      Lisp for tighter integration with Emacs. The REPL also has builtin
-      "shortcut" commands similar those of the McCLIM Listener.
-
-    * Compilation notes: SLIME is able to take compiler messages and
-      annotate them directly into source buffers.
-
-    * Inspector: Interactive object-inspector in an Emacs buffer.
-</longdescription>
-<use>
-  <flag name="xref">Install xref.lisp cross-referencing tool</flag>
-</use>
-<upstream>
-  <remote-id type="github">slime/slime</remote-id>
-</upstream>
-</pkgmetadata>

diff --git a/app-emacs/slime/slime-2.21.ebuild b/app-emacs/slime/slime-2.21.ebuild
deleted file mode 100644
index aa82b550..00000000
--- a/app-emacs/slime/slime-2.21.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit elisp
-
-DESCRIPTION="SLIME, the Superior Lisp Interaction Mode (Extended)"
-HOMEPAGE="http://common-lisp.net/project/slime/"
-SRC_URI="https://github.com/slime/slime/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2 xref? ( xref.lisp )"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-IUSE="doc xref"
-RESTRICT=test # tests fail to contact sbcl
-
-RDEPEND="virtual/commonlisp
-	dev-lisp/asdf"
-DEPEND="${RDEPEND}
-	>=sys-apps/texinfo-5.1
-	doc? ( virtual/texi2dvi )"
-
-CLPACKAGE=swank
-CLSYSTEMS=swank
-SITEFILE=70${PN}-gentoo.el
-
-src_prepare() {
-	default
-	# Remove xref.lisp (which is non-free) unless USE flag is set
-	use xref || rm -f xref.lisp
-}
-
-src_compile() {
-	elisp-compile *.el || die
-	BYTECOMPFLAGS="${BYTECOMPFLAGS} -L contrib -l slime" \
-		elisp-compile contrib/*.el lib/*.el || die
-
-	emake -C doc slime.info || die
-	if use doc ; then
-		VARTEXFONTS="${T}"/fonts \
-			emake -C doc all
-	fi
-}
-
-src_install() {
-	# Install core
-	elisp-install ${PN} *.{el,elc,lisp} || die "Cannot install SLIME core"
-
-	# Install contribs
-	elisp-install ${PN}/contrib/ contrib/*.{el,elc,lisp,scm,goo} \
-		|| die "Cannot install contribs"
-
-	# Install lib
-	elisp-install ${PN}/lib/ lib/*.{el,elc} || die "Cannot install libs"
-
-	# Install swank
-	elisp-install ${PN}/swank/ swank/*.lisp || die "Cannot install swank"
-
-	elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die "Cannon install site file"
-	# Install docs
-	dodoc README.md CONTRIBUTING.md NEWS PROBLEMS
-	newdoc contrib/README.md README-contrib.md
-	doinfo doc/slime.info
-	use doc && dodoc doc/*.pdf
-
-	# Bug #656760
-	touch "${ED}${SITELISP}/${PN}/lib/.nosearch" || die
-}

diff --git a/app-emacs/slime/slime-9999.ebuild b/app-emacs/slime/slime-9999.ebuild
deleted file mode 100644
index c8a0d498..00000000
--- a/app-emacs/slime/slime-9999.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-[[ ${PV} = *9999* ]] && GIT_ECLASS="git-r3" || GIT_ECLASS=""
-
-inherit common-lisp-3 ${GIT_ECLASS} elisp eutils
-
-DESCRIPTION="SLIME, the Superior Lisp Interaction Mode (Extended)"
-HOMEPAGE="http://common-lisp.net/project/slime/"
-if [[ ${PV} != *9999* ]]; then
-	SRC_URI="https://github.com/slime/slime/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-fi
-
-LICENSE="GPL-2 xref? ( xref.lisp )"
-SLOT="0"
-if [[ ${PV} == *9999* ]]; then
-	KEYWORDS=""
-else
-	KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-fi
-IUSE="doc xref"
-RESTRICT=test # tests fail to contact sbcl
-
-RDEPEND="virtual/commonlisp
-		dev-lisp/asdf"
-DEPEND="${RDEPEND}
-		>=sys-apps/texinfo-5.1
-		doc? ( virtual/texi2dvi )"
-
-CLPACKAGE=swank
-CLSYSTEMS=swank
-SITEFILE=70${PN}-gentoo.el
-
-src_unpack() {
-	if [[ ${PV} == *9999* ]]; then
-		EGIT_REPO_URI="https://github.com/slime/slime.git"
-		${GIT_ECLASS}_src_unpack
-	fi
-	elisp_src_unpack
-}
-
-src_prepare() {
-	if [[ "${PV}" == "2.11" ]]; then
-		epatch "${FILESDIR}"/2.11/dont-load-sbcl-pprint.patch
-	fi
-	epatch "${FILESDIR}"/2.0_p20130214/gentoo-module-load.patch
-	epatch "${FILESDIR}"/2.0_p20110617/gentoo-dont-call-init.patch
-	has_version ">=app-editors/emacs-24" && rm -f lib/cl-lib.el
-
-	# 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"
-
-	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
-	pushd swank || die
-	for i in *.lisp
-	do
-		mv ${i} ../swank-${i}
-	done
-	popd
-
-	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"
-	sed -i "s/@itemx INIT-FUNCTION/@item INIT-FUNCTION/" doc/slime.texi \
-		|| die "sed doc/slime.texi 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
-	BYTECOMPFLAGS="${BYTECOMPFLAGS} -L contrib -l slime" \
-		elisp-compile contrib/*.el lib/*.el || die
-	emake -j1 -C doc slime.info || die "Cannot build info docs"
-
-	if use doc; then
-		VARTEXFONTS="${T}"/fonts \
-			emake -j1 -C doc slime.pdf || die "emake doc failed"
-	fi
-}
-
-src_install() {
-	## install core
-	elisp-install ${PN} *.{el,elc} "${FILESDIR}"/swank-loader.lisp \
-		|| die "Cannot install SLIME core"
-	sed "s:/usr/:${EPREFIX}&:g" "${FILESDIR}"/2.0_p20110617/${SITEFILE} \
-		>"${T}"/${SITEFILE} || die "sed failed"
-	elisp-site-file-install "${T}"/${SITEFILE} || die
-	cp "${FILESDIR}"/2.0_p20110617/swank.asd "${S}"
-	# remove upstream swank-loader, since it won't be used
-	rm "${S}"/swank-loader.lisp
-	common-lisp-install-sources *.lisp
-	common-lisp-install-asdf swank.asd
-
-	## install contribs
-	elisp-install ${PN}/contrib/ contrib/*.{el,elc,scm,goo} \
-		|| die "Cannot install contribs"
-	common-lisp-install-sources contrib/*.lisp
-
-	## install lib
-	elisp-install ${PN}/lib/ lib/*.{el,elc} \
-		|| die "Cannot install libs"
-
-	## install docs
-	dodoc README.md ChangeLog CONTRIBUTING.md NEWS PROBLEMS
-	newdoc contrib/README.md README-contrib.md
-	newdoc contrib/ChangeLog ChangeLog.contrib
-	doinfo doc/slime.info
-	use doc && dodoc doc/*.pdf
-}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-03-24  9:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-08 15:40 [gentoo-commits] proj/lisp:master commit in: app-emacs/slime/, app-emacs/slime/files/ José María Alonso
  -- strict thread matches above, loose matches on Subject: below --
2018-06-02  8:19 José María Alonso
2022-03-24  9:41 Ulrich Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox