From b4d43e8c611df4a8061b6f88d9e9f6b1e3c83903 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 24 Jun 2021 14:47:38 +0100 Subject: gentoo resync : 24.06.2021 --- dev-lua/lualdap/Manifest | 5 +- dev-lua/lualdap/lualdap-1.2.6.ebuild | 98 ------------------------------------ dev-lua/lualdap/lualdap-1.3.0.ebuild | 89 ++++++++++++++++++++++++++++++++ 3 files changed, 91 insertions(+), 101 deletions(-) delete mode 100644 dev-lua/lualdap/lualdap-1.2.6.ebuild create mode 100644 dev-lua/lualdap/lualdap-1.3.0.ebuild (limited to 'dev-lua/lualdap') diff --git a/dev-lua/lualdap/Manifest b/dev-lua/lualdap/Manifest index 23f082dfbd3d..20a2e8688d23 100644 --- a/dev-lua/lualdap/Manifest +++ b/dev-lua/lualdap/Manifest @@ -1,4 +1,3 @@ -DIST lua-compat-5.3-0.10.tar.gz 53695 BLAKE2B e570aedb23b8ed7ca38c4316ffab25b93a0f9f6f0fae79af563ca8a81dd6453ac273e1f9e70674c484a2dec68749e7d53a1c1736a72616c210b8e38a31b3f191 SHA512 f7f39085f4f6b16095f41e635b4c5477b3dab5e42b5b65a9d522941a3807ea521d4a27a77293a3c9d0ecea78a1f6c2a2497394b2d220f4d7d65e23510563d46d -DIST lualdap-1.2.6.tar.gz 92669 BLAKE2B 49b4c8e639ff109e32321fa5a6313dcb6e83b76d1e5220b59d7297cc19d106233a2d05ff8fc43162ad242d3134700a9abe8fe8f4bcbd90a3f8f0217217decfaa SHA512 e32010caa8efea5c23f2a595bd6a339267ecd08cf23e39389005bf8e499d6bad63771d0c7faf3ab5b8f670ba22bb15bf7ae691ed67920e86d8ed2c5649d7a079 -EBUILD lualdap-1.2.6.ebuild 1826 BLAKE2B eb4f812390764cf2f57e2d0e51e9da2b139fb0553fa343bfe66c7d69859dd4e2170c848a9094ed7233a8af2e056a635d4d3cad694b5345e0f2170c4829104347 SHA512 9f4261b5aeb21824b235db9a1c49d30b615efa69cbca9f7fdf59c13be1775e3d67cc33e9c8d46f673907b5346e5c610333b83d31345daa4a4bed5e451d525111 +DIST lualdap-1.3.0.tar.gz 81987 BLAKE2B cd25cada91a3c330fb72ee1106298442c64b1bcae4a57f48937efb4311f70b53c5a0e96587caab4b1950b16d9957bb8c25b2b9e0d3753089f06fbae64180ff04 SHA512 dea4282928c5138a327cd97d3d8049341fac17b5e853440f5b0a6e115e3400bac908f24827d48e36bfe81720c7d2bacdc50ae189953ecbcdfb27cb23b78d0de8 +EBUILD lualdap-1.3.0.ebuild 1496 BLAKE2B ac0eeb815d49547c7069f8ff6dcb6cd22376517b15db174ccb2228b3fc706481ec8ab1bb92af3a6b43b1c0d8945055fded327dac1411783d0f1191ba423a72b7 SHA512 29695b71929e1c3cb960971b1c618cc6c3f91613e97db3c0ebabeeabcd18a3ccc62503f3a456d7b3a9f88fc9a754f70d55325b61f694ac0e060be3db26f2b8f1 MISC metadata.xml 441 BLAKE2B d3995cfeac0bff891fced879529bec23ee0472cf7fa202ed5eea15f6a4c3f4d11e3ec4ea125b1d3d1b631d4b6512bb46485b403996ff488ee88b4d6a806bd981 SHA512 9d7f02d02da571f47cc37da9a29685f6e2733ca157e814f99c76c9dbc0382c36a8bc22252b36a4c99ba67c79ff56e427750be50d578774076f83883951aa55af diff --git a/dev-lua/lualdap/lualdap-1.2.6.ebuild b/dev-lua/lualdap/lualdap-1.2.6.ebuild deleted file mode 100644 index 448ea47d5f01..000000000000 --- a/dev-lua/lualdap/lualdap-1.2.6.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -LUA_COMPAT=( lua5-{1..4} luajit ) -MY_PN_LUACOMPAT="lua-compat-5.3" -MY_PV_LUACOMPAT="0.10" -MY_P_LUACOMPAT="${MY_PN_LUACOMPAT}-${MY_PV_LUACOMPAT}" - -inherit lua toolchain-funcs - -DESCRIPTION="A lua binding for the OpenLDAP client libraries" -HOMEPAGE="https://github.com/lualdap/lualdap" -SRC_URI=" - https://github.com/lualdap/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://github.com/keplerproject/${MY_PN_LUACOMPAT}/archive/v${MY_PV_LUACOMPAT}.tar.gz -> ${MY_P_LUACOMPAT}.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~hppa ~ia64 ~sparc ~x86" -IUSE="test" -REQUIRED_USE="${LUA_REQUIRED_USE}" -RESTRICT="test" - -RDEPEND=" - net-nds/openldap - ${LUA_DEPS} -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - test? ( ${RDEPEND} ) -" - -HTML_DOCS=( "docs/." ) - -src_prepare() { - default - - # Copy current lua-compat-5.3 files to support lua5-4 - cp ../${MY_P_LUACOMPAT}/c-api/* src || die - - lua_copy_sources -} - -lua_src_compile() { - pushd "${BUILD_DIR}" || die - - local myemakeargs=( - "CC=$(tc-getCC)" - "LBER_LIBDIR=/usr/$(get_libdir)" - "LDAP_LIBDIR=/usr/$(get_libdir)" - "LUA_INCDIR=$(lua_get_include_dir)" - "LUA_LIBDIR=/usr/$(get_libdir)" - ) - - emake "${myemakeargs[@]}" - - popd -} - -src_compile() { - lua_foreach_impl lua_src_compile -} - -lua_src_test() { - pushd "${BUILD_DIR}" || die - LUA_CPATH="./src/?.so" ${ELUA} tests/test.lua - popd -} - -src_install() { - lua_foreach_impl lua_src_test -} - -lua_src_install() { - pushd "${BUILD_DIR}" || die - - # Workaround, as 'make install' does not create this directory - dodir "$(lua_get_cmod_dir)" - - local myemakeargs=( - "DESTDIR=${ED}" - "INST_LIBDIR=$(lua_get_cmod_dir)" - ) - - emake "${myemakeargs[@]}" install - - popd -} - -src_install() { - lua_foreach_impl lua_src_install - - einstalldocs -} diff --git a/dev-lua/lualdap/lualdap-1.3.0.ebuild b/dev-lua/lualdap/lualdap-1.3.0.ebuild new file mode 100644 index 000000000000..adb9a117f3a7 --- /dev/null +++ b/dev-lua/lualdap/lualdap-1.3.0.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( lua5-{1..4} luajit ) + +inherit lua toolchain-funcs + +DESCRIPTION="A lua binding for the OpenLDAP client libraries" +HOMEPAGE="https://github.com/lualdap/lualdap" +SRC_URI="https://github.com/lualdap/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ia64 ~sparc ~x86" +IUSE="test" +REQUIRED_USE="${LUA_REQUIRED_USE}" +RESTRICT="test" + +RDEPEND=" + net-nds/openldap + ${LUA_DEPS} +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + test? ( ${RDEPEND} ) +" + +HTML_DOCS=( "docs/." ) + +src_prepare() { + default + + lua_copy_sources +} + +lua_src_compile() { + pushd "${BUILD_DIR}" || die + + local myemakeargs=( + "CC=$(tc-getCC)" + "LBER_LIBDIR=/usr/$(get_libdir)" + "LDAP_LIBDIR=/usr/$(get_libdir)" + "LUA_INCDIR=$(lua_get_include_dir)" + "LUA_LIBDIR=/usr/$(get_libdir)" + ) + + emake "${myemakeargs[@]}" + + popd +} + +src_compile() { + lua_foreach_impl lua_src_compile +} + +lua_src_test() { + pushd "${BUILD_DIR}" || die + LUA_CPATH="./src/?.so" ${ELUA} tests/test.lua + popd +} + +src_install() { + lua_foreach_impl lua_src_test +} + +lua_src_install() { + pushd "${BUILD_DIR}" || die + + # Workaround, as 'make install' does not create this directory + dodir "$(lua_get_cmod_dir)" + + local myemakeargs=( + "DESTDIR=${ED}" + "INST_LIBDIR=$(lua_get_cmod_dir)" + ) + + emake "${myemakeargs[@]}" install + + popd +} + +src_install() { + lua_foreach_impl lua_src_install + + einstalldocs +} -- cgit v1.2.3