dev-db/pgtap - 1.3.4 (gentoo)

Search

Install

Install this version:

emerge -a =dev-db/pgtap-1.3.4

Package Information

Description:
Unit testing for PostgreSQL
Homepage:
https://pgtap.org/
License:
POSTGRESQL

Ebuild Details

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

EAPI=8

POSTGRES_COMPAT=( {14..18} )

inherit postgres-multi

DESCRIPTION="Unit testing for PostgreSQL"
HOMEPAGE="https://pgtap.org/"
SRC_URI="https://api.pgxn.org/dist/${PN}/${PV}/${P}.zip"

LICENSE="POSTGRESQL"
SLOT="0"
KEYWORDS="amd64"
REQUIRED_USE="${POSTGRES_REQ_USE}"

DEPEND="${POSTGRES_DEP}
		app-arch/unzip
		dev-perl/TAP-Parser-SourceHandler-pgTAP
"
RDEPEND="${DEPEND}"

# Tests requires a running database that match up with the current
# testing slot. Won't run from ${ED}, want's to install too early.
RESTRICT="test"

src_configure() {
	:
}

src_install() {
	postgres-multi_src_install

	rm -r "${ED}"/usr/share/doc/postgresql* || die "Failed to remove improper doc locations"
	dodoc doc/pgtap.mmd
}

Inherited Eclasses

Dependencies

DEPEND

		app-arch/unzip
		dev-perl/TAP-Parser-SourceHandler-pgTAP

RDEPEND

		app-arch/unzip
		dev-perl/TAP-Parser-SourceHandler-pgTAP

Manifest for 1.3.4

Type File Size Source URLs
DIST pgtap-1.3.4.zip 333218 bytes https://api.pgxn.org/dist/pgtap/1.3.4/pgtap-1.3.4.zip