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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 198851581EC for ; Tue, 19 Nov 2024 14:01:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1B4ECE07EA; Tue, 19 Nov 2024 14:01:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 037B7E07EA for ; Tue, 19 Nov 2024 14:01:18 +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 2327A340C7C for ; Tue, 19 Nov 2024 14:01:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0ECBA1295 for ; Tue, 19 Nov 2024 14:01:16 +0000 (UTC) From: "Julien Roy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" Message-ID: <1732024850.2f531224f5415e3907dd81904ebfb1f6fbc2fd01.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-db/libpg_query/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-db/libpg_query/Manifest dev-db/libpg_query/libpg_query-17.6.0.0.ebuild X-VCS-Directories: dev-db/libpg_query/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: 2f531224f5415e3907dd81904ebfb1f6fbc2fd01 X-VCS-Branch: dev Date: Tue, 19 Nov 2024 14:01:16 +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: 6a121a98-e6e3-4f69-8413-02ea9dfeabcd X-Archives-Hash: 0a521a5db2afbf4681c860bc23629e15 commit: 2f531224f5415e3907dd81904ebfb1f6fbc2fd01 Author: Julien Roy jroy ca> AuthorDate: Tue Nov 19 12:46:02 2024 +0000 Commit: Julien Roy jroy ca> CommitDate: Tue Nov 19 14:00:50 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2f531224 dev-db/libpg_query: add 17.6.0.0 Signed-off-by: Julien Roy jroy.ca> dev-db/libpg_query/Manifest | 1 + dev-db/libpg_query/libpg_query-17.6.0.0.ebuild | 46 ++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-db/libpg_query/Manifest b/dev-db/libpg_query/Manifest index a9f7907b8..624596e24 100644 --- a/dev-db/libpg_query/Manifest +++ b/dev-db/libpg_query/Manifest @@ -1 +1,2 @@ DIST libpg_query-16.5.1.0.gh.tar.gz 4296325 BLAKE2B 0f4e80b7ad18462cdcfe8feb6fb8ddf17b0c90f96e6951d46103a1e6c5110e4a383a4742b38b3b3e1eea0fad9a1107cc1a69b296cd0890f342be8e89304d2856 SHA512 01b03c51f19bed427d1e3c0eecfe1ad8af0fcbce175e08b3fc53ba2a2cac396b85db9bc294e01ca7d0b3032d4fd966d95b3771d8133bb71fe3578a7beb6c587d +DIST libpg_query-17.6.0.0.gh.tar.gz 4497708 BLAKE2B a7aafc7e9969b20d9b3f58cdb3cc23f3a003496f247874a9689cd24a87a22b8a102da1b8800f33fc21556356a151bda1f86cb300af150607aece8be5b6679eec SHA512 235adfe708fda313c00b7a3795a1da54c9a2503c153e67f69df2a1529a36e40aaeb77f5cb36117e7e3b176fa467a3e33b8ddbd8c145f83c7f0fa99e1ad995ee8 diff --git a/dev-db/libpg_query/libpg_query-17.6.0.0.ebuild b/dev-db/libpg_query/libpg_query-17.6.0.0.ebuild new file mode 100644 index 000000000..a86368889 --- /dev/null +++ b/dev-db/libpg_query/libpg_query-17.6.0.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PV="${PV/\./-}" +DESCRIPTION="C library for accessing the PostgreSQL parser outside of the server environment" +HOMEPAGE="https://github.com/pganalyze/libpg_query" +SRC_URI="https://github.com/pganalyze/libpg_query/archive/${MY_PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="BSD" +SLOT="0/16" +KEYWORDS="~amd64" +IUSE="examples static-libs" + +BDEPEND=" + dev-libs/protobuf-c + dev-libs/xxhash +" + +src_prepare() { + default + + if ! use static-libs; then + sed -i -e "s/^install: \$(ARLIB) \$(SOLIB)$/install: \$(SOLIB)/" "${S}"/Makefile || die + sed -i -e "/^ \$(INSTALL) -m 644 \$(ARLIB) \"\$(DESTDIR)\"\$(libdir)\/\$(ARLIB)$/d" "${S}"/Makefile || die + fi +} + +src_compile() { + emake build_shared + use static-libs && emake build + use examples && emake examples +} + +src_test() { + emake test +} + +src_install() { + emake \ + prefix="${ED}"/usr \ + libdir="${ED}/usr/$(get_libdir)" \ + install +} 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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 570AC1581EC for ; Tue, 19 Nov 2024 14:09:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A4544E07FA; Tue, 19 Nov 2024 14:09:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9048EE07FA for ; Tue, 19 Nov 2024 14:09:26 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D4449340C43 for ; Tue, 19 Nov 2024 14:09:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 223CC1E89 for ; Tue, 19 Nov 2024 14:09:23 +0000 (UTC) From: "Julien Roy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" Message-ID: <1732024850.2f531224f5415e3907dd81904ebfb1f6fbc2fd01.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-db/libpg_query/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-db/libpg_query/Manifest dev-db/libpg_query/libpg_query-17.6.0.0.ebuild X-VCS-Directories: dev-db/libpg_query/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: 2f531224f5415e3907dd81904ebfb1f6fbc2fd01 X-VCS-Branch: master Date: Tue, 19 Nov 2024 14:09:23 +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: db644c43-648e-422e-bfac-006047abcabc X-Archives-Hash: 4c5ed1e08d44ceddc4502cf4bbb2c70d Message-ID: <20241119140923.V0OnWg8zXAeZ_Jg0N4aKxLrUl5ePtDgg7Yac_gaekno@z> commit: 2f531224f5415e3907dd81904ebfb1f6fbc2fd01 Author: Julien Roy jroy ca> AuthorDate: Tue Nov 19 12:46:02 2024 +0000 Commit: Julien Roy jroy ca> CommitDate: Tue Nov 19 14:00:50 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2f531224 dev-db/libpg_query: add 17.6.0.0 Signed-off-by: Julien Roy jroy.ca> dev-db/libpg_query/Manifest | 1 + dev-db/libpg_query/libpg_query-17.6.0.0.ebuild | 46 ++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-db/libpg_query/Manifest b/dev-db/libpg_query/Manifest index a9f7907b8..624596e24 100644 --- a/dev-db/libpg_query/Manifest +++ b/dev-db/libpg_query/Manifest @@ -1 +1,2 @@ DIST libpg_query-16.5.1.0.gh.tar.gz 4296325 BLAKE2B 0f4e80b7ad18462cdcfe8feb6fb8ddf17b0c90f96e6951d46103a1e6c5110e4a383a4742b38b3b3e1eea0fad9a1107cc1a69b296cd0890f342be8e89304d2856 SHA512 01b03c51f19bed427d1e3c0eecfe1ad8af0fcbce175e08b3fc53ba2a2cac396b85db9bc294e01ca7d0b3032d4fd966d95b3771d8133bb71fe3578a7beb6c587d +DIST libpg_query-17.6.0.0.gh.tar.gz 4497708 BLAKE2B a7aafc7e9969b20d9b3f58cdb3cc23f3a003496f247874a9689cd24a87a22b8a102da1b8800f33fc21556356a151bda1f86cb300af150607aece8be5b6679eec SHA512 235adfe708fda313c00b7a3795a1da54c9a2503c153e67f69df2a1529a36e40aaeb77f5cb36117e7e3b176fa467a3e33b8ddbd8c145f83c7f0fa99e1ad995ee8 diff --git a/dev-db/libpg_query/libpg_query-17.6.0.0.ebuild b/dev-db/libpg_query/libpg_query-17.6.0.0.ebuild new file mode 100644 index 000000000..a86368889 --- /dev/null +++ b/dev-db/libpg_query/libpg_query-17.6.0.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PV="${PV/\./-}" +DESCRIPTION="C library for accessing the PostgreSQL parser outside of the server environment" +HOMEPAGE="https://github.com/pganalyze/libpg_query" +SRC_URI="https://github.com/pganalyze/libpg_query/archive/${MY_PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="BSD" +SLOT="0/16" +KEYWORDS="~amd64" +IUSE="examples static-libs" + +BDEPEND=" + dev-libs/protobuf-c + dev-libs/xxhash +" + +src_prepare() { + default + + if ! use static-libs; then + sed -i -e "s/^install: \$(ARLIB) \$(SOLIB)$/install: \$(SOLIB)/" "${S}"/Makefile || die + sed -i -e "/^ \$(INSTALL) -m 644 \$(ARLIB) \"\$(DESTDIR)\"\$(libdir)\/\$(ARLIB)$/d" "${S}"/Makefile || die + fi +} + +src_compile() { + emake build_shared + use static-libs && emake build + use examples && emake examples +} + +src_test() { + emake test +} + +src_install() { + emake \ + prefix="${ED}"/usr \ + libdir="${ED}/usr/$(get_libdir)" \ + install +}