HI, ports@:
Here is a patch for databases/p5-Jifty-DBI:
i) Update to 0.78
ii) Update DEPENDS
It build well and pass all tests on amd64-6.8 system.
NO other ports depends on it.
Comments ?
wen
Index: Makefile
===================================================================
RCS file: /cvs/ports/databases/p5-Jifty-DBI/Makefile,v
retrieving revision 1.16
diff -u -p -r1.16 Makefile
--- Makefile 3 Jul 2020 21:44:37 -0000 1.16
+++ Makefile 10 Dec 2020 13:52:25 -0000
@@ -5,19 +5,18 @@ COMMENT= database OO schema for Jifty
MODULES= cpan
PKG_ARCH= *
-DISTNAME= Jifty-DBI-0.68
+DISTNAME= Jifty-DBI-0.78
CATEGORIES= databases www
-REVISION= 0
# perl
PERMIT_PACKAGE= Yes
-BUILD_DEPENDS= devel/p5-Test-Warn
+BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= databases/p5-DBI \
- databases/p5-DBIx-DBSchema \
- databases/p5-Data-Page \
+ databases/p5-DBIx-DBSchema>=0.34 \
+ databases/p5-Data-Page>=2.0 \
devel/p5-Cache-Memcached \
- devel/p5-Cache-Simple-TimedExpiry \
+ devel/p5-Cache-Simple-TimedExpiry>=0.21 \
devel/p5-Class-Accessor \
devel/p5-Class-Data-Inheritable \
devel/p5-Class-ReturnValue \
@@ -30,11 +29,14 @@ RUN_DEPENDS= databases/p5-DBI \
devel/p5-Hash-Merge \
devel/p5-Object-Declare>=0.22 \
devel/p5-Scalar-Defer>=0.10 \
- devel/p5-Universal-require \
+ devel/p5-Time-Duration \
+ devel/p5-Time-Duration-Parse \
+ devel/p5-Universal-require>=0.11 \
textproc/p5-Lingua-EN-Inflect \
www/p5-URI
# a lot of tests will be skipped without DB connections
-TEST_DEPENDS=databases/p5-DBD-SQLite
+TEST_DEPENDS= databases/p5-DBD-SQLite \
+ devel/p5-Test-Warn
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/databases/p5-Jifty-DBI/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo 18 Jan 2015 03:13:03 -0000 1.5
+++ distinfo 10 Dec 2020 13:52:25 -0000
@@ -1,2 +1,2 @@
-SHA256 (Jifty-DBI-0.68.tar.gz) = B/uAzwzM3hLMdvukgw+NoCJC2ki7jRcCeN7oNIt9Op8=
-SIZE (Jifty-DBI-0.68.tar.gz) = 163841
+SHA256 (Jifty-DBI-0.78.tar.gz) = lkXKepeqkIK5ge1esCrS279sEH1OYM4eTHXavRombLg=
+SIZE (Jifty-DBI-0.78.tar.gz) = 168399
Index: patches/patch-Makefile_PL
===================================================================
RCS file: /cvs/ports/databases/p5-Jifty-DBI/patches/patch-Makefile_PL,v
retrieving revision 1.3
diff -u -p -r1.3 patch-Makefile_PL
--- patches/patch-Makefile_PL 20 Apr 2011 08:12:21 -0000 1.3
+++ patches/patch-Makefile_PL 10 Dec 2020 13:52:25 -0000
@@ -1,15 +1,17 @@
-$OpenBSD: patch-Makefile_PL,v 1.3 2011/04/20 08:12:21 jasper Exp $
---- Makefile.PL.orig Wed Apr 20 10:05:15 2011
-+++ Makefile.PL Wed Apr 20 10:06:47 2011
-@@ -3,6 +3,7 @@ name ('Jifty-DBI');
- license ('perl');
+$OpenBSD$
+
+Index: Makefile.PL
+--- Makefile.PL.orig
++++ Makefile.PL
+@@ -4,6 +4,7 @@ license ('perl');
version_from('lib/Jifty/DBI.pm');
perl_version('5.8.3');
+ repository('https://github.com/bestpractical/jifty-dbi');
+=pod
requires('Cache::Simple::TimedExpiry' => '0.21');
requires('Class::Accessor::Fast' => 0);
requires('Class::Data::Inheritable');
-@@ -24,10 +25,14 @@ requires('UNIVERSAL::require' => 0.11);
+@@ -25,10 +26,14 @@ requires('UNIVERSAL::require' => 0.11);
requires('Scalar::Defer' => 0.10);
requires('version');
#requires('Class::Trigger');
@@ -23,12 +25,12 @@ $OpenBSD: patch-Makefile_PL,v 1.3 2011/0
+=pod
features(
'Memcached support' => [
- -default => 1,
-@@ -47,6 +52,7 @@ features(
+ -default => ($^O eq 'MSWin32'?0:1),
+@@ -48,6 +53,7 @@ features(
'URI' => '',
],
);
+=cut
auto_install();
+ sign;
&WriteAll;
-