From my previous submit, databases/p5-SQL-Abstract-Classic had been added into ports and databases/p5-Catalyst-Model-DBIC-Schema had been updated, so I re-generate the patch, include afresh1@ tweak.
wen ________________________________ 发件人: owner-po...@openbsd.org <owner-po...@openbsd.org> 代表 wen heping <wenheping2...@hotmail.com> 发送时间: 2020年7月27日 15:57 收件人: afre...@openbsd.org <afre...@openbsd.org>; ports@openbsd.org <ports@openbsd.org> 主题: [Update] databases/p5-DBIx-Class : Update to 0.082842 Hi, all: Here is a patch for databases/p5-DBIx-Class to update 0.082842. It build well and run well. 2 tests failed in total of 314 tests.(while currently there are 7 tests failed in total 308 tests) There are 16 ports depends on databases/p5-DBIx-Class, 2 of them build but failed tests, others build well and pass all tests : 1) audio/squeezecenter: Actually I did not test it, because in my memory, the version of squeezecenter is too old and there are many tests failed. 2) security/p5-Catalyst-Plugin-Authentication-Store-DBIC: also its test failure is caused by the deprecation version of Catalyst. And this port could be removed after we update Catalyst. One new port should be added before this patch: databases/p5-SQL-Abstract-Classic, which I submitted yesterday. Cheers ! wen
Index: Makefile =================================================================== RCS file: /cvs/ports/databases/p5-DBIx-Class/Makefile,v retrieving revision 1.25 diff -u -p -r1.25 Makefile --- Makefile 3 Jul 2020 21:44:36 -0000 1.25 +++ Makefile 10 Oct 2020 07:04:42 -0000 @@ -2,22 +2,20 @@ COMMENT = extensible and flexible object relational mapper -MODULES = cpan databases/postgresql databases/mariadb +MODULES = cpan PKG_ARCH = * -DISTNAME = DBIx-Class-0.082820 +DISTNAME = DBIx-Class-0.082842 CATEGORIES = databases devel -REVISION = 2 MAINTAINER = Andrew Fresh <afre...@openbsd.org> -# Artistic +# Perl PERMIT_PACKAGE = Yes CONFIGURE_ARGS = --skipdeps RUN_DEPENDS = databases/p5-DBI>=1.57 \ - databases/p5-Data-Page>=2.00 \ - databases/p5-SQL-Abstract>=1.81 \ + databases/p5-SQL-Abstract-Classic>=1.91 \ devel/p5-Class-Accessor-Grouped>=0.10012 \ devel/p5-Class-C3-Componentised>=1.0009 \ devel/p5-Class-Inspector>=1.24 \ @@ -28,7 +26,7 @@ RUN_DEPENDS = databases/p5-DBI>=1.57 \ devel/p5-Hash-Merge>=0.12 \ devel/p5-MRO-Compat>=0.12 \ devel/p5-Module-Find>=0.07 \ - devel/p5-Moo>=2.000 \ + devel/p5-Moo>=2.0 \ devel/p5-Path-Class>=0.18 \ devel/p5-Scope-Guard>=0.03 \ devel/p5-Sub-Name>=0.04 \ @@ -42,42 +40,45 @@ TEST_DEPENDS = databases/p5-DBD-SQLite>= devel/p5-Test-Warn>=0.21 # Optional depends to avoid skipping tests -TEST_DEPENDS += converters/p5-JSON-Any \ - devel/p5-Getopt-Long-Descriptive \ - devel/p5-Module-Pluggable \ - devel/p5-Sys-SigAction \ - math/p5-Math-Base36 \ - textproc/p5-Text-CSV \ +TEST_DEPENDS += converters/p5-Cpanel-JSON-XS \ + converters/p5-JSON \ + converters/p5-JSON-Any \ + converters/p5-JSON-DWIW \ + converters/p5-JSON-XS \ databases/p5-Class-DBI \ - databases/p5-SQL-Translator>=0.11018 - -TEST_DEPENDS += devel/p5-DateTime-Format-MySQL \ - devel/p5-DateTime-Format-Pg \ + databases/p5-SQL-Translator>=0.11018 \ + devel/p5-DateTime>=0.55 \ + devel/p5-DateTime-Format-MySQL \ + devel/p5-DateTime-Format-Pg>=0.16004 \ devel/p5-DateTime-Format-SQLite \ - devel/p5-DateTime-Format-Strptime \ - devel/p5-Time-Piece-MySQL - -TEST_DEPENDS += devel/p5-Moose \ - devel/p5-MooseX-Types \ - devel/p5-MooseX-Types-LoadableClass \ - devel/p5-MooseX-Types-Path-Class + devel/p5-DateTime-Format-Strptime>=1.2 \ + devel/p5-Getopt-Long-Descriptive>=0.081 \ + devel/p5-Moose>=0.98 \ + devel/p5-MooseX-Types>=0.21 \ + devel/p5-MooseX-Types-LoadableClass>=0.011 \ + devel/p5-MooseX-Types-Path-Class>=0.05 \ + devel/p5-Time-Piece-MySQL \ + math/p5-Math-Base36>=0.07 \ + textproc/p5-Text-CSV>=1.16 # More tests can be enabled by porting # * p5-Class-DBI-Plugin-DeepAbstractSearch -# * p5-Cpanel-JSON-XS # * p5-MooseX-Types-JSON +# * p5-Test-Moose MAKE_ENV = RELEASE_TESTING=Yes \ TEST_POD=Yes DATABASE = dbix_class_test +MODULES += databases/postgresql MODPOSTGRESQL_TEST_DBNAME = ${DATABASE} MAKE_ENV += DBICTEST_PG_DSN='dbi:Pg:dbname=${DATABASE}' \ DBICTEST_PG_USER=${USER} \ DBICTEST_PG_PASS=1 TEST_DEPENDS += databases/p5-DBD-Pg +MODULES += databases/mariadb MODMARIADB_TEST_DBNAME = ${DATABASE} MAKE_ENV += DBICTEST_MYSQL_DSN='dbi:mysql:database=${DATABASE};mysql_socket=${MODMARIADB_TEST_SOCKET}' \ DBICTEST_MYSQL_USER=root \ Index: distinfo =================================================================== RCS file: /cvs/ports/databases/p5-DBIx-Class/distinfo,v retrieving revision 1.10 diff -u -p -r1.10 distinfo --- distinfo 20 Jul 2015 15:37:24 -0000 1.10 +++ distinfo 10 Oct 2020 07:04:42 -0000 @@ -1,2 +1,2 @@ -SHA256 (DBIx-Class-0.082820.tar.gz) = e2CDoSc9R014Wqk1gdwdozS75dg8dBV07i45QlWdrrk= -SIZE (DBIx-Class-0.082820.tar.gz) = 850564 +SHA256 (DBIx-Class-0.082842.tar.gz) = sF7WgXJpnuErd74LdzoFkJJBplZZKRXrD2zFJWWLB+Y= +SIZE (DBIx-Class-0.082842.tar.gz) = 879377 Index: patches/patch-Makefile_PL =================================================================== RCS file: patches/patch-Makefile_PL diff -N patches/patch-Makefile_PL --- patches/patch-Makefile_PL 3 Feb 2019 13:17:45 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,13 +0,0 @@ -$OpenBSD: patch-Makefile_PL,v 1.3 2019/02/03 13:17:45 sthen Exp $ - -Index: Makefile.PL ---- Makefile.PL.orig -+++ Makefile.PL -@@ -2,6 +2,7 @@ use strict; - use warnings; - - use 5.008001; -+BEGIN { push @INC, '.'; } - use inc::Module::Install 1.06; - BEGIN { makemaker_args( NORECURS => 1 ) } # needs to happen early for old EUMM - Index: patches/patch-lib_DBIx_Class_Manual_Troubleshooting_pod =================================================================== RCS file: patches/patch-lib_DBIx_Class_Manual_Troubleshooting_pod diff -N patches/patch-lib_DBIx_Class_Manual_Troubleshooting_pod --- patches/patch-lib_DBIx_Class_Manual_Troubleshooting_pod 25 Dec 2016 15:42:09 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,13 +0,0 @@ -$OpenBSD: patch-lib_DBIx_Class_Manual_Troubleshooting_pod,v 1.1 2016/12/25 15:42:09 zhuk Exp $ -Don't pollute the makewhatis index. ---- lib/DBIx/Class/Manual/Troubleshooting.pod.orig Sun Apr 3 20:51:24 2016 -+++ lib/DBIx/Class/Manual/Troubleshooting.pod Sun Apr 3 20:51:57 2016 -@@ -2,6 +2,8 @@ - - DBIx::Class::Manual::Troubleshooting - Got a problem? Shoot it. - -+=head1 QUESTIONS AND ANSWERS -+ - =head2 "Can't locate storage blabla" - - You're trying to make a query on a non-connected schema. Make sure you got Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/databases/p5-DBIx-Class/pkg/PLIST,v retrieving revision 1.6 diff -u -p -r1.6 PLIST --- pkg/PLIST 17 May 2018 09:20:08 -0000 1.6 +++ pkg/PLIST 10 Oct 2020 07:04:42 -0000 @@ -126,14 +126,13 @@ ${P5SITE}/DBIx/Class/SQLAHacks/OracleJoi ${P5SITE}/DBIx/Class/SQLAHacks/SQLite.pm ${P5SITE}/DBIx/Class/SQLMaker/ ${P5SITE}/DBIx/Class/SQLMaker.pm -${P5SITE}/DBIx/Class/SQLMaker.pod ${P5SITE}/DBIx/Class/SQLMaker/ACCESS.pm +${P5SITE}/DBIx/Class/SQLMaker/ClassicExtensions.pm ${P5SITE}/DBIx/Class/SQLMaker/LimitDialects.pm ${P5SITE}/DBIx/Class/SQLMaker/MSSQL.pm ${P5SITE}/DBIx/Class/SQLMaker/MySQL.pm ${P5SITE}/DBIx/Class/SQLMaker/Oracle.pm ${P5SITE}/DBIx/Class/SQLMaker/OracleJoins.pm -${P5SITE}/DBIx/Class/SQLMaker/OracleJoins.pod ${P5SITE}/DBIx/Class/SQLMaker/SQLite.pm ${P5SITE}/DBIx/Class/Schema/ ${P5SITE}/DBIx/Class/Schema.pm @@ -206,6 +205,7 @@ ${P5SITE}/DBIx/Class/Storage/DBI/Sybase/ ${P5SITE}/DBIx/Class/Storage/DBI/UniqueIdentifier.pm ${P5SITE}/DBIx/Class/Storage/DBI/mysql.pm ${P5SITE}/DBIx/Class/Storage/DBIHacks.pm +${P5SITE}/DBIx/Class/Storage/Debug/PrettyTrace.pm ${P5SITE}/DBIx/Class/Storage/Statistics.pm ${P5SITE}/DBIx/Class/Storage/TxnScopeGuard.pm ${P5SITE}/DBIx/Class/UTF8Columns.pm @@ -268,6 +268,7 @@ ${P5SITE}/SQL/Translator/Producer/DBIx/C @man man/man3p/DBIx::Class::Relationship::Base.3p @man man/man3p/DBIx::Class::ResultClass::HashRefInflator.3p @man man/man3p/DBIx::Class::ResultSet.3p +@man man/man3p/DBIx::Class::ResultSet::Pager.3p @man man/man3p/DBIx::Class::ResultSetColumn.3p @man man/man3p/DBIx::Class::ResultSetManager.3p @man man/man3p/DBIx::Class::ResultSource.3p @@ -277,6 +278,7 @@ ${P5SITE}/SQL/Translator/Producer/DBIx/C @man man/man3p/DBIx::Class::ResultSourceProxy::Table.3p @man man/man3p/DBIx::Class::Row.3p @man man/man3p/DBIx::Class::SQLMaker.3p +@man man/man3p/DBIx::Class::SQLMaker::ClassicExtensions.3p @man man/man3p/DBIx::Class::SQLMaker::LimitDialects.3p @man man/man3p/DBIx::Class::SQLMaker::OracleJoins.3p @man man/man3p/DBIx::Class::Schema.3p @@ -332,6 +334,7 @@ ${P5SITE}/SQL/Translator/Producer/DBIx/C @man man/man3p/DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server::NoBindVars.3p @man man/man3p/DBIx::Class::Storage::DBI::UniqueIdentifier.3p @man man/man3p/DBIx::Class::Storage::DBI::mysql.3p +@man man/man3p/DBIx::Class::Storage::Debug::PrettyTrace.3p @man man/man3p/DBIx::Class::Storage::Statistics.3p @man man/man3p/DBIx::Class::Storage::TxnScopeGuard.3p @man man/man3p/DBIx::Class::UTF8Columns.3p