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/luaposix/
Date: Sat, 04 Mar 2023 00:01:00
Message-Id: 1677888041.2f58c777e1123f5144f21d72bee972ce0b8934c4.conikost@gentoo
1 commit: 2f58c777e1123f5144f21d72bee972ce0b8934c4
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 3 23:54:06 2023 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 4 00:00:41 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f58c777
7
8 dev-lua/luaposix: drop 35.1
9
10 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
11
12 dev-lua/luaposix/Manifest | 1 -
13 dev-lua/luaposix/luaposix-35.1.ebuild | 73 -----------------------------------
14 2 files changed, 74 deletions(-)
15
16 diff --git a/dev-lua/luaposix/Manifest b/dev-lua/luaposix/Manifest
17 index 25fcf6847902..cbc68fea74aa 100644
18 --- a/dev-lua/luaposix/Manifest
19 +++ b/dev-lua/luaposix/Manifest
20 @@ -1,2 +1 @@
21 -DIST luaposix-35.1.tar.gz 180002 BLAKE2B fc48ae91c31968cb92ea9818148f135e16e2bacac10265cbfa43539c34a934c4eb636417b820ce3b0b3724fecbf27a860c6b481749d339b009fc01b6f81e6277 SHA512 f2c36bf69c0d73b4a2c6ab0915f81473addce427c22e82e2d1c334016dec7fecb4365fc980fa6adb0de21ad1a60bc75b73f58579e8a423990ad2067c9ae37775
22 DIST luaposix-36.1.tar.gz 185456 BLAKE2B 978a71a647f173a578bbe7106bbb7e46498007c4dfc4af5143c652708ecc8b56c19c9f4c76268b21a384f65b15356ef5bd0c36ba3b1ab933962a908ed0a1577f SHA512 444230b80c83e6691b6e52ff2ea4c558842418ffb6615ad81609ee62b65cc0e2a208cd3b1ad7f77a0a3ac72ffe4310a8027c6493494971d9d24097f5a0b1b1d0
23
24 diff --git a/dev-lua/luaposix/luaposix-35.1.ebuild b/dev-lua/luaposix/luaposix-35.1.ebuild
25 deleted file mode 100644
26 index 998c454543f9..000000000000
27 --- a/dev-lua/luaposix/luaposix-35.1.ebuild
28 +++ /dev/null
29 @@ -1,73 +0,0 @@
30 -# Copyright 1999-2022 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -LUA_COMPAT=( lua5-{1..4} luajit )
36 -
37 -inherit lua toolchain-funcs
38 -
39 -DESCRIPTION="Bindings for POSIX APIs"
40 -HOMEPAGE="https://luaposix.github.io/luaposix/ https://github.com/luaposix/luaposix"
41 -SRC_URI="https://github.com/luaposix/luaposix/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 -
43 -LICENSE="MIT"
44 -SLOT="0"
45 -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~riscv-linux ~x86-linux"
46 -IUSE="doc"
47 -REQUIRED_USE="${LUA_REQUIRED_USE}"
48 -
49 -# Requires specl, which is not in the tree yet
50 -RESTRICT="test"
51 -
52 -DEPEND="${LUA_DEPS}
53 - virtual/libcrypt:=
54 -"
55 -RDEPEND="${DEPEND}
56 - lua_targets_lua5-1? ( dev-lua/lua-bit32[lua_targets_lua5-1(-)] )
57 - lua_targets_luajit? ( dev-lua/lua-bit32[lua_targets_luajit(-)] )
58 -"
59 -BDEPEND="virtual/pkgconfig"
60 -
61 -src_prepare() {
62 - default
63 - lua_copy_sources
64 -}
65 -
66 -lua_src_compile() {
67 - pushd "${BUILD_DIR}" || die
68 -
69 - # LDOC=true means disable ldoc update documentation
70 - ./build-aux/luke --verbose package="${PN}" version="${PV}" \
71 - LDOC=true \
72 - PREFIX="${ED}/usr" \
73 - INST_LIBDIR="${ED}/$(lua_get_cmod_dir)" \
74 - INST_LUADIR="${ED}/$(lua_get_lmod_dir)" \
75 - LUA_INCDIR="${EPREFIX}/$(lua_get_include_dir)" \
76 - CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" || die
77 -
78 - popd || die
79 -}
80 -
81 -src_compile() {
82 - lua_foreach_impl lua_src_compile
83 -}
84 -
85 -lua_src_install() {
86 - pushd "${BUILD_DIR}" || die
87 -
88 - ./build-aux/luke install \
89 - LDOC=true \
90 - PREFIX="${ED}/usr" \
91 - INST_LIBDIR="${ED}/$(lua_get_cmod_dir)" \
92 - INST_LUADIR="${ED}/$(lua_get_lmod_dir)" \
93 - || die
94 -
95 - popd || die
96 -}
97 -
98 -src_install() {
99 - lua_foreach_impl lua_src_install
100 - dodoc {NEWS,README}.md
101 - use doc && dodoc -r doc
102 -}