diff --git a/dev-crystal/crystal-pg/Manifest b/dev-crystal/crystal-pg/Manifest new file mode 100644 index 0000000000..029d06a1f6 --- /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 0000000000..1079b9ea5f --- /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 0000000000..7ebbd03347 --- /dev/null +++ b/dev-crystal/crystal-pg/metadata.xml @@ -0,0 +1,8 @@ + + + + + cyber+gentoo@sysrq.in + Anna + +