summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2008-08-29 20:15:22 +0000
committerseb <seb@pkgsrc.org>2008-08-29 20:15:22 +0000
commit2e89cdb1b3fec4be7e72901a694f622096e60ca5 (patch)
tree27a0f881481557008fc317c4b0b6f3972a9b1a21 /databases
parentfd9fe6c4ee7bace2671e73af9d06faaaca376ce8 (diff)
downloadpkgsrc-2e89cdb1b3fec4be7e72901a694f622096e60ca5.tar.gz
Initial import of p5-DBIx-Class-Fixtures version 1.001001 in the
NetBSD Packages Collection. The Perl 5 module DBIx::Class::Fixtures allows to dump fixtures from source database to filesystem then import to another database (with same schema) at any time. Use as a constant dataset for running tests against or for populating development databases when impractical to use production clones. Describe fixture set using relations and conditions based on your DBIx::Class schema.
Diffstat (limited to 'databases')
-rw-r--r--databases/p5-DBIx-Class-Fixtures/DESCR6
-rw-r--r--databases/p5-DBIx-Class-Fixtures/Makefile33
-rw-r--r--databases/p5-DBIx-Class-Fixtures/distinfo5
3 files changed, 44 insertions, 0 deletions
diff --git a/databases/p5-DBIx-Class-Fixtures/DESCR b/databases/p5-DBIx-Class-Fixtures/DESCR
new file mode 100644
index 00000000000..47cc554e28e
--- /dev/null
+++ b/databases/p5-DBIx-Class-Fixtures/DESCR
@@ -0,0 +1,6 @@
+The Perl 5 module DBIx::Class::Fixtures allows to dump fixtures
+from source database to filesystem then import to another database
+(with same schema) at any time. Use as a constant dataset for
+running tests against or for populating development databases when
+impractical to use production clones. Describe fixture set using
+relations and conditions based on your DBIx::Class schema.
diff --git a/databases/p5-DBIx-Class-Fixtures/Makefile b/databases/p5-DBIx-Class-Fixtures/Makefile
new file mode 100644
index 00000000000..3b3a29fc941
--- /dev/null
+++ b/databases/p5-DBIx-Class-Fixtures/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/08/29 20:15:22 seb Exp $
+
+DISTNAME= DBIx-Class-Fixtures-1.001001
+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-Fixtures/
+COMMENT= Perl 5 module to handle databases fixtures using DBIx::Class schema
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/DBIx/Class/Fixtures/.packlist
+
+DEPENDS+= p5-Class-Accessor-Grouped>=0.06:../../devel/p5-Class-Accessor-Grouped
+DEPENDS+= p5-Config-Any>=0.08:../../devel/p5-Config-Any
+DEPENDS+= p5-DBIx-Class-Schema-Loader>=0.04004:../../databases/p5-DBIx-Class-Schema-Loader
+DEPENDS+= p5-DBIx-Class>=0.8:../../databases/p5-DBIx-Class
+DEPENDS+= p5-Data-Dump-Streamer>=2.05:../../devel/p5-Data-Dump-Streamer
+DEPENDS+= p5-Data-Visitor>=0.15:../../devel/p5-Data-Visitor
+DEPENDS+= p5-DateTime-Format-MySQL>=0.04:../../time/p5-DateTime-Format-MySQL
+DEPENDS+= p5-DateTime>=0.41:../../time/p5-DateTime
+DEPENDS+= p5-File-Copy-Recursive>=0.35:../../sysutils/p5-File-Copy-Recursive
+DEPENDS+= p5-File-Slurp>=999.13:../../devel/p5-File-Slurp
+DEPENDS+= p5-Hash-Merge>=0.10:../../devel/p5-Hash-Merge
+DEPENDS+= p5-Path-Class>=0.16:../../devel/p5-Path-Class
+# YAML::Syck 0.88 provides JSON::Syck 0.26
+DEPENDS+= p5-YAML-Syck>=0.88:../../textproc/p5-YAML-Syck
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/p5-DBIx-Class-Fixtures/distinfo b/databases/p5-DBIx-Class-Fixtures/distinfo
new file mode 100644
index 00000000000..7aa7e26dfd8
--- /dev/null
+++ b/databases/p5-DBIx-Class-Fixtures/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/08/29 20:15:22 seb Exp $
+
+SHA1 (DBIx-Class-Fixtures-1.001001.tar.gz) = 2a3bf2705aa120ff6d0948237d84d02098c1707a
+RMD160 (DBIx-Class-Fixtures-1.001001.tar.gz) = a976dba148f8f4f60aeb68f3d33ca203b94858d6
+Size (DBIx-Class-Fixtures-1.001001.tar.gz) = 34828 bytes