1 |
commit: d810adcd6834e06725f271ef7af2df72c902fcb2 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 31 19:43:20 2021 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 31 19:43:57 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d810adcd |
7 |
|
8 |
dev-lua/luaposix: drop old version |
9 |
|
10 |
Closes: https://bugs.gentoo.org/779574 |
11 |
Package-Manager: Portage-3.0.17, Repoman-3.0.2 |
12 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
13 |
|
14 |
dev-lua/luaposix/luaposix-35.0-r101.ebuild | 76 ------------------------------ |
15 |
1 file changed, 76 deletions(-) |
16 |
|
17 |
diff --git a/dev-lua/luaposix/luaposix-35.0-r101.ebuild b/dev-lua/luaposix/luaposix-35.0-r101.ebuild |
18 |
deleted file mode 100644 |
19 |
index 17f6c70f4f1..00000000000 |
20 |
--- a/dev-lua/luaposix/luaposix-35.0-r101.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,76 +0,0 @@ |
23 |
-# Copyright 1999-2021 Gentoo Authors |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-EAPI=7 |
27 |
- |
28 |
-LUA_COMPAT=( lua5-{1..4} luajit ) |
29 |
- |
30 |
-inherit lua toolchain-funcs |
31 |
- |
32 |
-DESCRIPTION="Bindings for POSIX APIs" |
33 |
-HOMEPAGE="https://luaposix.github.io/luaposix/ https://github.com/luaposix/luaposix" |
34 |
-SRC_URI="https://github.com/luaposix/luaposix/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
35 |
-SLOT="0" |
36 |
-LICENSE="MIT" |
37 |
-KEYWORDS="~amd64 ~arm ~sparc ~x86 ~amd64-linux ~x86-linux" |
38 |
- |
39 |
-IUSE="doc" |
40 |
-REQUIRED_USE="${LUA_REQUIRED_USE}" |
41 |
- |
42 |
-# Requires specl, which is not in the tree yet |
43 |
-RESTRICT="test" |
44 |
- |
45 |
-DEPEND="${LUA_DEPS}" |
46 |
-RDEPEND="${DEPEND} |
47 |
- lua_targets_lua5-1? ( dev-lua/lua-bit32[lua_targets_lua5-1(-)] ) |
48 |
- lua_targets_luajit? ( dev-lua/lua-bit32[lua_targets_luajit(-)] ) |
49 |
-" |
50 |
-BDEPEND="virtual/pkgconfig" |
51 |
- |
52 |
-src_prepare() { |
53 |
- default |
54 |
- |
55 |
- # Temporary fix for respect LDFLAGS (#739050) |
56 |
- # Fixed in luke 0.2.1 |
57 |
- sed -i -e "s:c_module,libdirs:c_module,'\$LDFLAGS',libdirs:g" \ |
58 |
- build-aux/luke || die |
59 |
- |
60 |
- lua_copy_sources |
61 |
-} |
62 |
- |
63 |
-lua_src_compile() { |
64 |
- pushd "${BUILD_DIR}" || die |
65 |
- |
66 |
- # LDOC=true means disable ldoc update documentation |
67 |
- ./build-aux/luke --verbose package="${PN}" version="${PV}" \ |
68 |
- LDOC=true \ |
69 |
- PREFIX="${ED}/usr" \ |
70 |
- INST_LIBDIR="${ED}/$(lua_get_cmod_dir)" \ |
71 |
- INST_LUADIR="${ED}/$(lua_get_lmod_dir)" \ |
72 |
- CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" || die |
73 |
- |
74 |
- popd || die |
75 |
-} |
76 |
- |
77 |
-src_compile() { |
78 |
- lua_foreach_impl lua_src_compile |
79 |
-} |
80 |
- |
81 |
-lua_src_install() { |
82 |
- pushd "${BUILD_DIR}" || die |
83 |
- |
84 |
- ./build-aux/luke install \ |
85 |
- LDOC=true \ |
86 |
- PREFIX="${ED}/usr" \ |
87 |
- INST_LIBDIR="${ED}/$(lua_get_cmod_dir)" \ |
88 |
- INST_LUADIR="${ED}/$(lua_get_lmod_dir)" \ |
89 |
- || die |
90 |
- |
91 |
- popd || die |
92 |
-} |
93 |
- |
94 |
-src_install() { |
95 |
- lua_foreach_impl lua_src_install |
96 |
- dodoc {NEWS,README}.md |
97 |
- use doc && dodoc -r doc |
98 |
-} |