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-bit32/
Date: Sat, 10 Oct 2020 15:31:33
Message-Id: 1602343646.e8422e6bafceb04372c23a80d8ae636dfc588ec3.conikost@gentoo
1 commit: e8422e6bafceb04372c23a80d8ae636dfc588ec3
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 10 15:27:26 2020 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 10 15:27:26 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8422e6b
7
8 dev-lua/lua-bit32: drop old version
9
10 Closes: https://bugs.gentoo.org/746836
11 Package-Manager: Portage-3.0.8, Repoman-3.0.1
12 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
13
14 dev-lua/lua-bit32/lua-bit32-5.3.5.ebuild | 48 --------------------------------
15 1 file changed, 48 deletions(-)
16
17 diff --git a/dev-lua/lua-bit32/lua-bit32-5.3.5.ebuild b/dev-lua/lua-bit32/lua-bit32-5.3.5.ebuild
18 deleted file mode 100644
19 index 43d5f0cee55..00000000000
20 --- a/dev-lua/lua-bit32/lua-bit32-5.3.5.ebuild
21 +++ /dev/null
22 @@ -1,48 +0,0 @@
23 -# Copyright 2020 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=7
27 -
28 -inherit toolchain-funcs
29 -
30 -DESCRIPTION="Backported Lua bit manipulation library"
31 -HOMEPAGE="https://github.com/keplerproject/lua-compat-5.3"
32 -# Wierd upstream version descisions...
33 -# Result tarball may be reused for future lua-compat53 package
34 -LUA_COMPAT_V=0.9
35 -SRC_URI="https://github.com/keplerproject/lua-compat-5.3/archive/v${LUA_COMPAT_V}.tar.gz -> lua-compat53-${LUA_COMPAT_V}.tar.gz"
36 -
37 -LICENSE="MIT"
38 -SLOT="0"
39 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
40 -IUSE="test"
41 -
42 -RESTRICT="!test? ( test )"
43 -
44 -# Strictly for lua 5.1
45 -DEPEND="dev-lang/lua:0="
46 -RDEPEND="${DEPEND}"
47 -BDEPEND="virtual/pkgconfig"
48 -
49 -S="${WORKDIR}/lua-compat-5.3-${LUA_COMPAT_V}"
50 -
51 -src_compile() {
52 - # TODO maybe sometime there will be luarocks eclass...
53 - compile="$(tc-getCC) ${CFLAGS} ${LDFLAGS} -fPIC -I/usr/include -c lbitlib.c -o lbitlib.o -DLUA_COMPAT_BITLIB -Ic-api"
54 - einfo "${compile}"
55 - eval "${compile}" || die
56 -
57 - link="$(tc-getCC) -shared ${LDFLAGS} -o bit32.so lbitlib.o"
58 - einfo "${link}"
59 - eval "${link}" || die
60 -}
61 -
62 -src_test() {
63 - LUA_CPATH=./?.so lua tests/test-bit32.lua || die
64 -}
65 -
66 -src_install() {
67 - exeinto $($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)
68 - doexe bit32.so
69 - dodoc README.md
70 -}