diff options
-rw-r--r-- | databases/p5-DBIx-Class-Schema-Loader/DESCR | 22 | ||||
-rw-r--r-- | databases/p5-DBIx-Class-Schema-Loader/Makefile | 38 | ||||
-rw-r--r-- | databases/p5-DBIx-Class-Schema-Loader/distinfo | 5 |
3 files changed, 65 insertions, 0 deletions
diff --git a/databases/p5-DBIx-Class-Schema-Loader/DESCR b/databases/p5-DBIx-Class-Schema-Loader/DESCR new file mode 100644 index 00000000000..391d9d82f18 --- /dev/null +++ b/databases/p5-DBIx-Class-Schema-Loader/DESCR @@ -0,0 +1,22 @@ +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::Loader supports MySQL, Postgres, SQLite and DB2. +See DBIx::Class::Schema::Loader::Generic for more, and +DBIx::Class::Schema::Loader::Writing for notes on writing your own +db-specific subclass for an unsupported db. + +This module requires DBIx::Class 0.05 or later, and obsoletes +DBIx::Class::Loader for DBIx::Class version 0.05 and later. + +While on the whole, the bare table definitions are fairly straightforward, +relationship creation is somewhat heuristic, especially in the choosing +of relationship types, join types, and relationship names. The relationships +generated by this module will probably never be as well-defined as +hand-generated ones. Because of this, over time a complex project will +probably wish to migrate off of L<DBIx::Class::Schema::Loader>. + +It is designed more to get you up and running quickly against an existing +database, or to be effective for simple situations, rather than to be what +you use in the long term for a complex database/project. diff --git a/databases/p5-DBIx-Class-Schema-Loader/Makefile b/databases/p5-DBIx-Class-Schema-Loader/Makefile new file mode 100644 index 00000000000..ad1aaf5cae3 --- /dev/null +++ b/databases/p5-DBIx-Class-Schema-Loader/Makefile @@ -0,0 +1,38 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/07/15 08:42:20 abs Exp $ + +DISTNAME= DBIx-Class-Schema-Loader-0.04005 +PKGNAME= p5-${DISTNAME} +CATEGORIES= databases perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBIx/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/DBIx-Class-Schema-Loader/ +COMMENT= Dynamic definition of a DBIx::Class::Schema + +DEPENDS+= p5-DBIx-Class>=0.05006:../../databases/p5-DBIx-Class +DEPENDS+= p5-UNIVERSAL-require>=0.10:../../devel/p5-UNIVERSAL-require +DEPENDS+= p5-Lingua-EN-Inflect>=1.89:../../textproc/p5-Lingua-EN-Inflect +DEPENDS+= p5-Lingua-EN-Inflect-Number>=1.1:../../textproc/p5-Lingua-EN-Inflect-Number +DEPENDS+= p5-Text-Balanced>=0:../../textproc/p5-Text-Balanced +DEPENDS+= p5-Class-Accessor>=0.22:../../devel/p5-Class-Accessor +DEPENDS+= p5-Class-Data-Accessor>=0.02:../../devel/p5-Class-Data-Accessor +DEPENDS+= p5-Class-C3>=0.11:../../devel/p5-Class-C3 +DEPENDS+= p5-DBI>=1.56:../../databases/p5-DBI +DEPENDS+= p5-DBD-SQLite>=1.12:../../databases/p5-DBD-SQLite +DEPENDS+= p5-Carp-Clan>=0:../../devel/p5-Carp-Clan +DEPENDS+= p5-DBIx-Class>=0.06003:../../databases/p5-DBIx-Class +DEPENDS+= p5-Data-Dump>=1.06:../../devel/p5-Data-Dump +DEPENDS+= p5-PathTools>=0:../../devel/p5-PathTools +DEPENDS+= p5-Scalar-List-Utils>=0:../../devel/p5-Scalar-List-Utils +DEPENDS+= p5-Class-Inspector>=0:../../devel/p5-Class-Inspector + +# Avoid complaints if we do not have DB2, Oracle, Pg and mysql +MAKE_ENV+= DBIC_FEATURE_NOQUESTIONS=1 + +USE_LANGUAGES= # empty +PERL5_PACKLIST= auto/DBIx/Class/Schema/Loader/.packlist + +PKG_DESTDIR_SUPPORT= user-destdir + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/databases/p5-DBIx-Class-Schema-Loader/distinfo b/databases/p5-DBIx-Class-Schema-Loader/distinfo new file mode 100644 index 00000000000..2faced9581b --- /dev/null +++ b/databases/p5-DBIx-Class-Schema-Loader/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/07/15 08:42:20 abs Exp $ + +SHA1 (DBIx-Class-Schema-Loader-0.04005.tar.gz) = b8dbb94ff097bcaf93fe580ceb2e82258836e074 +RMD160 (DBIx-Class-Schema-Loader-0.04005.tar.gz) = 0343df19afb20bf9503070778c57533ea31a42ac +Size (DBIx-Class-Schema-Loader-0.04005.tar.gz) = 52034 bytes |