Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/luaexpat/
Date: Fri, 26 Feb 2021 21:17:30
Message-Id: 1614374217.8b0a77960a768c54d2482b29ca137b9a25e57804.conikost@gentoo
1 commit: 8b0a77960a768c54d2482b29ca137b9a25e57804
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 26 21:16:57 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 26 21:16:57 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b0a7796
7
8 dev-lua/luaexpat: drop old version
9
10 Package-Manager: Portage-3.0.15, Repoman-3.0.2
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 dev-lua/luaexpat/luaexpat-1.3.0-r102.ebuild | 74 -----------------------------
14 1 file changed, 74 deletions(-)
15
16 diff --git a/dev-lua/luaexpat/luaexpat-1.3.0-r102.ebuild b/dev-lua/luaexpat/luaexpat-1.3.0-r102.ebuild
17 deleted file mode 100644
18 index 4ac2acc28db..00000000000
19 --- a/dev-lua/luaexpat/luaexpat-1.3.0-r102.ebuild
20 +++ /dev/null
21 @@ -1,74 +0,0 @@
22 -# Copyright 1999-2021 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=7
26 -
27 -LUA_COMPAT=( lua5-{1..4} luajit )
28 -
29 -inherit lua toolchain-funcs
30 -
31 -DESCRIPTION="LuaExpat is a SAX XML parser based on the Expat library"
32 -HOMEPAGE="https://matthewwild.co.uk/projects/luaexpat/ https://code.matthewwild.co.uk/lua-expat"
33 -SRC_URI="https://matthewwild.co.uk/projects/${PN}/${P}.tar.gz"
34 -
35 -LICENSE="MIT"
36 -SLOT="0"
37 -KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 sparc x86"
38 -REQUIRED_USE="${LUA_REQUIRED_USE}"
39 -
40 -RDEPEND="
41 - dev-libs/expat
42 - ${LUA_DEPS}
43 -"
44 -DEPEND="${RDEPEND}"
45 -BDEPEND="virtual/pkgconfig"
46 -
47 -HTML_DOCS=( "doc/us/." )
48 -
49 -src_prepare() {
50 - default
51 -
52 - # Respect users CFLAGS
53 - # Add '-DLUA_32BITS' for fixing compilation with lua5.3
54 - sed -e 's/-O2/-DLUA_32BITS/g' -i Makefile || die
55 -
56 - lua_copy_sources
57 -}
58 -
59 -lua_src_compile() {
60 - pushd "${BUILD_DIR}" || die
61 -
62 - local myemakeargs=(
63 - "CC=$(tc-getCC)"
64 - "LUA_INC=$(lua_get_CFLAGS)"
65 - )
66 -
67 - emake "${myemakeargs[@]}"
68 -
69 - popd
70 -}
71 -
72 -src_compile() {
73 - lua_foreach_impl lua_src_compile
74 -}
75 -
76 -lua_src_install() {
77 - pushd "${BUILD_DIR}" || die
78 -
79 - local myemakeargs=(
80 - "DESTDIR=${ED}"
81 - "LUA_CDIR=$(lua_get_cmod_dir)"
82 - "LUA_INC=$(lua_get_include_dir)"
83 - "LUA_LDIR=$(lua_get_lmod_dir)"
84 - )
85 -
86 - emake "${myemakeargs[@]}" install
87 -
88 - popd
89 -}
90 -
91 -src_install() {
92 - lua_foreach_impl lua_src_install
93 -
94 - einstalldocs
95 -}