dev-crystal/crystal-pg - 0.30.0 (guru)

Search

Notice: This package is in a virtual group: virtual/crystal-db
Equivalents: dev-crystal/crystal-db, dev-crystal/crystal-sqlite3

Install

Install this version:

emerge -a =dev-crystal/crystal-pg-0.30.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-crystal/crystal-pg-0.30.0

Or alternatively:

emerge --autounmask-write -a =dev-crystal/crystal-pg-0.30.0

Package Information

Description:
A native, non-blocking Postgres driver for Crystal
Homepage:
https://github.com/will/crystal-pg
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
0.30.0 8 ~amd64 0
View Raw Ebuild
# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

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"
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-0.13.0
	<dev-crystal/crystal-db-0.15.0
"

DOCS=( CHANGELOG CONTRIBUTORS {CONTRIBUTING,README}.md )

daemons_enable postgresql test

src_test() {
	daemons_start postgresql --host 127.0.0.1
	local -x DATABASE_URL="${POSTGRESQL_URL:?}"

	shards_src_test
	daemons_stop postgresql
}

Inherited Eclasses

Dependencies

RDEPEND

	>=dev-crystal/crystal-db-0.13.0
	<dev-crystal/crystal-db-0.15.0

Manifest for 0.30.0

Type File Size Source URLs
DIST crystal-pg-0.30.0.tar.gz 55730 bytes https://github.com/will/crystal-pg/archive/refs/tags/v0.30.0.tar.gz