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/lua-term/
Date: Sun, 29 Nov 2020 15:37:58
Message-Id: 1606662993.c5f1cc041956aad443ce48fa53479b98c194ba0a.conikost@gentoo
1 commit: c5f1cc041956aad443ce48fa53479b98c194ba0a
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 29 15:16:33 2020 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 29 15:16:33 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5f1cc04
7
8 dev-lua/lua-term: drop old version
9
10 Package-Manager: Portage-3.0.9, Repoman-3.0.2
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 dev-lua/lua-term/lua-term-0.7-r100.ebuild | 66 -------------------------------
14 1 file changed, 66 deletions(-)
15
16 diff --git a/dev-lua/lua-term/lua-term-0.7-r100.ebuild b/dev-lua/lua-term/lua-term-0.7-r100.ebuild
17 deleted file mode 100644
18 index 5ced1bbb4f1..00000000000
19 --- a/dev-lua/lua-term/lua-term-0.7-r100.ebuild
20 +++ /dev/null
21 @@ -1,66 +0,0 @@
22 -# Copyright 1999-2020 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=7
26 -
27 -LUA_COMPAT=( lua5-{1..3} luajit )
28 -MY_PV="0.07"
29 -MY_PV_SO="1.0.1"
30 -
31 -inherit lua toolchain-funcs
32 -
33 -DESCRIPTION="Terminal operations for Lua"
34 -HOMEPAGE="https://github.com/hoelzro/lua-term"
35 -SRC_URI="https://github.com/hoelzro/lua-term/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
36 -S="${WORKDIR}/${PN}-${MY_PV}"
37 -
38 -LICENSE="MIT"
39 -SLOT="0"
40 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
41 -REQUIRED_USE="${LUA_REQUIRED_USE}"
42 -
43 -RDEPEND="${LUA_DEPS}"
44 -DEPEND="${RDEPEND}"
45 -BDEPEND="virtual/pkgconfig"
46 -
47 -src_prepare() {
48 - default
49 -
50 - # Respect users CFLAGS
51 - sed -e 's/-O3//g' -i Makefile
52 -}
53 -
54 -lua_src_compile() {
55 - # Clean project to compile it for every lua slot
56 - emake clean
57 -
58 - local myemakeargs=(
59 - "CC=$(tc-getCC)"
60 - "CFLAGS=${CFLAGS} ${LDFLAGS} $(lua_get_CFLAGS)"
61 - )
62 -
63 - emake "${myemakeargs[@]}" all
64 -
65 - # Copy module to match the choosen LUA implementation
66 - cp "core.so.${MY_PV_SO}" "core-${ELUA}.so.${MY_PV_SO}" || die
67 -}
68 -
69 -src_compile() {
70 - lua_foreach_impl lua_src_compile
71 -}
72 -
73 -lua_src_install() {
74 - # Use correct module for the choosen LUA implementation
75 - cp "core-${ELUA}.so.${MY_PV_SO}" "core.so.${MY_PV_SO}" || die
76 -
77 - local myemakeargs=(
78 - LUA_LIBDIR="${ED}/$(lua_get_cmod_dir)/term"
79 - LUA_SHARE="${ED}/$(lua_get_lmod_dir)/term"
80 - )
81 -
82 - emake "${myemakeargs[@]}" install
83 -}
84 -
85 -src_install() {
86 - lua_foreach_impl lua_src_install
87 -}