Gentoo Archives: gentoo-commits

From: "José María Alonso" <nimiux@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/lisp:master commit in: dev-lisp/newlisp/
Date: Fri, 07 Jul 2017 10:51:29
Message-Id: 1499424691.2061cb1e4f70dd2c681329e8944e6bc2b51eb9ef.nimiux@gentoo
1 commit: 2061cb1e4f70dd2c681329e8944e6bc2b51eb9ef
2 Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 7 10:51:31 2017 +0000
4 Commit: José María Alonso <nimiux <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 7 10:51:31 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/lisp.git/commit/?id=2061cb1e
7
8 dev-lisp/newlisp: Drops old version. Updates ebuild
9
10 dev-lisp/newlisp/metadata.xml | 10 -------
11 dev-lisp/newlisp/newlisp-10.1.6.ebuild | 52 ----------------------------------
12 dev-lisp/newlisp/newlisp-10.5.4.ebuild | 7 ++---
13 dev-lisp/newlisp/newlisp-10.6.2.ebuild | 7 ++---
14 dev-lisp/newlisp/newlisp-10.7.0.ebuild | 7 ++---
15 5 files changed, 9 insertions(+), 74 deletions(-)
16
17 diff --git a/dev-lisp/newlisp/metadata.xml b/dev-lisp/newlisp/metadata.xml
18 deleted file mode 100644
19 index e96884e6..00000000
20 --- a/dev-lisp/newlisp/metadata.xml
21 +++ /dev/null
22 @@ -1,10 +0,0 @@
23 -<?xml version="1.0" encoding="UTF-8"?>
24 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
25 -<pkgmetadata>
26 -<herd>common-lisp</herd>
27 -<longdescription>
28 -newLISP is a scripting language for developing web applications and
29 -programs in general and in the domains of artificial intelligence (AI)
30 -and statistics.
31 -</longdescription>
32 -</pkgmetadata>
33
34 diff --git a/dev-lisp/newlisp/newlisp-10.1.6.ebuild b/dev-lisp/newlisp/newlisp-10.1.6.ebuild
35 deleted file mode 100644
36 index 71563908..00000000
37 --- a/dev-lisp/newlisp/newlisp-10.1.6.ebuild
38 +++ /dev/null
39 @@ -1,52 +0,0 @@
40 -# Copyright 1999-2016 Gentoo Foundation
41 -# Distributed under the terms of the GNU General Public License v2
42 -# $Id$
43 -
44 -EAPI=2
45 -
46 -DESCRIPTION="A new Lisp dialect"
47 -HOMEPAGE="http://www.newlisp.org"
48 -SRC_URI="mirror://sourceforge/newlisp/${P}.tgz"
49 -
50 -LICENSE="GPL-2"
51 -SLOT="0"
52 -# please keep sorted
53 -KEYWORDS="~amd64 ~x86"
54 -IUSE="tk"
55 -
56 -DEPEND="sys-libs/readline
57 - tk? ( dev-lang/tk )"
58 -
59 -src_prepare() {
60 - cp Makefile Makefile.old
61 -
62 - # remove bad stuff
63 - sed -e "s,strip.*,," -e "s,-O.,," -e "s,-g,," -e "s,-m32,," -i makefile_*
64 - # respect CFLAGS and add -fPIC which is needed at least for amd64
65 - sed "s,CFLAGS =\(.*\),CFLAGS =\1 -fPIC ${CFLAGS}," -i makefile_*
66 -
67 - # do not assume target directories exist
68 - sed "s#^install:#install:\n\tmkdir -p \$(DESTDIR)\$(datadir)/{doc/${P}/html/guiserver,${PN}/{examples,modules}} \$(DESTDIR)\$(bindir) \$(DESTDIR)\$(mandir)/man1/#" -i Makefile
69 - # fix some paths
70 - sed '/-install .*html$/s:/doc/newlisp/:/doc/newlisp/html/:g' -i Makefile
71 -# sed '/-install .* modules/s:(datadir)/newlisp:(datadir)/newlisp/modules:g' -i Makefile
72 - sed '/-install .* examples/s:(datadir)/newlisp:(datadir)/newlisp/examples:g' -i Makefile
73 - sed "s:/doc/newlisp:/doc/${P}:g" -i Makefile
74 -
75 - # remove duplicate licenses
76 - sed "/.*COPYING.*/s" -i Makefile
77 -
78 - # add DESTDIR support
79 - sed "s:\(install.* \$(\)\(.*\):\1DESTDIR)\$(\2:" -i Makefile
80 - sed "/\t-rm.*/d" -i Makefile
81 - sed "s:-\(ln -s.*ION) \):\1\$(DESTDIR):" -i Makefile
82 -
83 - # fail on failing install
84 - sed "s#-install#install#" -i Makefile
85 -
86 - diff -u Makefile.old Makefile
87 -}
88 -
89 -src_install() {
90 - emake DESTDIR="${D}" install || die "einstall failed"
91 -}
92
93 diff --git a/dev-lisp/newlisp/newlisp-10.5.4.ebuild b/dev-lisp/newlisp/newlisp-10.5.4.ebuild
94 index 2bc3a120..12c85d40 100644
95 --- a/dev-lisp/newlisp/newlisp-10.5.4.ebuild
96 +++ b/dev-lisp/newlisp/newlisp-10.5.4.ebuild
97 @@ -1,8 +1,7 @@
98 -# Copyright 1999-2016 Gentoo Foundation
99 +# Copyright 1999-2017 Gentoo Foundation
100 # Distributed under the terms of the GNU General Public License v2
101 -# $Id$
102
103 -EAPI=5
104 +EAPI=6
105
106 inherit eutils multilib
107
108 @@ -15,7 +14,7 @@ SLOT="0"
109 KEYWORDS="~amd64 ~x86"
110 IUSE="libffi unicode"
111
112 -RDEPEND="sys-libs/readline
113 +RDEPEND="sys-libs/readline:=
114 libffi? ( dev-libs/libffi )"
115 DEPEND="${RDEPEND}"
116
117
118 diff --git a/dev-lisp/newlisp/newlisp-10.6.2.ebuild b/dev-lisp/newlisp/newlisp-10.6.2.ebuild
119 index a0959f93..b0a60069 100644
120 --- a/dev-lisp/newlisp/newlisp-10.6.2.ebuild
121 +++ b/dev-lisp/newlisp/newlisp-10.6.2.ebuild
122 @@ -1,8 +1,7 @@
123 -# Copyright 1999-2016 Gentoo Foundation
124 +# Copyright 1999-2017 Gentoo Foundation
125 # Distributed under the terms of the GNU General Public License v2
126 -# $Id$
127
128 -EAPI=5
129 +EAPI=6
130
131 inherit eutils multilib toolchain-funcs
132
133 @@ -15,7 +14,7 @@ SLOT="0"
134 KEYWORDS="~amd64 ~x86"
135 IUSE="libffi unicode"
136
137 -RDEPEND="sys-libs/readline:0
138 +RDEPEND="sys-libs/readline:=
139 libffi? ( dev-libs/libffi )"
140 DEPEND="${RDEPEND}"
141
142
143 diff --git a/dev-lisp/newlisp/newlisp-10.7.0.ebuild b/dev-lisp/newlisp/newlisp-10.7.0.ebuild
144 index e6a631c4..bf0a5bf1 100644
145 --- a/dev-lisp/newlisp/newlisp-10.7.0.ebuild
146 +++ b/dev-lisp/newlisp/newlisp-10.7.0.ebuild
147 @@ -1,8 +1,7 @@
148 -# Copyright 1999-2016 Gentoo Foundation
149 +# Copyright 1999-2017 Gentoo Foundation
150 # Distributed under the terms of the GNU General Public License v2
151 -# $Id$
152
153 -EAPI=5
154 +EAPI=6
155
156 inherit eutils multilib toolchain-funcs
157
158 @@ -15,7 +14,7 @@ SLOT="0"
159 KEYWORDS="~amd64 ~x86"
160 IUSE="libffi unicode"
161
162 -RDEPEND="sys-libs/readline:0
163 +RDEPEND="sys-libs/readline:=
164 libffi? ( dev-libs/libffi )"
165 DEPEND="${RDEPEND}"