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/luasystem/, dev-lua/luasystem/files/
Date: Wed, 27 Jan 2021 19:48:20
Message-Id: 1611776428.2a139d5c9d96f46b301b831900c455d914195912.conikost@gentoo
1 commit: 2a139d5c9d96f46b301b831900c455d914195912
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 24 18:14:35 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 27 19:40:28 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a139d5c
7
8 dev-lua/luasystem: 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/luasystem/Manifest | 1 -
14 .../files/luasystem-0.2.0_p0-fix-makefile.patch | 33 -------------
15 dev-lua/luasystem/luasystem-0.2.0_p0.ebuild | 44 -----------------
16 dev-lua/luasystem/luasystem-0.2.1_p0.ebuild | 56 ----------------------
17 4 files changed, 134 deletions(-)
18
19 diff --git a/dev-lua/luasystem/Manifest b/dev-lua/luasystem/Manifest
20 index eee4f695f36..c1feeb4a855 100644
21 --- a/dev-lua/luasystem/Manifest
22 +++ b/dev-lua/luasystem/Manifest
23 @@ -1,2 +1 @@
24 -DIST luasystem-0.2.0_p0.tar.gz 8058 BLAKE2B fd29eaec7fe2f49e933932a436be75678400fc55a275e412379e05ab5b9cfe2036dfc9e61f960caa29d3c4ab1d439f9ede7ff3cbe14a61287270cc3707660636 SHA512 b8c7ba30470cbf100cc3f14df31729778cfb0aabebe4d27ce42c19581a2585f878d86a29a2f73fd1bef4e5861e2a604d3c396a73f131fa99ae14a17cba52c336
25 DIST luasystem-0.2.1_p0.tar.gz 8162 BLAKE2B ad8a6009823ad8202ff3884a3167d0779405c2a6be460b7ef2939622eb4d0fc8edbc6b04aba5dec9dd5e4e38f11ae0dcd582b9c348d5b516aa411858d55c6d71 SHA512 9dc323d4d1914cfa4f278a49ef22e58569d5cd7e369fa17fa6006cd47f9d90c6dfd4404067ea2436aa46a27cfbdf91e4aa26e20b89aeeefdf2aa7252c51fb32b
26
27 diff --git a/dev-lua/luasystem/files/luasystem-0.2.0_p0-fix-makefile.patch b/dev-lua/luasystem/files/luasystem-0.2.0_p0-fix-makefile.patch
28 deleted file mode 100644
29 index 803d2835c37..00000000000
30 --- a/dev-lua/luasystem/files/luasystem-0.2.0_p0-fix-makefile.patch
31 +++ /dev/null
32 @@ -1,33 +0,0 @@
33 -diff --git a/src/Makefile b/src/Makefile
34 -index 10fc31a..af5e4e4 100644
35 ---- a/src/Makefile
36 -+++ b/src/Makefile
37 -@@ -144,8 +144,8 @@ O_linux=o
38 - CC_linux=gcc
39 - DEF_linux=
40 - CFLAGS_linux= -I$(LUAINC) $(DEF) -Wall -Wshadow -Wextra \
41 -- -Wimplicit -O2 -ggdb3 -fpic -fvisibility=hidden
42 --LDFLAGS_linux=-lrt -O -shared -fpic -o
43 -+ -Wimplicit -fpic -fvisibility=hidden
44 -+LDFLAGS_linux=-lrt -shared -fpic -o
45 - LD_linux=gcc
46 -
47 - #------
48 -@@ -208,7 +208,7 @@ SOLIB=core.$(SO)
49 - #
50 - CC=$(CC_$(PLAT))
51 - DEF=$(DEF_$(PLAT))
52 --CFLAGS=$(MYCFLAGS) $(CFLAGS_$(PLAT))
53 -+CFLAGS=$(CFLAGS_$(PLAT)) $(MYCFLAGS)
54 - LDFLAGS=$(MYLDFLAGS) $(LDFLAGS_$(PLAT))
55 - LD=$(LD_$(PLAT))
56 - LUAINC= $(LUAINC_$(PLAT))
57 -@@ -248,7 +248,7 @@ none:
58 - all: $(SOLIB)
59 -
60 - $(SOLIB): $(OBJS)
61 -- $(LD) $(OBJS) $(LDFLAGS)$@
62 -+ $(LD) $(OBJS) $(LDFLAGS) $@
63 -
64 - install: all
65 - $(INSTALL_DIR) $(INSTALL_TOP_LDIR)
66
67 diff --git a/dev-lua/luasystem/luasystem-0.2.0_p0.ebuild b/dev-lua/luasystem/luasystem-0.2.0_p0.ebuild
68 deleted file mode 100644
69 index 6446cfc61d6..00000000000
70 --- a/dev-lua/luasystem/luasystem-0.2.0_p0.ebuild
71 +++ /dev/null
72 @@ -1,44 +0,0 @@
73 -# Copyright 1999-2020 Gentoo Authors
74 -# Distributed under the terms of the GNU General Public License v2
75 -
76 -EAPI=6
77 -
78 -inherit toolchain-funcs
79 -
80 -# The below is the upstream version number. The -x suffix should be kept
81 -# in sync with the _px suffix in the ebuild version.
82 -MY_PV="0.2.0-0"
83 -
84 -DESCRIPTION="platform independent system calls for lua"
85 -HOMEPAGE="https://github.com/LuaDist2/luasystem"
86 -SRC_URI="https://github.com/LuaDist2/luasystem/archive/${MY_PV}.tar.gz ->
87 - ${P}.tar.gz"
88 -
89 -LICENSE="MIT"
90 -SLOT="0"
91 -KEYWORDS="amd64 arm ppc ppc64 x86"
92 -IUSE=""
93 -
94 -COMMON_DEPEND=">=dev-lang/lua-5.1:0="
95 -DEPEND="${COMMON_DEPEND}
96 - virtual/pkgconfig"
97 -RDEPEND="${COMMON_DEPEND}"
98 -
99 -S="${WORKDIR}/${PN}-${MY_PV}"
100 -
101 -PATCHES=(
102 - "${FILESDIR}"/${P}-fix-makefile.patch
103 -)
104 -
105 -src_compile() {
106 - emake CC="$(tc-getCC)" MYCFLAGS="${CFLAGS}" \
107 - LD="$(tc-getCC)" MYLDFLAGS="${LDFLAGS}"
108 -}
109 -
110 -src_install() {
111 - insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"
112 - doins -r system
113 - exeinto "$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)"/system
114 - doexe src/core.so
115 -dodoc README.md
116 -}
117
118 diff --git a/dev-lua/luasystem/luasystem-0.2.1_p0.ebuild b/dev-lua/luasystem/luasystem-0.2.1_p0.ebuild
119 deleted file mode 100644
120 index 5b23c11d98c..00000000000
121 --- a/dev-lua/luasystem/luasystem-0.2.1_p0.ebuild
122 +++ /dev/null
123 @@ -1,56 +0,0 @@
124 -# Copyright 1999-2020 Gentoo Authors
125 -# Distributed under the terms of the GNU General Public License v2
126 -
127 -EAPI=7
128 -
129 -inherit toolchain-funcs
130 -
131 -# The below is the upstream version number. The -x suffix should be kept
132 -# in sync with the _px suffix in the ebuild version.
133 -MY_PV="0.2.1-0"
134 -
135 -DESCRIPTION="platform independent system calls for lua"
136 -HOMEPAGE="https://github.com/LuaDist2/luasystem"
137 -SRC_URI="https://github.com/LuaDist2/luasystem/archive/${MY_PV}.tar.gz ->
138 - ${P}.tar.gz"
139 -
140 -LICENSE="MIT"
141 -SLOT="0"
142 -KEYWORDS="~amd64 arm arm64 ppc ppc64 x86"
143 -IUSE="luajit test"
144 -
145 -RESTRICT="!test? ( test )"
146 -
147 -BDEPEND="
148 - virtual/pkgconfig
149 - test? (
150 - ${RDEPEND}
151 - dev-lua/busted
152 - )"
153 -RDEPEND="
154 - !luajit? ( >=dev-lang/lua-5.1:0= )
155 - luajit? ( dev-lang/luajit:2 )"
156 -DEPEND="${RDEPEND}"
157 -
158 -S="${WORKDIR}/${PN}-${MY_PV}"
159 -
160 -PATCHES=(
161 - "${FILESDIR}"/${P}-fix-makefile.patch
162 -)
163 -
164 -src_test() {
165 - busted -o gtest || die
166 -}
167 -
168 -src_compile() {
169 - emake CC="$(tc-getCC)" MYCFLAGS="${CFLAGS}" \
170 - LD="$(tc-getCC)" MYLDFLAGS="${LDFLAGS}"
171 -}
172 -
173 -src_install () {
174 - insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"
175 - doins -r system
176 - exeinto "$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)"/system
177 - doexe src/core.so
178 - einstalldocs
179 -}