commit:     097dd373d0d6bbc5bb25f76b240c9e2fcd2c0aae
Author:     Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 17 13:01:21 2016 +0000
Commit:     José María Alonso <nimiux <AT> gentoo <DOT> org>
CommitDate: Sat Dec 17 13:01:21 2016 +0000
URL:        https://gitweb.gentoo.org/proj/lisp.git/commit/?id=097dd373

dev-lisp/hyperspec: Drop not working version. Sync with main tree (bug #583332)

 dev-lisp/hyperspec/hyperspec-7.0-r1.ebuild | 38 ++++++++++++++++++++++++++++++
 dev-lisp/hyperspec/hyperspec-7.0-r2.ebuild | 26 --------------------
 2 files changed, 38 insertions(+), 26 deletions(-)

diff --git a/dev-lisp/hyperspec/hyperspec-7.0-r1.ebuild 
b/dev-lisp/hyperspec/hyperspec-7.0-r1.ebuild
new file mode 100644
index 0000000..190ac7c
--- /dev/null
+++ b/dev-lisp/hyperspec/hyperspec-7.0-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+MY_PV=${PV/./-}
+MY_P=HyperSpec-${MY_PV}
+
+DESCRIPTION="Common Lisp ANSI-standard Hyperspec"
+HOMEPAGE="http://www.lispworks.com/reference/HyperSpec/";
+SRC_URI="ftp://ftp.lispworks.com/pub/software_tools/reference/${MY_P}.tar.gz";
+LICENSE="HyperSpec"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86 ~x86-fbsd"
+IUSE=""
+DEPEND=""
+
+RESTRICT="mirror fetch"
+
+S=${WORKDIR}/
+
+pkg_nofetch() {
+       while read line; do elog "${line}"; done <<EOF
+
+The HyperSpec cannot be redistributed. Download the ${MY_P}.tar.gz
+file from http://www.lispworks.com/documentation/HyperSpec/ and move it to
+/usr/portage/distfiles before rerunning emerge. The legal conditions are
+described at http://www.lispworks.com/reference/HyperSpec/Front/Help.htm#Legal
+
+EOF
+}
+
+src_install() {
+       dodir /usr/share/doc/${P}
+       cp -r HyperSpec* "${D}/usr/share/doc/${P}"
+       dosym /usr/share/doc/${P} /usr/share/doc/hyperspec
+}

diff --git a/dev-lisp/hyperspec/hyperspec-7.0-r2.ebuild 
b/dev-lisp/hyperspec/hyperspec-7.0-r2.ebuild
deleted file mode 100644
index cf081cd..0000000
--- a/dev-lisp/hyperspec/hyperspec-7.0-r2.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=2
-
-MY_PV=${PV/./-}
-MY_P=HyperSpec-${MY_PV}
-
-DESCRIPTION="Common Lisp ANSI-standard Hyperspec"
-HOMEPAGE="http://www.lispworks.com/reference/HyperSpec/";
-SRC_URI="ftp://ftp.lispworks.com/pub/software_tools/reference/${MY_P}.tar.gz";
-RESTRICT="mirror"
-
-LICENSE="HyperSpec"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
-IUSE=""
-
-S="${WORKDIR}"
-
-src_install() {
-       dodir "/usr/share/doc/${PF}" || die
-       cp -a HyperSpec* "${D}/usr/share/doc/${PF}" || die
-       dosym "/usr/share/doc/${PF} /usr/share/doc/${PN}" || die
-}

Reply via email to