Update databases/p5-DBIx-Class-Schema-Loader to 0.07049
Originally from wen heping <wenheping2000 () hotmail ! com> With additional tweaks by me Has some test failures, but they are very similar to the failures in DBIx::Class as reported upstream. https://rt.cpan.org/Public/Bug/Display.html?id=133170
This commit is contained in:
parent
8fd858af2e
commit
d7ff12d1fa
@ -1,66 +1,63 @@
|
||||
# $OpenBSD: Makefile,v 1.23 2020/07/03 21:44:36 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.24 2020/11/15 19:17:37 afresh1 Exp $
|
||||
|
||||
COMMENT= dynamic definition of a DBIx::Class::Schema
|
||||
COMMENT = create a DBIx::Class::Schema based on a database
|
||||
|
||||
MODULES= cpan
|
||||
PKG_ARCH= *
|
||||
DISTNAME= DBIx-Class-Schema-Loader-0.07015
|
||||
REVISION= 2
|
||||
CATEGORIES= databases
|
||||
MODULES = cpan
|
||||
PKG_ARCH = *
|
||||
DISTNAME = DBIx-Class-Schema-Loader-0.07049
|
||||
CATEGORIES = databases
|
||||
|
||||
MAINTAINER= Andrew Fresh <afresh1@openbsd.org>
|
||||
MAINTAINER = Andrew Hewus Fresh <afresh1@openbsd.org>
|
||||
|
||||
# Artistic + GPL
|
||||
PERMIT_PACKAGE= Yes
|
||||
# Perl
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
RUN_DEPENDS= databases/p5-DBIx-Class \
|
||||
databases/p5-DBIx-Class-IntrospectableM2M \
|
||||
RUN_DEPENDS = databases/p5-DBIx-Class>=0.08127 \
|
||||
devel/p5-curry>=1.0 \
|
||||
devel/p5-Carp-Clan \
|
||||
devel/p5-Class-Unload \
|
||||
devel/p5-Data-Dump \
|
||||
devel/p5-List-MoreUtils \
|
||||
p5-Universal-exports-<0.05|p5-Universal-require->=0.11:devel/p5-Universal-require \
|
||||
textproc/p5-Lingua-EN-Inflect \
|
||||
textproc/p5-Lingua-EN-Inflect-Phrase \
|
||||
textproc/p5-Lingua-EN-Inflect-Number \
|
||||
textproc/p5-Lingua-EN-Tagger \
|
||||
textproc/p5-String-ToIdentifier-EN \
|
||||
textproc/p5-String-CamelCase
|
||||
devel/p5-Class-Accessor-Grouped>=0.10008 \
|
||||
devel/p5-Class-C3-Componentised>=1.0008 \
|
||||
devel/p5-Class-Inspector>=1.27 \
|
||||
devel/p5-Class-Unload>=0.07 \
|
||||
devel/p5-Data-Dump>=1.06 \
|
||||
devel/p5-Hash-Merge>=0.12 \
|
||||
devel/p5-MRO-Compat>=0.09 \
|
||||
devel/p5-Scope-Guard>=0.20 \
|
||||
devel/p5-Try-Tiny \
|
||||
devel/p5-namespace-clean>=0.23 \
|
||||
textproc/p5-Lingua-EN-Inflect-Number>=1.1 \
|
||||
textproc/p5-Lingua-EN-Inflect-Phrase>=0.15 \
|
||||
textproc/p5-Lingua-EN-Tagger>=0.23 \
|
||||
textproc/p5-String-ToIdentifier-EN>=0.05
|
||||
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS} \
|
||||
databases/p5-DBD-SQLite \
|
||||
devel/p5-Test-Warn \
|
||||
devel/p5-Task-Weaken \
|
||||
devel/p5-Try-Tiny
|
||||
TEST_DEPENDS=devel/p5-Config-Any \
|
||||
devel/p5-Config-General \
|
||||
databases/p5-DBD-SQLite \
|
||||
databases/p5-DBI \
|
||||
devel/p5-Moose \
|
||||
devel/p5-MooseX-MarkAsMethods \
|
||||
devel/p5-MooseX-NonMoose \
|
||||
devel/p5-Test-Exception \
|
||||
devel/p5-Test-Warn \
|
||||
devel/p5-namespace-autoclean
|
||||
TEST_DEPENDS = databases/p5-DBD-SQLite>=1.29 \
|
||||
devel/p5-Test-Deep>=0.107 \
|
||||
devel/p5-Test-Differences>=0.60 \
|
||||
devel/p5-Test-Exception>=0.31 \
|
||||
devel/p5-Test-Warn>=0.21
|
||||
|
||||
MAKE_ENV= SCHEMA_LOADER_TESTS_BACKCOMPAT=Yes \
|
||||
MAKE_ENV = SCHEMA_LOADER_TESTS_BACKCOMPAT=Yes \
|
||||
TEST_POD=Yes
|
||||
|
||||
TEST_PG ?= No
|
||||
.if ${TEST_PG:L:Myes}
|
||||
MAKE_ENV += DBICTEST_PG_DSN='dbi:Pg:dbname=test;host=localhost' \
|
||||
DBICTEST_PG_USER=postgres \
|
||||
DBICTEST_PG_PASS=
|
||||
TEST_DEPENDS += databases/p5-DBD-Pg
|
||||
.endif
|
||||
DATABASE = dbix_class_schema_loader_test
|
||||
|
||||
TEST_MYSQL ?= No
|
||||
.if ${TEST_MYSQL:L:Myes}
|
||||
MAKE_ENV += DBICTEST_MYSQL_DSN='dbi:mysql:database=test;host=localhost' \
|
||||
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 \
|
||||
DBICTEST_MYSQL_PASS= \
|
||||
DBICTEST_MYSQL_PASS=1 \
|
||||
DBICTEST_MYSQL_INNODB=1
|
||||
TEST_DEPENDS += databases/p5-DBD-mysql
|
||||
.endif
|
||||
TEST_DEPENDS += databases/p5-DBD-mysql
|
||||
|
||||
MODPOSTGRESQL_TEST_CMD = ${MODMARIADB_TEST_TARGET}
|
||||
do-test:
|
||||
${MODPOSTGRESQL_TEST_TARGET}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (DBIx-Class-Schema-Loader-0.07015.tar.gz) = JdPu2R5KXYru3urwHOjRVIDOa6R9rQFBT/3K/57LvPI=
|
||||
SIZE (DBIx-Class-Schema-Loader-0.07015.tar.gz) = 192668
|
||||
SHA256 (DBIx-Class-Schema-Loader-0.07049.tar.gz) = 6GnN3hN4z+vM8imwzeWNJ0bcYIC3X1bQcqpfH852p2Q=
|
||||
SIZE (DBIx-Class-Schema-Loader-0.07049.tar.gz) = 217280
|
||||
|
@ -1,7 +1,13 @@
|
||||
DBIx::Class::Schema::Loader automates the definition of a
|
||||
DBIx::Class::Schema by scanning table schemas and setting up columns and
|
||||
primary keys.
|
||||
DBIx::Class::Schema by scanning database table definitions and setting
|
||||
up the columns, primary keys, unique constraints and relationships.
|
||||
|
||||
DBIx::Class::Schema::Loader currently supports only the DBI storage
|
||||
type. It has explicit support for DBD::Pg, DBD::mysql, DBD::DB2, and
|
||||
DBD::SQLite. Other DBI drivers may function.
|
||||
type. It has explicit support for DBD::Pg, DBD::mysql, DBD::DB2,
|
||||
DBD::Firebird, DBD::InterBase, DBD::Informix, DBD::SQLAnywhere,
|
||||
DBD::SQLite, DBD::Sybase (for Sybase ASE and MSSSQL), DBD::ODBC
|
||||
(for MSSQL, MSAccess, Firebird and SQL Anywhere) DBD::ADO (for MSSQL
|
||||
and MSAccess) and DBD::Oracle. Other DBI drivers may function to a
|
||||
greater or lesser degree with this loader, depending on how much
|
||||
of the DBI spec they implement, and how standard their implementation
|
||||
is.
|
||||
|
@ -1,8 +1,9 @@
|
||||
@comment $OpenBSD: PLIST,v 1.4 2012/04/06 09:59:14 sthen Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.5 2020/11/15 19:17:37 afresh1 Exp $
|
||||
bin/dbicdump
|
||||
${P5SITE}/DBIx/Class/Schema/Loader/
|
||||
${P5SITE}/DBIx/Class/Schema/Loader.pm
|
||||
${P5SITE}/DBIx/Class/Schema/Loader/Base.pm
|
||||
${P5SITE}/DBIx/Class/Schema/Loader/Column.pm
|
||||
${P5SITE}/DBIx/Class/Schema/Loader/DBI/
|
||||
${P5SITE}/DBIx/Class/Schema/Loader/DBI.pm
|
||||
${P5SITE}/DBIx/Class/Schema/Loader/DBI/ADO/
|
||||
@ -56,6 +57,7 @@ ${P5SITE}/DBIx/Class/Schema/Loader/Utils.pm
|
||||
@man man/man1/dbicdump.1
|
||||
@man man/man3p/DBIx::Class::Schema::Loader.3p
|
||||
@man man/man3p/DBIx::Class::Schema::Loader::Base.3p
|
||||
@man man/man3p/DBIx::Class::Schema::Loader::Column.3p
|
||||
@man man/man3p/DBIx::Class::Schema::Loader::DBI.3p
|
||||
@man man/man3p/DBIx::Class::Schema::Loader::DBI::ADO.3p
|
||||
@man man/man3p/DBIx::Class::Schema::Loader::DBI::ADO::MS_Jet.3p
|
||||
|
Loading…
Reference in New Issue
Block a user