public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-crystal/crystal-pg/
@ 2023-06-27 10:49 Anna Vyalkova
  0 siblings, 0 replies; 5+ messages in thread
From: Anna Vyalkova @ 2023-06-27 10:49 UTC (permalink / raw
  To: gentoo-commits

commit:     e1d99bde3dc321b87204b23e11a83e56b2eb4ced
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Jun 27 10:47:24 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Tue Jun 27 10:47:44 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e1d99bde

dev-crystal/crystal-pg: require xml support for tests

Closes: https://bugs.gentoo.org/909288
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-crystal/crystal-pg/crystal-pg-0.27.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-crystal/crystal-pg/crystal-pg-0.27.0.ebuild b/dev-crystal/crystal-pg/crystal-pg-0.27.0.ebuild
index 2d33cfbed..0d5a61eaa 100644
--- a/dev-crystal/crystal-pg/crystal-pg-0.27.0.ebuild
+++ b/dev-crystal/crystal-pg/crystal-pg-0.27.0.ebuild
@@ -18,7 +18,7 @@ RESTRICT="!test? ( test )"
 RDEPEND="dev-crystal/crystal-db"
 BDEPEND="
 	test? (
-		$(epostgres --get-depend)
+		$(epostgres --get-depend "xml")
 	)
 "
 


^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-crystal/crystal-pg/
@ 2024-04-27  9:50 Anna Vyalkova
  0 siblings, 0 replies; 5+ messages in thread
From: Anna Vyalkova @ 2024-04-27  9:50 UTC (permalink / raw
  To: gentoo-commits

commit:     b884f8c647d5aaf0d5d6df116d3a56ce2137e5c5
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Apr 27 07:04:59 2024 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sat Apr 27 09:50:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b884f8c6

dev-crystal/crystal-pg: add 0.28.0, drop 0.27.0

Closes: https://bugs.gentoo.org/922917
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-crystal/crystal-pg/Manifest                    |  2 +-
 ...l-pg-0.27.0.ebuild => crystal-pg-0.28.0.ebuild} | 24 +++++++++++++---------
 2 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/dev-crystal/crystal-pg/Manifest b/dev-crystal/crystal-pg/Manifest
index 5c1053bf88..8482d9a886 100644
--- a/dev-crystal/crystal-pg/Manifest
+++ b/dev-crystal/crystal-pg/Manifest
@@ -1,2 +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
+DIST crystal-pg-0.28.0.tar.gz 44534 BLAKE2B 69f3c50e77c928055bc66ef46b729052e6c0df69a80c310bf576ed75d51a5f3a93ebb4faa10c47c8a64dc4f46fcecf2b5b82e9812d5b6839ba5f6888cf5e5bd9 SHA512 34358bc203b78fcbe3828d086dbf31b09b94e465f5c179c6a35186f2f5d42a65cd362ef75860e93eb3252699cc22787f798e09484f2e20d1284db6a384721a78

diff --git a/dev-crystal/crystal-pg/crystal-pg-0.27.0.ebuild b/dev-crystal/crystal-pg/crystal-pg-0.28.0.ebuild
similarity index 53%
rename from dev-crystal/crystal-pg/crystal-pg-0.27.0.ebuild
rename to dev-crystal/crystal-pg/crystal-pg-0.28.0.ebuild
index 64a8e19c66..8bbdc3de29 100644
--- a/dev-crystal/crystal-pg/crystal-pg-0.27.0.ebuild
+++ b/dev-crystal/crystal-pg/crystal-pg-0.28.0.ebuild
@@ -1,9 +1,12 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit databases edo shards
+declare -Ag DAEMONS_REQ_USE=(
+	[postgresql]="xml"
+)
+inherit daemons shards
 
 DESCRIPTION="A native, non-blocking Postgres driver for Crystal"
 HOMEPAGE="https://github.com/will/crystal-pg"
@@ -12,19 +15,20 @@ SRC_URI="https://github.com/will/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.t
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
-RDEPEND="dev-crystal/crystal-db"
-BDEPEND="test? ( ${DATABASES_DEPEND[postgres]} )"
+RDEPEND="
+	>=dev-crystal/crystal-db-0.13.0
+	<dev-crystal/crystal-db-0.14.0
+"
 
 DOCS=( CHANGELOG CONTRIBUTORS {CONTRIBUTING,README}.md )
 
+daemons_enable postgresql test
+
 src_test() {
-	local -x DATABASE_URL="postgres://postgres@127.0.0.1:65432/testdb"
+	daemons_start postgresql --host 127.0.0.1
+	local -x DATABASE_URL="${POSTGRESQL_URL:?}"
 
-	epostgres --start 65432
-	edo createdb -h 127.0.0.1 -p 65432 -U postgres testdb
 	shards_src_test
-	epostgres --stop
+	daemons_stop postgresql
 }


^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-crystal/crystal-pg/
@ 2024-01-22 17:52 Anna Vyalkova
  0 siblings, 0 replies; 5+ messages in thread
From: Anna Vyalkova @ 2024-01-22 17:52 UTC (permalink / raw
  To: gentoo-commits

commit:     16fb7f1d9510242ced970f3ca962706f9b569f2a
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Mon Jan 22 17:50:17 2024 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Mon Jan 22 17:51:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=16fb7f1d

dev-crystal/crystal-pg: sync with databases.eclass

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-crystal/crystal-pg/crystal-pg-0.27.0.ebuild | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/dev-crystal/crystal-pg/crystal-pg-0.27.0.ebuild b/dev-crystal/crystal-pg/crystal-pg-0.27.0.ebuild
index 0d5a61eaa1..64a8e19c66 100644
--- a/dev-crystal/crystal-pg/crystal-pg-0.27.0.ebuild
+++ b/dev-crystal/crystal-pg/crystal-pg-0.27.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit databases shards
+inherit databases edo shards
 
 DESCRIPTION="A native, non-blocking Postgres driver for Crystal"
 HOMEPAGE="https://github.com/will/crystal-pg"
@@ -16,11 +16,7 @@ IUSE="test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="dev-crystal/crystal-db"
-BDEPEND="
-	test? (
-		$(epostgres --get-depend "xml")
-	)
-"
+BDEPEND="test? ( ${DATABASES_DEPEND[postgres]} )"
 
 DOCS=( CHANGELOG CONTRIBUTORS {CONTRIBUTING,README}.md )
 


^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-crystal/crystal-pg/
@ 2023-06-26 13:17 Anna Vyalkova
  0 siblings, 0 replies; 5+ messages in thread
From: Anna Vyalkova @ 2023-06-26 13:17 UTC (permalink / raw
  To: gentoo-commits

commit:     5c04119afc7861f0c93a32f8240c3f93cdc80357
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Mon Jun 26 13:00:45 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> 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 <cyber+gentoo <AT> 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
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-crystal/crystal-pg/
@ 2022-11-08 17:55 Anna Vyalkova
  0 siblings, 0 replies; 5+ messages in thread
From: Anna Vyalkova @ 2022-11-08 17:55 UTC (permalink / raw
  To: gentoo-commits

commit:     bb97facd744fb5188f05dbd8ed4c7be80d0d96c0
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Nov  8 17:44:46 2022 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Tue Nov  8 17:44:46 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bb97facd

dev-crystal/crystal-pg: new package, add 0.26.0

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-crystal/crystal-pg/Manifest                 |  1 +
 dev-crystal/crystal-pg/crystal-pg-0.26.0.ebuild | 26 +++++++++++++++++++++++++
 dev-crystal/crystal-pg/metadata.xml             |  8 ++++++++
 3 files changed, 35 insertions(+)

diff --git a/dev-crystal/crystal-pg/Manifest b/dev-crystal/crystal-pg/Manifest
new file mode 100644
index 000000000..029d06a1f
--- /dev/null
+++ b/dev-crystal/crystal-pg/Manifest
@@ -0,0 +1 @@
+DIST crystal-pg-0.26.0.tar.gz 38901 BLAKE2B 954737db2ebfb02ad8ed7a071a2728199a306a8eb44a31bd7702413d271c8e9aec4d5ff104487d224e8278bb4d45fe619e8f84db930cd3c70a83a3487b6387bc SHA512 097450dbabb2c2d26deb70a9ed34f49f70e63e59055b5b3513eab9951feca546886998263848c7b7648bad716f6d67b436d1bde5ff0a89d521520350138055c1

diff --git a/dev-crystal/crystal-pg/crystal-pg-0.26.0.ebuild b/dev-crystal/crystal-pg/crystal-pg-0.26.0.ebuild
new file mode 100644
index 000000000..1079b9ea5
--- /dev/null
+++ b/dev-crystal/crystal-pg/crystal-pg-0.26.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 2022 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"
+
+RDEPEND="dev-crystal/crystal-db"
+
+DOCS=( CHANGELOG CONTRIBUTORS {CONTRIBUTING,README}.md )
+
+src_test() {
+	local -x DATABASE_URL="postgres://postgres@127.0.0.1:65432"
+
+	epostgres --start 65432
+	shards_src_test
+	epostgres --stop
+}

diff --git a/dev-crystal/crystal-pg/metadata.xml b/dev-crystal/crystal-pg/metadata.xml
new file mode 100644
index 000000000..7ebbd0334
--- /dev/null
+++ b/dev-crystal/crystal-pg/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>cyber+gentoo@sysrq.in</email>
+		<name>Anna</name>
+	</maintainer>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-04-27  9:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-27 10:49 [gentoo-commits] repo/proj/guru:dev commit in: dev-crystal/crystal-pg/ Anna Vyalkova
  -- strict thread matches above, loose matches on Subject: below --
2024-04-27  9:50 Anna Vyalkova
2024-01-22 17:52 Anna Vyalkova
2023-06-26 13:17 Anna Vyalkova
2022-11-08 17:55 Anna Vyalkova

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox