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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BA3C5158021 for ; Wed, 16 Nov 2022 23:00:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8B707E08C8; Wed, 16 Nov 2022 23:00:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6F89BE088F for ; Wed, 16 Nov 2022 23:00:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3F1A9340F68 for ; Wed, 16 Nov 2022 23:00:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9E8FC741 for ; Wed, 16 Nov 2022 23:00:28 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1668639591.e2345e1e7cba96bb37b15a87ec9d8fe5375536ae.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/kyotocabinet/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/kyotocabinet/Manifest dev-db/kyotocabinet/kyotocabinet-1.2.79.ebuild X-VCS-Directories: dev-db/kyotocabinet/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e2345e1e7cba96bb37b15a87ec9d8fe5375536ae X-VCS-Branch: master Date: Wed, 16 Nov 2022 23:00:28 +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: f625900f-562d-4a19-ae42-e8acf1305fd4 X-Archives-Hash: bd682a81ee94b2bf7b67e6662c3aa7db commit: e2345e1e7cba96bb37b15a87ec9d8fe5375536ae Author: Sam James gentoo org> AuthorDate: Wed Nov 16 19:58:47 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Nov 16 22:59:51 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2345e1e dev-db/kyotocabinet: add 1.2.79 Signed-off-by: Sam James gentoo.org> dev-db/kyotocabinet/Manifest | 1 + dev-db/kyotocabinet/kyotocabinet-1.2.79.ebuild | 68 ++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/dev-db/kyotocabinet/Manifest b/dev-db/kyotocabinet/Manifest index 153fe26ce686..cc68343464c7 100644 --- a/dev-db/kyotocabinet/Manifest +++ b/dev-db/kyotocabinet/Manifest @@ -1 +1,2 @@ DIST kyotocabinet-1.2.77.tar.gz 949326 BLAKE2B faacde57e8c7fed3fb232ea6fd12b668f2d2ee352cd357d5e16e0d1740cd8f73e223964249efeae50f3ea5d0672117b2410b91ba557ebe1ac7ba4075ac28deab SHA512 f38794c11faa3f4b64097a2e314307e1a6b75ddc495103647ebe52786a689336754496e7083697417ea90436e7fad681f16440975abec9ae917874aa25153e0f +DIST kyotocabinet-1.2.79.tar.gz 943804 BLAKE2B 8a12e6dd953a1ba995d5a60126fb2682a07be390698bf98535633af894573aafc63b55497dc869cad14eceb14824ceb4f8c471b9aa1dad51944c35eac0cf4912 SHA512 9243192c81d3aa37cc8c80eb3bdf235192a0919b134cededa2b4178be515d148916e7405e094cbcdd7dbf13bf38a569bf21863afac7cc05d6418cca5853a2ff4 diff --git a/dev-db/kyotocabinet/kyotocabinet-1.2.79.ebuild b/dev-db/kyotocabinet/kyotocabinet-1.2.79.ebuild new file mode 100644 index 000000000000..4d737ac5ad0b --- /dev/null +++ b/dev-db/kyotocabinet/kyotocabinet-1.2.79.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools toolchain-funcs + +DESCRIPTION="A straightforward implementation of DBM" +HOMEPAGE="https://dbmx.net/kyotocabinet/" +SRC_URI="https://dbmx.net/kyotocabinet/pkg/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="debug doc examples +lzma +lzo static-libs" + +DEPEND="sys-libs/zlib[static-libs?] + lzma? ( app-arch/xz-utils:=[static-libs?] ) + lzo? ( dev-libs/lzo:=[static-libs?] )" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/fix_configure-1.2.62.patch + "${FILESDIR}"/${PN}-1.2.76-configure-8-byte-atomics.patch + "${FILESDIR}"/${PN}-1.2.76-flags.patch +) + +src_prepare() { + default + + sed -i -e "/DOCDIR/d" Makefile.in || die + tc-export AR + + mv configure.in configure.ac || die + eautoreconf +} + +src_configure() { + # We need to set LD_LIBRARY_PATH which will be assigned to RUNENV later + # used by test suite + LD_LIBRARY_PATH=. \ + econf $(use_enable debug) \ + $(use_enable static-libs static) \ + $(use_enable !static-libs shared) \ + $(use_enable lzma) \ + $(use_enable lzo) +} + +src_test() { + emake -j1 check +} + +src_install() { + default + + if ! use static-libs; then + find "${ED}" -name '*.a' -delete || die + fi + + if use doc; then + dodoc -r doc/* + fi + + if use examples; then + docinto example + dodoc example/* + fi +}