mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 11:18:09 -07:00
dev-db/pgtap: Cleanup
Package-Manager: Portage-2.3.13, Repoman-2.3.3
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST pgtap-0.93.0.zip 219355 BLAKE2B 0fc2a06bc623aa74a77905f6ee3d9c448c7863fe76098e355c478a0b663614a9e995044bad41a0671e12d2f5725ed5da5b01007b30f690ead035447a82d73e73 SHA512 6165f8bd107168a3955c3ec4c63277ce9fce31d7c375fdfe13cb31b7df71cb9aae4b20a1c2d961fba97e3ae207b45b8daf9174f0701a220e52f4ffb53dddea94
|
||||
DIST pgtap-0.97.0.zip 260089 BLAKE2B ac04be5e9e317b10ab8e944bdfc33d0444db989def18843adfa6c0238d56d041f40cbba8af62eb9152b19a397f140ff789d81c4723d2aadb39b1836f0de8e52a SHA512 8d1a87b6060e28150c580383b0151553dc9c588145a3888d1b2313770283c327bb50820eee3db8cfa5d21e4664272c1538cd3784908fd042c7e788b4558a0df5
|
||||
DIST pgtap-0.98.0.zip 270583 BLAKE2B 25d409f5fc63bc7059e8a4ffd3cb460885648f8569cd10ca05d4c5fbe09af323ecc719d663f81389d45f4a4910ca77beef968e264a0d3f4fabf63fa30b8b98ac SHA512 478841aa9cf378120713b90f33dc16d40fdd030ee1856edd4bfa288a7803cabad09661cf5219925335d9220e12b6202a1fcd8cc0fc55d1974d1e98dc0f6ddac0
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
diff -Naurw pgtap-0.93.0.orig/Makefile pgtap-0.93.0/Makefile
|
||||
--- pgtap-0.93.0.orig/Makefile 2013-01-28 20:14:20.000000000 +0000
|
||||
+++ pgtap-0.93.0/Makefile 2013-03-30 16:02:45.077880109 +0000
|
||||
@@ -9,14 +9,15 @@
|
||||
DOCS = doc/pgtap.mmd
|
||||
REGRESS = $(patsubst test/sql/%.sql,%,$(TESTS))
|
||||
REGRESS_OPTS = --inputdir=test --load-language=plpgsql
|
||||
+ifndef PG_CONFIG
|
||||
PG_CONFIG = pg_config
|
||||
+endif
|
||||
|
||||
ifdef NO_PGXS
|
||||
top_builddir = ../..
|
||||
PG_CONFIG := $(top_builddir)/src/bin/pg_config/pg_config
|
||||
else
|
||||
# Run pg_config to get the PGXS Makefiles
|
||||
-PG_CONFIG = pg_config
|
||||
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
||||
endif
|
||||
|
||||
@@ -145,4 +146,3 @@
|
||||
MultiMarkdown.pl doc/pgtap.mmd > doc/pgtap.html
|
||||
./tocgen doc/pgtap.html 2> doc/toc.html
|
||||
perl -MPod::Simple::XHTML -E "my \$$p = Pod::Simple::XHTML->new; \$$p->html_header_tags('<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">'); \$$p->strip_verbatim_indent(sub { (my \$$i = \$$_[0]->[0]) =~ s/\\S.*//; \$$i }); \$$p->parse_from_file('`perldoc -l pg_prove`')" > doc/pg_prove.html
|
||||
-
|
||||
@@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Unit testing for PostgreSQL"
|
||||
HOMEPAGE="http://pgtap.org/"
|
||||
SRC_URI="http://api.pgxn.org/dist/${PN}/${PV}/${P}.zip"
|
||||
|
||||
LICENSE="POSTGRESQL"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-db/postgresql-8.4
|
||||
dev-perl/TAP-Parser-SourceHandler-pgTAP
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/pgtap-pg_config_override.patch"
|
||||
|
||||
local pgslots=$(eselect --brief postgresql list)
|
||||
local pgslot
|
||||
for pgslot in ${pgslots} ; do
|
||||
mkdir -p "${WORKDIR}/${pgslot}"
|
||||
cp -R "${S}" "${WORKDIR}/${pgslot}"
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local pgslots=$(eselect --brief postgresql list)
|
||||
local pgslot
|
||||
for pgslot in ${pgslots} ; do
|
||||
cd "${WORKDIR}/${pgslot}/${P}"
|
||||
PG_CONFIG="pg_config${pgslot//.}" emake
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local pgslots=$(eselect --brief postgresql list)
|
||||
local pgslot
|
||||
for pgslot in ${pgslots} ; do
|
||||
cd "${WORKDIR}/${pgslot}/${P}"
|
||||
PG_CONFIG="pg_config${pgslot//.}" emake DESTDIR="${D}" install
|
||||
done
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
POSTGRES_COMPAT=( 9.{2..6} )
|
||||
|
||||
inherit postgres-multi
|
||||
|
||||
DESCRIPTION="Unit testing for PostgreSQL"
|
||||
HOMEPAGE="http://pgtap.org/"
|
||||
SRC_URI="http://api.pgxn.org/dist/${PN}/${PV}/${P}.zip"
|
||||
|
||||
LICENSE="POSTGRESQL"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="${POSTGRES_DEP}
|
||||
dev-perl/TAP-Parser-SourceHandler-pgTAP
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
Reference in New Issue
Block a user