From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4089C13835A for ; Tue, 1 Dec 2020 23:54:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 452C6E0801; Tue, 1 Dec 2020 23:54:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2C9DCE0801 for ; Tue, 1 Dec 2020 23:54:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 465D23411A6 for ; Tue, 1 Dec 2020 23:54:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AA57438A for ; Tue, 1 Dec 2020 23:54:34 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1606866834.03a1bee2fc2e190d8ba765bd46cdb1f95caa3804.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/lualdap/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lua/lualdap/Manifest dev-lua/lualdap/lualdap-1.2.5.ebuild dev-lua/lualdap/metadata.xml X-VCS-Directories: dev-lua/lualdap/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 03a1bee2fc2e190d8ba765bd46cdb1f95caa3804 X-VCS-Branch: master Date: Tue, 1 Dec 2020 23:54:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 771844d4-48fc-471c-b070-7c8f82b63059 X-Archives-Hash: 591d9efcda677677e309cacef54e4ba6 commit: 03a1bee2fc2e190d8ba765bd46cdb1f95caa3804 Author: Conrad Kostecki gentoo org> AuthorDate: Tue Dec 1 23:44:17 2020 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Tue Dec 1 23:53:54 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03a1bee2 dev-lua/lualdap: bump to version 1.2.5 This version switches back to a more active repo. Thanks to the work of winterheart with some changes. Closes: https://bugs.gentoo.org/693540 Closes: https://bugs.gentoo.org/723164 Closes: https://github.com/gentoo/gentoo/pull/17491 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Conrad Kostecki gentoo.org> dev-lua/lualdap/Manifest | 1 + dev-lua/lualdap/lualdap-1.2.5.ebuild | 58 ++++++++++++++++++++++++++++++++++++ dev-lua/lualdap/metadata.xml | 7 +++++ 3 files changed, 66 insertions(+) diff --git a/dev-lua/lualdap/Manifest b/dev-lua/lualdap/Manifest index 727dc31550e..05a2c71f545 100644 --- a/dev-lua/lualdap/Manifest +++ b/dev-lua/lualdap/Manifest @@ -1 +1,2 @@ DIST lualdap-1.2.0.tar.xz 12380 BLAKE2B 42bf8633a5ccd60f6082b8729b9ba77c8f5486a7bab6cf727fc011856fec244de9f0fa96dd53c23a3fb5932a1670bbb621739c965618671c2c856c41e3faffbb SHA512 02cd3089dc6ca1f60957fa4733dae3cbfb2e13c25b068ddeb51b059701278eb86e359d56a6ef1df28cf514193311323255b36ff036bafda9fcbae0676d90a238 +DIST lualdap-1.2.5.tar.gz 85920 BLAKE2B 14015fe258fa391e08fc9b6bdb7a71dae10fbd84636cc3d84c446d67f9d0ea925c0086343a29ce21b81f77c87da37040560c631cdf3df7c8d3c255e5913fd985 SHA512 4fbd7bcea2e55a3b165a7316e4f6c45aee22506915c4cc204d1b5006adbf95611ebf4558c1ef1511f90d7142571cff37ea24952072dc7ecb13bbbe06aef32e72 diff --git a/dev-lua/lualdap/lualdap-1.2.5.ebuild b/dev-lua/lualdap/lualdap-1.2.5.ebuild new file mode 100644 index 00000000000..9d530b5b471 --- /dev/null +++ b/dev-lua/lualdap/lualdap-1.2.5.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit 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 ~x86" +IUSE="luajit test" +RESTRICT="test" + +RDEPEND=" + luajit? ( dev-lang/luajit:2 ) + !luajit? ( dev-lang/lua:0 ) + net-nds/openldap +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + test? ( ${RDEPEND} ) +" + +HTML_DOCS=( "doc/us/." ) + +src_compile() { + local myemakeargs=( + "CC=$(tc-getCC)" + "LBER_LIBDIR=/usr/$(get_libdir)" + "LDAP_LIBDIR=/usr/$(get_libdir)" + "LUA_INCDIR=$($(tc-getPKG_CONFIG) --variable includedir $(usex luajit 'luajit' 'lua'))" + ) + + emake "${myemakeargs[@]}" +} + +src_test() { + LUA_CPATH="${S}/src/?.so" $(usex luajit 'luajit' 'lua') tests/test.lua +} + +src_install() { + # Workaround, as 'make install' does not create this directory + dodir "$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))" + + local myemakeargs=( + "DESTDIR=${ED}" + "INST_LIBDIR=$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))" + ) + + emake "${myemakeargs[@]}" install + + einstalldocs +} diff --git a/dev-lua/lualdap/metadata.xml b/dev-lua/lualdap/metadata.xml index 485a025884b..aa61238027f 100644 --- a/dev-lua/lualdap/metadata.xml +++ b/dev-lua/lualdap/metadata.xml @@ -9,4 +9,11 @@ zx2c4@gentoo.org Jason A. Donenfeld + + conikost@gentoo.org + Conrad Kostecki + + + lualdap/lualdap +