summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan.goodliffe@octal.co.uk>2026-01-12 12:05:44 +0000
committerDan Goodliffe <dan.goodliffe@octal.co.uk>2026-01-12 12:05:44 +0000
commit73fd5c8c59816cf120943ba9d1b11752c93706b4 (patch)
tree65d1c2bd7ed6ef3e507dcb52f587736322ed2e3e
parentRemove intel-one-mono - newer version in official tree (diff)
downloadportage-73fd5c8c59816cf120943ba9d1b11752c93706b4.tar.bz2
portage-73fd5c8c59816cf120943ba9d1b11752c93706b4.tar.xz
portage-73fd5c8c59816cf120943ba9d1b11752c93706b4.zip
Remove DBD-Pg - version in official tree
-rw-r--r--dev-perl/DBD-Pg/DBD-Pg-3.18.0-r1.ebuild115
-rw-r--r--dev-perl/DBD-Pg/Manifest3
-rw-r--r--dev-perl/DBD-Pg/metadata.xml13
3 files changed, 0 insertions, 131 deletions
diff --git a/dev-perl/DBD-Pg/DBD-Pg-3.18.0-r1.ebuild b/dev-perl/DBD-Pg/DBD-Pg-3.18.0-r1.ebuild
deleted file mode 100644
index b604a89..0000000
--- a/dev-perl/DBD-Pg/DBD-Pg-3.18.0-r1.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DIST_AUTHOR=TURNSTEP
-inherit flag-o-matic 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_configure() {
- # bug #944038
- append-cflags -std=gnu17
-
- perl-module_src_configure
-}
-
-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
deleted file mode 100644
index 483040f..0000000
--- a/dev-perl/DBD-Pg/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST DBD-Pg-3.18.0.tar.gz 288783 BLAKE2B e5ac7cddc9814cc68180f5f888d1290ed4628d6d90be9c8c84b666c0832fb140db45cb878d8f73b8ced73528e979566c03e5c5880aad5824f8dd8601884fc925 SHA512 0a81d1993f22a923776ab57f1437dbee2b5c42de091e274355dbcc9bb07e3db0c22126d0037de8de43fafeab9c947db1e3692087127027a0b13eed538fc2e1ee
-EBUILD DBD-Pg-3.18.0-r1.ebuild 2823 BLAKE2B a417a212d2fa734372e4c5095161b68281c407d20c233ddaa75bc1eb03e2ebdfcaf87e28561f7610466768fc1fafc28187834ab9c1d6c9532664ca790a059a21 SHA512 8ed093ae0f2393263b872744d9ad071fc67ea1439d3eaf44e79407c2f770577ede5a75a4c29ef6356ccde357a6de3f17bb6be2695ee70265a6ea46499142967d
-MISC metadata.xml 447 BLAKE2B 224b06a263af19d157b76a809863ca77d32ab8396032913cc6ff367fe2ff63d476b7646062fa7512c32116560cba03d2ebe0363ea4724382fc22c0ee41fe42b8 SHA512 6e9e4b40a63c8f5ee9b46e78fbab9c2aaa46e3beb24fe5642107e7896a1a2b5e9da8a230413eb00b9b3a4b8d8c726a0e0d42bdbed105141690c64b702bbab991
diff --git a/dev-perl/DBD-Pg/metadata.xml b/dev-perl/DBD-Pg/metadata.xml
deleted file mode 100644
index 3c92e12..0000000
--- a/dev-perl/DBD-Pg/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>perl@gentoo.org</email>
- <name>Gentoo Perl Project</name>
- </maintainer>
- <upstream>
- <remote-id type="cpan">DBD-Pg</remote-id>
- <remote-id type="cpan-module">Bundle::DBD::Pg</remote-id>
- <remote-id type="cpan-module">DBD::Pg</remote-id>
- </upstream>
-</pkgmetadata>