summaryrefslogtreecommitdiff
path: root/dev-perl/DBD-Pg
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/DBD-Pg')
-rw-r--r--dev-perl/DBD-Pg/DBD-Pg-3.17.0.ebuild108
-rw-r--r--dev-perl/DBD-Pg/Manifest2
2 files changed, 0 insertions, 110 deletions
diff --git a/dev-perl/DBD-Pg/DBD-Pg-3.17.0.ebuild b/dev-perl/DBD-Pg/DBD-Pg-3.17.0.ebuild
deleted file mode 100644
index 4c2751922fa7..000000000000
--- a/dev-perl/DBD-Pg/DBD-Pg-3.17.0.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DIST_AUTHOR=TURNSTEP
-inherit perl-module
-
-DESCRIPTION="PostgreSQL database driver for the DBI module"
-
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
-
-RDEPEND="
- virtual/perl-version
- >=dev-perl/DBI-1.614.0
- dev-db/postgresql:*
-"
-DEPEND="
- dev-db/postgresql:*
-"
-BDEPEND="
- ${RDEPEND}
- >=virtual/perl-ExtUtils-MakeMaker-6.580.0
- test? (
- virtual/perl-File-Temp
- >=virtual/perl-Test-Simple-0.880.0
- virtual/perl-Time-HiRes
- )
-"
-
-PERL_RM_FILES=(
- "t/00_signature.t"
-)
-
-src_prepare() {
- postgres_include="$(readlink -f "${EPREFIX}"/usr/include/postgresql)"
- postgres_lib="${postgres_include//include/lib}"
- # Fall-through case is the non-split postgresql
- # The active cases instead get us the matching libdir for the includedir.
- for i in lib lib64 ; do
- if [ -d "${postgres_lib}/${i}" ]; then
- postgres_lib="${postgres_lib}/${i}"
- break
- fi
- done
-
- # env variables for compilation:
- export POSTGRES_INCLUDE="${postgres_include}"
- export POSTGRES_LIB="${postgres_lib}"
- perl-module_src_prepare
-}
-
-src_test() {
- local MODULES=(
- "Bundle::DBD::Pg v${PV}"
- "DBD::Pg v${PV}"
- )
- local failed=()
-
- local dep
- for dep in "${MODULES[@]}"; do
- ebegin "Compile testing ${dep}"
- perl -Mblib="${S}" -M"${dep} ()" -e1 #||
- #die "Could not load ${dep}"
- eend $? || failed+=( "$dep" )
- done
-
- if [[ ${failed[@]} ]]; then
- echo
- eerror "One or more modules failed compile:";
- for dep in "${failed[@]}"; do
- eerror " ${dep}"
- done
- die "Failing due to module compilation errors";
- fi
-
- local LIVEDB_TESTS=(
- "t/01connect.t"
- "t/02attribs.t"
- "t/03dbmethod.t"
- "t/03smethod.t"
- "t/04misc.t"
- "t/06bytea.t"
- "t/07copy.t"
- "t/08async.t"
- "t/09arrays.t"
- "t/12placeholders.t"
- "t/20savepoints.t"
- "t/30unicode.t"
- )
- if [[ ! -v DBI_DSN ]]; then
- ewarn "Functional database tests disabled due to lack of configuration."
- ewarn "Please set the following environment variables values pertaining to a"
- ewarn "pre-configured Postgres installation in order for tests to work:"
- ewarn " DBI_DSN - A DBI-compatible connection string for a Postgres Database"
- ewarn " ( eg: dbi:Pg:dbname=testdb )"
- ewarn " DBI_USER - A Postgres Database Username"
- ewarn " DBI_PASS - A Postgres Database Password"
- ewarn ""
- ewarn "For details, visit:"
- ewarn " https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/dev-perl/DBD-Pg"
- perl_rm_files "${LIVEDB_TESTS[@]}"
- fi
-
- # Parallel testing breaks database access
- DBDPG_TEST_ALWAYS_ENV=1 DIST_TEST="do" perl-module_src_test
-}
diff --git a/dev-perl/DBD-Pg/Manifest b/dev-perl/DBD-Pg/Manifest
index 592bc1a2b78f..112e85126ffb 100644
--- a/dev-perl/DBD-Pg/Manifest
+++ b/dev-perl/DBD-Pg/Manifest
@@ -1,5 +1,3 @@
-DIST DBD-Pg-3.17.0.tar.gz 288633 BLAKE2B 50ac384abdf7e6d7a7e054917c319f86c874b20d87fca45dc57085c31242b99e26873aa4b7a28f4a68be88ee4af2288f505ee74051eb055359376f4395d9c908 SHA512 17e7946297c58c19aa0f069ed9e1a78022ca64f76f25d7122f08b255d5192057ccfb7ace2530b505823c540f10733c3b26c1fe24a92cee966ba724e5d1694fb1
DIST DBD-Pg-3.18.0.tar.gz 288783 BLAKE2B e5ac7cddc9814cc68180f5f888d1290ed4628d6d90be9c8c84b666c0832fb140db45cb878d8f73b8ced73528e979566c03e5c5880aad5824f8dd8601884fc925 SHA512 0a81d1993f22a923776ab57f1437dbee2b5c42de091e274355dbcc9bb07e3db0c22126d0037de8de43fafeab9c947db1e3692087127027a0b13eed538fc2e1ee
-EBUILD DBD-Pg-3.17.0.ebuild 2717 BLAKE2B 2facd680a7249dd6b1d72ddeabe61ef9d2e5ea573a65a7db035ab96b0d52020fc8d71c1ff0015eaa6e0fe33ac2d15c9e6134e809c23bf05cbb50f830c4962e1b SHA512 5901d081168066ac46f34b9de955959c8a6addbe64630ac1c83a9886dc0c2c41bce1a50e6aca2d9ca95da70204159b53d7b744c73087db38f55ed85bf9be28c8
EBUILD DBD-Pg-3.18.0.ebuild 2720 BLAKE2B c1ff31b50ab41fa94e44e82341b60912b3fb384d020b8c65b90e5e52952d27890fc881f3cd1a7ab95451a777400d31cc8a3f242b127636f55ff09801b432facd SHA512 06b7b1316093cd9eec89a1136f7f79e3df7f7d6d628ff5d71ff43dc864ab2f9faafc651f578c0b2d502c63721d40ce73ef17faeb597860a2cb92cd9bb22eb5a5
MISC metadata.xml 447 BLAKE2B 224b06a263af19d157b76a809863ca77d32ab8396032913cc6ff367fe2ff63d476b7646062fa7512c32116560cba03d2ebe0363ea4724382fc22c0ee41fe42b8 SHA512 6e9e4b40a63c8f5ee9b46e78fbab9c2aaa46e3beb24fe5642107e7896a1a2b5e9da8a230413eb00b9b3a4b8d8c726a0e0d42bdbed105141690c64b702bbab991