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 E22D515811D for ; Mon, 26 Jun 2023 13:17:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3951CE092C; Mon, 26 Jun 2023 13:17:08 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0F1A4E092C for ; Mon, 26 Jun 2023 13:17:07 +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 18889340DD9 for ; Mon, 26 Jun 2023 13:17:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9CD0DAC4 for ; Mon, 26 Jun 2023 13:17:05 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1687785264.5c04119afc7861f0c93a32f8240c3f93cdc80357.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-crystal/crystal-pg/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-crystal/crystal-pg/Manifest dev-crystal/crystal-pg/crystal-pg-0.27.0.ebuild X-VCS-Directories: dev-crystal/crystal-pg/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: 5c04119afc7861f0c93a32f8240c3f93cdc80357 X-VCS-Branch: dev Date: Mon, 26 Jun 2023 13:17:05 +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: 14f51358-a1b7-475d-b6ee-57adce8b2fdb X-Archives-Hash: 3a0c319c9c4b2a53898d65a4145dd4fa commit: 5c04119afc7861f0c93a32f8240c3f93cdc80357 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Mon Jun 26 13:00:45 2023 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Mon Jun 26 13:14:24 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5c04119a dev-crystal/crystal-pg: add 0.27.0 Closes: https://bugs.gentoo.org/881483 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> dev-crystal/crystal-pg/Manifest | 1 + dev-crystal/crystal-pg/crystal-pg-0.27.0.ebuild | 34 +++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/dev-crystal/crystal-pg/Manifest b/dev-crystal/crystal-pg/Manifest index 029d06a1f..5c1053bf8 100644 --- a/dev-crystal/crystal-pg/Manifest +++ b/dev-crystal/crystal-pg/Manifest @@ -1 +1,2 @@ DIST crystal-pg-0.26.0.tar.gz 38901 BLAKE2B 954737db2ebfb02ad8ed7a071a2728199a306a8eb44a31bd7702413d271c8e9aec4d5ff104487d224e8278bb4d45fe619e8f84db930cd3c70a83a3487b6387bc SHA512 097450dbabb2c2d26deb70a9ed34f49f70e63e59055b5b3513eab9951feca546886998263848c7b7648bad716f6d67b436d1bde5ff0a89d521520350138055c1 +DIST crystal-pg-0.27.0.tar.gz 44125 BLAKE2B d14a09318eb2b5bc7629a320456ac291c0aa1370b7155592216a259f0f1d3abd7770926bb6ec30bb3f816f219770b23e050383342088844cc95182e6bdf98916 SHA512 8705f2db8e935e090d81bb19e9d1b25870ade8592dac15b007387233e90af226e9610fd549c331e543b14ec5284cd00d14712d5a8727dd2d2fedc0b55420767f diff --git a/dev-crystal/crystal-pg/crystal-pg-0.27.0.ebuild b/dev-crystal/crystal-pg/crystal-pg-0.27.0.ebuild new file mode 100644 index 000000000..2d33cfbed --- /dev/null +++ b/dev-crystal/crystal-pg/crystal-pg-0.27.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit databases shards + +DESCRIPTION="A native, non-blocking Postgres driver for Crystal" +HOMEPAGE="https://github.com/will/crystal-pg" +SRC_URI="https://github.com/will/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-crystal/crystal-db" +BDEPEND=" + test? ( + $(epostgres --get-depend) + ) +" + +DOCS=( CHANGELOG CONTRIBUTORS {CONTRIBUTING,README}.md ) + +src_test() { + local -x DATABASE_URL="postgres://postgres@127.0.0.1:65432/testdb" + + epostgres --start 65432 + edo createdb -h 127.0.0.1 -p 65432 -U postgres testdb + shards_src_test + epostgres --stop +}