summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorsno <sno@pkgsrc.org>2013-07-03 18:54:50 +0000
committersno <sno@pkgsrc.org>2013-07-03 18:54:50 +0000
commit9b4db06ab0af7b3e62df6508f99281cf47898a3e (patch)
tree6d4db77aa77388848750dbdccf2c567a16a8745f /databases
parentf566fae4e980a05c0527787b93d05e4b38cfbc6c (diff)
downloadpkgsrc-9b4db06ab0af7b3e62df6508f99281cf47898a3e.tar.gz
Adding new package for CPAN distribution DBIx-Class-InflateColumn-FS version
0.01007 into databases/p5-DBIx-Class-InflateColumn-FS. Provides inflation to a Path::Class::File object allowing file system storage of BLOBS. The storage path is specified with fs_column_path. Each file receives a unique name, so the storage for all FS columns can share the same path. Within the path specified by fs_column_path, files are stored in sub-directories based on the first 2 characters of the unique file names. Up to 256 sub-directories will be created, as needed. Override _fs_column_dirs in a derived class to change this behavior. fs_new_on_update will create a new file name if the file has been updated.
Diffstat (limited to 'databases')
-rw-r--r--databases/p5-DBIx-Class-InflateColumn-FS/DESCR12
-rw-r--r--databases/p5-DBIx-Class-InflateColumn-FS/Makefile25
-rw-r--r--databases/p5-DBIx-Class-InflateColumn-FS/distinfo5
3 files changed, 42 insertions, 0 deletions
diff --git a/databases/p5-DBIx-Class-InflateColumn-FS/DESCR b/databases/p5-DBIx-Class-InflateColumn-FS/DESCR
new file mode 100644
index 00000000000..116339a19fc
--- /dev/null
+++ b/databases/p5-DBIx-Class-InflateColumn-FS/DESCR
@@ -0,0 +1,12 @@
+Provides inflation to a Path::Class::File object allowing file system
+storage of BLOBS.
+
+The storage path is specified with fs_column_path. Each file receives
+a unique name, so the storage for all FS columns can share the same path.
+
+Within the path specified by fs_column_path, files are stored in
+sub-directories based on the first 2 characters of the unique file names.
+Up to 256 sub-directories will be created, as needed. Override
+_fs_column_dirs in a derived class to change this behavior.
+
+fs_new_on_update will create a new file name if the file has been updated.
diff --git a/databases/p5-DBIx-Class-InflateColumn-FS/Makefile b/databases/p5-DBIx-Class-InflateColumn-FS/Makefile
new file mode 100644
index 00000000000..beebd6520d6
--- /dev/null
+++ b/databases/p5-DBIx-Class-InflateColumn-FS/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2013/07/03 18:54:50 sno Exp $
+
+DISTNAME= DBIx-Class-InflateColumn-FS-0.01007
+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-InflateColumn-FS/
+COMMENT= Inflate/deflate columns to Path::Class::File objects
+LICENSE= ${PERL5_LICENSE}
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/DBIx/Class/InflateColumn/FS/.packlist
+
+DEPENDS+= p5-DBIx-Class>=0.08000:../../databases/p5-DBIx-Class
+DEPENDS+= p5-DBIx-Class-UUIDColumns>=0.02005:../../databases/p5-DBIx-Class-UUIDColumns
+DEPENDS+= p5-Path-Class-[0-9]*:../../devel/p5-Path-Class
+
+# For test really
+BUILD_DEPENDS+= p5-DBD-SQLite-[0-9]*:../../databases/p5-DBD-SQLite
+BUILD_DEPENDS+= p5-DBICx-TestDatabase-[0-9]*:../../databases/p5-DBICx-TestDatabase
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/p5-DBIx-Class-InflateColumn-FS/distinfo b/databases/p5-DBIx-Class-InflateColumn-FS/distinfo
new file mode 100644
index 00000000000..e7f358a515c
--- /dev/null
+++ b/databases/p5-DBIx-Class-InflateColumn-FS/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/07/03 18:54:50 sno Exp $
+
+SHA1 (DBIx-Class-InflateColumn-FS-0.01007.tar.gz) = 2bf309df9934b7c7822916986704a33ffac1df4c
+RMD160 (DBIx-Class-InflateColumn-FS-0.01007.tar.gz) = 60964f6548b5bfea2efa1cc7227d29e32a4e8231
+Size (DBIx-Class-InflateColumn-FS-0.01007.tar.gz) = 31302 bytes