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: Wed, 27 Jan 2021 19:48:17
Message-Id: 1611776421.29f87984156dc8bf64e004823412897e4e9409e1.conikost@gentoo
1 commit: 29f87984156dc8bf64e004823412897e4e9409e1
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 24 18:06:59 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 27 19:40:21 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29f87984
7
8 dev-lua/luaexpat: drop old version
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 dev-lua/luaexpat/luaexpat-1.3.0-r2.ebuild | 46 -----------------------------
14 dev-lua/luaexpat/luaexpat-1.3.3-r2.ebuild | 49 -------------------------------
15 2 files changed, 95 deletions(-)
16
17 diff --git a/dev-lua/luaexpat/luaexpat-1.3.0-r2.ebuild b/dev-lua/luaexpat/luaexpat-1.3.0-r2.ebuild
18 deleted file mode 100644
19 index 37600917577..00000000000
20 --- a/dev-lua/luaexpat/luaexpat-1.3.0-r2.ebuild
21 +++ /dev/null
22 @@ -1,46 +0,0 @@
23 -# Copyright 1999-2020 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=7
27 -
28 -inherit multilib-minimal toolchain-funcs
29 -
30 -DESCRIPTION="LuaExpat is a SAX XML parser based on the Expat library"
31 -HOMEPAGE="http://www.keplerproject.org/luaexpat/"
32 -SRC_URI="http://matthewwild.co.uk/projects/${PN}/${P}.tar.gz"
33 -
34 -LICENSE="MIT"
35 -SLOT="0"
36 -KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 sparc x86"
37 -
38 -RDEPEND=">=dev-lang/lua-5.1.5-r2:0[${MULTILIB_USEDEP}]
39 - >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]"
40 -DEPEND="${RDEPEND}"
41 -BDEPEND="virtual/pkgconfig"
42 -
43 -src_prepare() {
44 - default
45 - sed -i -e 's:-g::' -e 's:-O2::' Makefile || die "sed failed"
46 - multilib_copy_sources
47 -}
48 -
49 -multilib_src_compile() {
50 - emake \
51 - CFLAGS="${CFLAGS}" \
52 - LDFLAGS="${LDFLAGS}" \
53 - CC="$(tc-getCC)" \
54 - LUA_INC="-I$($(tc-getPKG_CONFIG) --variable INSTALL_INC lua)"
55 -}
56 -
57 -multilib_src_install() {
58 - emake \
59 - DESTDIR="${D}" \
60 - LUA_LDIR="$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)" \
61 - LUA_CDIR="$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)" \
62 - LUA_INC="-I$($(tc-getPKG_CONFIG) --variable INSTALL_INC lua)" \
63 - install
64 -}
65 -
66 -multilib_src_install_all() {
67 - dodoc -r README doc/*
68 -}
69
70 diff --git a/dev-lua/luaexpat/luaexpat-1.3.3-r2.ebuild b/dev-lua/luaexpat/luaexpat-1.3.3-r2.ebuild
71 deleted file mode 100644
72 index 5b99b5d96ba..00000000000
73 --- a/dev-lua/luaexpat/luaexpat-1.3.3-r2.ebuild
74 +++ /dev/null
75 @@ -1,49 +0,0 @@
76 -# Copyright 1999-2020 Gentoo Authors
77 -# Distributed under the terms of the GNU General Public License v2
78 -
79 -EAPI=7
80 -
81 -inherit multilib-minimal toolchain-funcs
82 -
83 -DESCRIPTION="LuaExpat is a SAX XML parser based on the Expat library"
84 -HOMEPAGE="https://matthewwild.co.uk/projects/luaexpat/ https://github.com/tomasguisasola/luaexpat"
85 -SRC_URI="https://github.com/tomasguisasola/luaexpat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
86 -
87 -LICENSE="MIT"
88 -SLOT="0"
89 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
90 -
91 -RDEPEND=">=dev-lang/lua-5.1.5-r2:0[${MULTILIB_USEDEP}]
92 - >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]"
93 -DEPEND="${RDEPEND}"
94 -BDEPEND="virtual/pkgconfig"
95 -
96 -PATCHES=(
97 - "${FILESDIR}/${P}_makefile.patch"
98 - "${FILESDIR}/${P}_getcurrentbytecount.patch"
99 - "${FILESDIR}/${P}_restore_functionality.patch"
100 -)
101 -
102 -src_prepare() {
103 - default
104 - multilib_copy_sources
105 -}
106 -
107 -multilib_src_compile() {
108 - emake \
109 - CFLAGS="${CFLAGS}" \
110 - LDFLAGS="${LDFLAGS}" \
111 - CC="$(tc-getCC)" \
112 - LUA_INC="$($(tc-getPKG_CONFIG) --variable INSTALL_INC lua)"
113 -}
114 -
115 -multilib_src_install() {
116 - emake \
117 - LUA_DIR="${D}/$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)" \
118 - LUA_LIBDIR="${D}/$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)" \
119 - install
120 -}
121 -
122 -multilib_src_install_all() {
123 - dodoc -r README.md doc/*
124 -}