summaryrefslogtreecommitdiff
path: root/user/perl-dbd-pg
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-dbd-pg')
-rw-r--r--user/perl-dbd-pg/APKBUILD12
-rw-r--r--user/perl-dbd-pg/fix-tests.patch13
-rw-r--r--user/perl-dbd-pg/ppc32.patch26
3 files changed, 3 insertions, 48 deletions
diff --git a/user/perl-dbd-pg/APKBUILD b/user/perl-dbd-pg/APKBUILD
index 40a12303e..7e665fb94 100644
--- a/user/perl-dbd-pg/APKBUILD
+++ b/user/perl-dbd-pg/APKBUILD
@@ -5,21 +5,17 @@ _pkgreal=DBD-Pg
_author=TURNSTEP
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
-pkgver=3.10.0
+pkgver=3.14.2
pkgrel=0
pkgdesc="PostgreSQL interface for Perl DBI"
url="https://metacpan.org/release/DBD-Pg"
arch="all"
-options="!check" # https://github.com/bucardo/dbdpg/issues/56
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl perl-dbi"
checkdepends="cmd:locale postgresql"
makedepends="perl-dev postgresql-dev"
subpackages="$pkgname-doc"
-source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz
- fix-tests.patch
- ppc32.patch
- "
+source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
@@ -36,6 +32,4 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="46c985bbdeeed4ef60d6fe06034fa0959df288f2b9bbd434e2716676a3cb7a1ded168a3cf87a6a82eb397eb8edcc023c0b85483e948ce31abcac64a1919580ba DBD-Pg-3.10.0.tar.gz
-f7032e7e63eb403778e3f42e1b7f7d472695175d3d8c30bc10062ffee6275b8f46635ea2a82ca2cc5c9de48f7bfa64cdfce56ce58846302bb32db0e4657dcee7 fix-tests.patch
-3ff842f949e4c1805eb3c86ea8f52b12adbe65b966137c33e6b29eb1565f9983808fffacac8bda160be3bdfce0dd1cdbc79903bad0443335b48bf456dd7adb6c ppc32.patch"
+sha512sums="341df267a7dc1e28f8c71c1b03cb485caf5c9c2ba95a801f7e855ef8c2fb2ed2df2f3cef804fd36072ee5570d30b399f6fba7516216f7d24186c5b6eeb5d5c52 DBD-Pg-3.14.2.tar.gz"
diff --git a/user/perl-dbd-pg/fix-tests.patch b/user/perl-dbd-pg/fix-tests.patch
deleted file mode 100644
index fd977b05c..000000000
--- a/user/perl-dbd-pg/fix-tests.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- DBD-Pg-3.8.1/t/dbdpg_test_setup.pl.old 2019-07-06 15:16:37.000000000 +0000
-+++ DBD-Pg-3.8.1/t/dbdpg_test_setup.pl 2019-07-11 22:52:13.898484394 +0000
-@@ -425,10 +425,6 @@
- if ($info =~ /but is not empty/) {
- ## Assume this is already good to go
- }
-- elsif ($info !~ /pg_ctl/) {
-- $@ = "initdb did not give a pg_ctl string: $info";
-- last GETHANDLE; ## Fail - bad output
-- }
-
- ## Which user do we connect as?
- if (!$su and $info =~ /owned by user "(.+?)"/) {
diff --git a/user/perl-dbd-pg/ppc32.patch b/user/perl-dbd-pg/ppc32.patch
deleted file mode 100644
index 404796d4d..000000000
--- a/user/perl-dbd-pg/ppc32.patch
+++ /dev/null
@@ -1,26 +0,0 @@
----
- Pg.pm | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/Pg.pm b/Pg.pm
-index 8ca8435c..099678e1 100644
---- a/Pg.pm
-+++ b/Pg.pm
-@@ -29,14 +29,14 @@ use 5.008001;
- PG_MAX_SMALLINT => 32767,
- PG_MIN_INTEGER => -2147483648,
- PG_MAX_INTEGER => 2147483647,
-- PG_MIN_BIGINT => "-9223372036854775808",
-- PG_MAX_BIGINT => "9223372036854775807",
-+ PG_MIN_BIGINT => do { use bigint; -9223372036854775808 },
-+ PG_MAX_BIGINT => do { use bigint; 9223372036854775807 },
- PG_MIN_SMALLSERIAL => 1,
- PG_MAX_SMALLSERIAL => 32767,
- PG_MIN_SERIAL => 1,
- PG_MAX_SERIAL => 2147483647,
- PG_MIN_BIGSERIAL => 1,
-- PG_MAX_BIGSERIAL => "9223372036854775807",
-+ PG_MAX_BIGSERIAL => do { use bigint; 9223372036854775807 },
- };
-
- %EXPORT_TAGS =