Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/lpeg/files/, dev-lua/lpeg/
Date: Fri, 05 Jan 2018 11:18:57
Message-Id: 1515151114.9ca0bb806cff7362552e433809d3bb87fec56eda.monsieurp@gentoo
1 commit: 9ca0bb806cff7362552e433809d3bb87fec56eda
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 5 10:56:54 2018 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 5 11:18:34 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ca0bb80
7
8 dev-lua/lpeg: clean up old.
9
10 Package-Manager: Portage-2.3.13, Repoman-2.3.3
11
12 dev-lua/lpeg/Manifest | 4 ---
13 dev-lua/lpeg/files/lpeg-0.12-makefile.patch | 37 ---------------------
14 dev-lua/lpeg/lpeg-0.12.1.ebuild | 41 -----------------------
15 dev-lua/lpeg/lpeg-0.12.2.ebuild | 41 -----------------------
16 dev-lua/lpeg/lpeg-0.12.ebuild | 41 -----------------------
17 dev-lua/lpeg/lpeg-1.0.0-r1.ebuild | 50 -----------------------------
18 dev-lua/lpeg/lpeg-1.0.0.ebuild | 44 -------------------------
19 7 files changed, 258 deletions(-)
20
21 diff --git a/dev-lua/lpeg/Manifest b/dev-lua/lpeg/Manifest
22 index a1523e75012..c2f7797374a 100644
23 --- a/dev-lua/lpeg/Manifest
24 +++ b/dev-lua/lpeg/Manifest
25 @@ -1,5 +1 @@
26 -DIST lpeg-0.12.1.tar.gz 67519 BLAKE2B dc5ae88c04194ac650151fab1c645322b0405551df5432842b8e6d5a0cab9c8388e3d22c1cdde365d127d18149c9551dc1c04480a40fb72cdb1bb78f56d1f710 SHA512 8cd47e169ce97c2eb40b865b0ef975b7a8fc58de1bde504518d9396b2a12efd92e7b2cfa1ccca59dd6a0cc22444fd1915a09e0d17fe78ba2a59bc3748546f60c
27 -DIST lpeg-0.12.2.tar.gz 68122 BLAKE2B 96b7c535b390d81f867028643885453a8490f4c4a3ea65dd20e4358a13a1fe30ea2fcd188e64a4b0af03c69538d9c13fd46047644c749f77fa5b990f087c0076 SHA512 81505674473d83e2c777d470cd6ba4eead48ecc32e58e52bc192ca7a167f882e722c5a0cae62937fb3f5f71d6216de1ba4ea3d932e72265028f293d778df5e9e
28 -DIST lpeg-0.12.tar.gz 66649 BLAKE2B fca37f9bf399967c1e8f229649daebf2292d50e628a9dbb12fda6338beb19de0efc27bec5a81df7cfb72f8eb49057c940eeda04f0c32a964abbb85ef7d8b07cf SHA512 bf8c4fe486f5e965b793d8526dd1fc5c8905c4b065a1abe52ec8e41ebbe48292315a7460dc56fb7a029b4673057f9da7e53854bb79bb54dd8a4378391efc24a2
29 -DIST lpeg-1.0.0.tar.gz 70267 BLAKE2B a48f8e4e56465f030b58f4b2d9c38735cec68ab2011e806b541df13eaac2e2ae42f4938cb36003519cd22baefbd9d2c329888ee7f0224e30b6461a35b1ce197a SHA512 a245d2e0b8604121d8b4466052ab5da4f2b1f81c1c4b2579d8d5498920fc351d46fe4159a0b5948d1b377ef9bda410c4bf40ffd228b9f26bf346dfba2a7b9fb7
30 DIST lpeg-1.0.1.tar.gz 71527 BLAKE2B 5f19d308572f2d7a5ff11d7aa33f437ec682994d0a396a322764cf12a4cb659c66ce6ffaf0c76f6a250a7d767b6545478dd3bb760150b9f88be41fac9dafde0d SHA512 7b43fbee7eff443000986684bc56bba6d2796a31cf860740746c70e155bdea1b62a46b93f97e2747e3ef0f63e965148778ac2985d0f2d83e1e37ec4ebbabf4aa
31
32 diff --git a/dev-lua/lpeg/files/lpeg-0.12-makefile.patch b/dev-lua/lpeg/files/lpeg-0.12-makefile.patch
33 deleted file mode 100644
34 index 5734de9f55d..00000000000
35 --- a/dev-lua/lpeg/files/lpeg-0.12-makefile.patch
36 +++ /dev/null
37 @@ -1,37 +0,0 @@
38 ---- lpeg-0.12/makefile
39 -+++ lpeg-0.12/makefile
40 -@@ -1,7 +1,7 @@
41 - LIBNAME = lpeg
42 - LUADIR = /usr/include/lua5.1/
43 -
44 --COPT = -O2
45 -+#COPT = -O2
46 - # COPT = -DLPEG_DEBUG -g
47 -
48 - CWARNS = -Wall -Wextra -pedantic \
49 -@@ -22,21 +22,21 @@
50 - # -Wunreachable-code \
51 -
52 -
53 --CFLAGS = $(CWARNS) $(COPT) -ansi -I$(LUADIR) -fPIC
54 -+CFLAGS += $(CWARNS) $(COPT) -ansi -I$(LUADIR) -fPIC
55 - CC = gcc
56 -
57 - FILES = lpvm.o lpcap.o lptree.o lpcode.o lpprint.o
58 -
59 - # For Linux
60 - linux:
61 -- make lpeg.so "DLLFLAGS = -shared -fPIC"
62 -+ $(MAKE) lpeg.so "DLLFLAGS = -shared -fPIC"
63 -
64 - # For Mac OS
65 - macosx:
66 -- make lpeg.so "DLLFLAGS = -bundle -undefined dynamic_lookup"
67 -+ $(MAKE) lpeg.so "DLLFLAGS = -bundle -undefined dynamic_lookup"
68 -
69 - lpeg.so: $(FILES)
70 -- env $(CC) $(DLLFLAGS) $(FILES) -o lpeg.so
71 -+ env $(CC) $(CFLAGS) $(DLLFLAGS) $(LDFLAGS) $(FILES) -o lpeg.so
72 -
73 - $(FILES): makefile
74 -
75
76 diff --git a/dev-lua/lpeg/lpeg-0.12.1.ebuild b/dev-lua/lpeg/lpeg-0.12.1.ebuild
77 deleted file mode 100644
78 index 53f25f0a893..00000000000
79 --- a/dev-lua/lpeg/lpeg-0.12.1.ebuild
80 +++ /dev/null
81 @@ -1,41 +0,0 @@
82 -# Copyright 1999-2014 Gentoo Foundation
83 -# Distributed under the terms of the GNU General Public License v2
84 -
85 -EAPI=5
86 -
87 -inherit flag-o-matic toolchain-funcs eutils multilib
88 -
89 -DESCRIPTION="Parsing Expression Grammars for Lua"
90 -HOMEPAGE="http://www.inf.puc-rio.br/~roberto/lpeg/"
91 -SRC_URI="http://www.inf.puc-rio.br/~roberto/${PN}/${P}.tar.gz"
92 -
93 -LICENSE="MIT"
94 -SLOT="0"
95 -KEYWORDS="~amd64 ~arm ~hppa ~mips ~x86"
96 -IUSE="debug doc"
97 -
98 -RDEPEND=">=dev-lang/lua-5.1"
99 -DEPEND="${RDEPEND}
100 - virtual/pkgconfig"
101 -
102 -src_prepare() {
103 - epatch "${FILESDIR}"/${P}-makefile.patch
104 - use debug && append-cflags -DLPEG_DEBUG
105 -}
106 -
107 -src_compile() {
108 - emake CC="$(tc-getCC)"
109 -}
110 -
111 -src_test() {
112 - lua test.lua || die
113 -}
114 -
115 -src_install() {
116 - exeinto "$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)"
117 - doexe lpeg.so
118 -
119 - dodoc HISTORY
120 -
121 - use doc && dohtml *
122 -}
123
124 diff --git a/dev-lua/lpeg/lpeg-0.12.2.ebuild b/dev-lua/lpeg/lpeg-0.12.2.ebuild
125 deleted file mode 100644
126 index 6319080ac62..00000000000
127 --- a/dev-lua/lpeg/lpeg-0.12.2.ebuild
128 +++ /dev/null
129 @@ -1,41 +0,0 @@
130 -# Copyright 1999-2015 Gentoo Foundation
131 -# Distributed under the terms of the GNU General Public License v2
132 -
133 -EAPI=5
134 -
135 -inherit flag-o-matic toolchain-funcs eutils multilib
136 -
137 -DESCRIPTION="Parsing Expression Grammars for Lua"
138 -HOMEPAGE="http://www.inf.puc-rio.br/~roberto/lpeg/"
139 -SRC_URI="http://www.inf.puc-rio.br/~roberto/${PN}/${P}.tar.gz"
140 -
141 -LICENSE="MIT"
142 -SLOT="0"
143 -KEYWORDS="~amd64 ~arm ~hppa ~mips ppc ppc64 sparc ~x86"
144 -IUSE="debug doc"
145 -
146 -RDEPEND=">=dev-lang/lua-5.1"
147 -DEPEND="${RDEPEND}
148 - virtual/pkgconfig"
149 -
150 -src_prepare() {
151 - epatch "${FILESDIR}"/${PN}-0.12.1-makefile.patch
152 - use debug && append-cflags -DLPEG_DEBUG
153 -}
154 -
155 -src_compile() {
156 - emake CC="$(tc-getCC)"
157 -}
158 -
159 -src_test() {
160 - lua test.lua || die
161 -}
162 -
163 -src_install() {
164 - exeinto "$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)"
165 - doexe lpeg.so
166 -
167 - dodoc HISTORY
168 -
169 - use doc && dohtml *
170 -}
171
172 diff --git a/dev-lua/lpeg/lpeg-0.12.ebuild b/dev-lua/lpeg/lpeg-0.12.ebuild
173 deleted file mode 100644
174 index effaef3753f..00000000000
175 --- a/dev-lua/lpeg/lpeg-0.12.ebuild
176 +++ /dev/null
177 @@ -1,41 +0,0 @@
178 -# Copyright 1999-2014 Gentoo Foundation
179 -# Distributed under the terms of the GNU General Public License v2
180 -
181 -EAPI=5
182 -
183 -inherit flag-o-matic toolchain-funcs eutils multilib
184 -
185 -DESCRIPTION="Parsing Expression Grammars for Lua"
186 -HOMEPAGE="http://www.inf.puc-rio.br/~roberto/lpeg/"
187 -SRC_URI="http://www.inf.puc-rio.br/~roberto/${PN}/${P}.tar.gz"
188 -
189 -LICENSE="MIT"
190 -SLOT="0"
191 -KEYWORDS="amd64 ~arm hppa ~mips x86"
192 -IUSE="debug doc"
193 -
194 -RDEPEND=">=dev-lang/lua-5.1"
195 -DEPEND="${RDEPEND}
196 - virtual/pkgconfig"
197 -
198 -src_prepare() {
199 - epatch "${FILESDIR}"/${P}-makefile.patch
200 - use debug && append-cflags -DLPEG_DEBUG
201 -}
202 -
203 -src_compile() {
204 - emake CC="$(tc-getCC)"
205 -}
206 -
207 -src_test() {
208 - lua test.lua || die
209 -}
210 -
211 -src_install() {
212 - exeinto "$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)"
213 - doexe lpeg.so
214 -
215 - dodoc HISTORY
216 -
217 - use doc && dohtml *
218 -}
219
220 diff --git a/dev-lua/lpeg/lpeg-1.0.0-r1.ebuild b/dev-lua/lpeg/lpeg-1.0.0-r1.ebuild
221 deleted file mode 100644
222 index a3f02c029a2..00000000000
223 --- a/dev-lua/lpeg/lpeg-1.0.0-r1.ebuild
224 +++ /dev/null
225 @@ -1,50 +0,0 @@
226 -# Copyright 1999-2016 Gentoo Foundation
227 -# Distributed under the terms of the GNU General Public License v2
228 -
229 -EAPI=6
230 -
231 -inherit flag-o-matic toolchain-funcs
232 -
233 -DESCRIPTION="Parsing Expression Grammars for Lua"
234 -HOMEPAGE="http://www.inf.puc-rio.br/~roberto/lpeg/"
235 -SRC_URI="http://www.inf.puc-rio.br/~roberto/${PN}/${P}.tar.gz"
236 -
237 -LICENSE="MIT"
238 -SLOT="0"
239 -KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86"
240 -IUSE="debug doc luajit"
241 -
242 -RDEPEND="!luajit? ( >=dev-lang/lua-5.1:= )
243 - luajit? ( dev-lang/luajit:2= )"
244 -DEPEND="${RDEPEND}
245 - virtual/pkgconfig"
246 -
247 -DOCS=( "HISTORY" )
248 -HTML_DOCS=( "lpeg.html" "re.html" )
249 -PATCHES=( "${FILESDIR}"/${PN}-0.12.1-makefile.patch )
250 -
251 -src_prepare() {
252 - default
253 - use debug && append-cflags -DLPEG_DEBUG
254 -}
255 -
256 -src_compile() {
257 - emake CC="$(tc-getCC)" \
258 - LUADIR="$($(tc-getPKG_CONFIG) --variable includedir $(usex luajit 'luajit' 'lua'))"
259 -}
260 -
261 -src_test() {
262 - $(usex luajit 'luajit' 'lua') test.lua || die
263 -}
264 -
265 -src_install() {
266 - local instdir
267 - instdir="$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))"
268 - exeinto "${instdir#${EPREFIX}}"
269 - doexe lpeg.so
270 - instdir="$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD $(usex luajit 'luajit' 'lua'))"
271 - insinto "${instdir#${EPREFIX}}"
272 - doins re.lua
273 -
274 - use doc && einstalldocs
275 -}
276
277 diff --git a/dev-lua/lpeg/lpeg-1.0.0.ebuild b/dev-lua/lpeg/lpeg-1.0.0.ebuild
278 deleted file mode 100644
279 index 49e27a58c95..00000000000
280 --- a/dev-lua/lpeg/lpeg-1.0.0.ebuild
281 +++ /dev/null
282 @@ -1,44 +0,0 @@
283 -# Copyright 1999-2016 Gentoo Foundation
284 -# Distributed under the terms of the GNU General Public License v2
285 -
286 -EAPI=5
287 -
288 -inherit flag-o-matic toolchain-funcs eutils multilib
289 -
290 -DESCRIPTION="Parsing Expression Grammars for Lua"
291 -HOMEPAGE="http://www.inf.puc-rio.br/~roberto/lpeg/"
292 -SRC_URI="http://www.inf.puc-rio.br/~roberto/${PN}/${P}.tar.gz"
293 -
294 -LICENSE="MIT"
295 -SLOT="0"
296 -KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
297 -IUSE="debug doc"
298 -
299 -RDEPEND=">=dev-lang/lua-5.1:="
300 -DEPEND="${RDEPEND}
301 - virtual/pkgconfig"
302 -
303 -src_prepare() {
304 - epatch "${FILESDIR}"/${PN}-0.12.1-makefile.patch
305 - use debug && append-cflags -DLPEG_DEBUG
306 -}
307 -
308 -src_compile() {
309 - emake CC="$(tc-getCC)"
310 -}
311 -
312 -src_test() {
313 - lua test.lua || die
314 -}
315 -
316 -src_install() {
317 - exeinto "$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)"
318 - doexe lpeg.so
319 -
320 - dodoc HISTORY
321 -
322 - if use doc; then
323 - docinto html
324 - dodoc *.html
325 - fi
326 -}