You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-db/pgtap/pgtap-1.2.0-r1.ebuild

39 lines
776 B

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
POSTGRES_COMPAT=( 9.6 {10..14} )
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"
IUSE=""
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() {
default
rm -r ${ED}/usr/share/doc/postgresql* || die "Failed to remove improper doc locations"
dodoc doc/pgtap.mmd
}