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/lualdap/
Date: Wed, 23 Jun 2021 19:14:56
Message-Id: 1624475639.8085532be84cccefe4838adf35baea7cfdb4b4b1.conikost@gentoo
1 commit: 8085532be84cccefe4838adf35baea7cfdb4b4b1
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 23 19:13:59 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 23 19:13:59 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8085532b
7
8 dev-lua/lualdap: drop old version
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.3
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 dev-lua/lualdap/Manifest | 2 -
14 dev-lua/lualdap/lualdap-1.2.6.ebuild | 98 ------------------------------------
15 2 files changed, 100 deletions(-)
16
17 diff --git a/dev-lua/lualdap/Manifest b/dev-lua/lualdap/Manifest
18 index cef6aa86fb6..fee4147b5b7 100644
19 --- a/dev-lua/lualdap/Manifest
20 +++ b/dev-lua/lualdap/Manifest
21 @@ -1,3 +1 @@
22 -DIST lua-compat-5.3-0.10.tar.gz 53695 BLAKE2B e570aedb23b8ed7ca38c4316ffab25b93a0f9f6f0fae79af563ca8a81dd6453ac273e1f9e70674c484a2dec68749e7d53a1c1736a72616c210b8e38a31b3f191 SHA512 f7f39085f4f6b16095f41e635b4c5477b3dab5e42b5b65a9d522941a3807ea521d4a27a77293a3c9d0ecea78a1f6c2a2497394b2d220f4d7d65e23510563d46d
23 -DIST lualdap-1.2.6.tar.gz 92669 BLAKE2B 49b4c8e639ff109e32321fa5a6313dcb6e83b76d1e5220b59d7297cc19d106233a2d05ff8fc43162ad242d3134700a9abe8fe8f4bcbd90a3f8f0217217decfaa SHA512 e32010caa8efea5c23f2a595bd6a339267ecd08cf23e39389005bf8e499d6bad63771d0c7faf3ab5b8f670ba22bb15bf7ae691ed67920e86d8ed2c5649d7a079
24 DIST lualdap-1.3.0.tar.gz 81987 BLAKE2B cd25cada91a3c330fb72ee1106298442c64b1bcae4a57f48937efb4311f70b53c5a0e96587caab4b1950b16d9957bb8c25b2b9e0d3753089f06fbae64180ff04 SHA512 dea4282928c5138a327cd97d3d8049341fac17b5e853440f5b0a6e115e3400bac908f24827d48e36bfe81720c7d2bacdc50ae189953ecbcdfb27cb23b78d0de8
25
26 diff --git a/dev-lua/lualdap/lualdap-1.2.6.ebuild b/dev-lua/lualdap/lualdap-1.2.6.ebuild
27 deleted file mode 100644
28 index 448ea47d5f0..00000000000
29 --- a/dev-lua/lualdap/lualdap-1.2.6.ebuild
30 +++ /dev/null
31 @@ -1,98 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -LUA_COMPAT=( lua5-{1..4} luajit )
38 -MY_PN_LUACOMPAT="lua-compat-5.3"
39 -MY_PV_LUACOMPAT="0.10"
40 -MY_P_LUACOMPAT="${MY_PN_LUACOMPAT}-${MY_PV_LUACOMPAT}"
41 -
42 -inherit lua toolchain-funcs
43 -
44 -DESCRIPTION="A lua binding for the OpenLDAP client libraries"
45 -HOMEPAGE="https://github.com/lualdap/lualdap"
46 -SRC_URI="
47 - https://github.com/lualdap/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
48 - https://github.com/keplerproject/${MY_PN_LUACOMPAT}/archive/v${MY_PV_LUACOMPAT}.tar.gz -> ${MY_P_LUACOMPAT}.tar.gz
49 -"
50 -
51 -LICENSE="MIT"
52 -SLOT="0"
53 -KEYWORDS="~amd64 ~hppa ~ia64 ~sparc ~x86"
54 -IUSE="test"
55 -REQUIRED_USE="${LUA_REQUIRED_USE}"
56 -RESTRICT="test"
57 -
58 -RDEPEND="
59 - net-nds/openldap
60 - ${LUA_DEPS}
61 -"
62 -DEPEND="${RDEPEND}"
63 -BDEPEND="
64 - virtual/pkgconfig
65 - test? ( ${RDEPEND} )
66 -"
67 -
68 -HTML_DOCS=( "docs/." )
69 -
70 -src_prepare() {
71 - default
72 -
73 - # Copy current lua-compat-5.3 files to support lua5-4
74 - cp ../${MY_P_LUACOMPAT}/c-api/* src || die
75 -
76 - lua_copy_sources
77 -}
78 -
79 -lua_src_compile() {
80 - pushd "${BUILD_DIR}" || die
81 -
82 - local myemakeargs=(
83 - "CC=$(tc-getCC)"
84 - "LBER_LIBDIR=/usr/$(get_libdir)"
85 - "LDAP_LIBDIR=/usr/$(get_libdir)"
86 - "LUA_INCDIR=$(lua_get_include_dir)"
87 - "LUA_LIBDIR=/usr/$(get_libdir)"
88 - )
89 -
90 - emake "${myemakeargs[@]}"
91 -
92 - popd
93 -}
94 -
95 -src_compile() {
96 - lua_foreach_impl lua_src_compile
97 -}
98 -
99 -lua_src_test() {
100 - pushd "${BUILD_DIR}" || die
101 - LUA_CPATH="./src/?.so" ${ELUA} tests/test.lua
102 - popd
103 -}
104 -
105 -src_install() {
106 - lua_foreach_impl lua_src_test
107 -}
108 -
109 -lua_src_install() {
110 - pushd "${BUILD_DIR}" || die
111 -
112 - # Workaround, as 'make install' does not create this directory
113 - dodir "$(lua_get_cmod_dir)"
114 -
115 - local myemakeargs=(
116 - "DESTDIR=${ED}"
117 - "INST_LIBDIR=$(lua_get_cmod_dir)"
118 - )
119 -
120 - emake "${myemakeargs[@]}" install
121 -
122 - popd
123 -}
124 -
125 -src_install() {
126 - lua_foreach_impl lua_src_install
127 -
128 - einstalldocs
129 -}