mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 13:03:31 -04:00
dev-crystal/crystal-pg: new package, add 0.26.0
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
1
dev-crystal/crystal-pg/Manifest
Normal file
1
dev-crystal/crystal-pg/Manifest
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DIST crystal-pg-0.26.0.tar.gz 38901 BLAKE2B 954737db2ebfb02ad8ed7a071a2728199a306a8eb44a31bd7702413d271c8e9aec4d5ff104487d224e8278bb4d45fe619e8f84db930cd3c70a83a3487b6387bc SHA512 097450dbabb2c2d26deb70a9ed34f49f70e63e59055b5b3513eab9951feca546886998263848c7b7648bad716f6d67b436d1bde5ff0a89d521520350138055c1
|
||||||
26
dev-crystal/crystal-pg/crystal-pg-0.26.0.ebuild
Normal file
26
dev-crystal/crystal-pg/crystal-pg-0.26.0.ebuild
Normal file
@@ -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
|
||||||
|
}
|
||||||
8
dev-crystal/crystal-pg/metadata.xml
Normal file
8
dev-crystal/crystal-pg/metadata.xml
Normal file
@@ -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>
|
||||||
Reference in New Issue
Block a user