summaryrefslogtreecommitdiff
path: root/databases/p5-YAML-MLDBM
diff options
context:
space:
mode:
authorsno <sno>2010-07-31 07:16:23 +0000
committersno <sno>2010-07-31 07:16:23 +0000
commit53e123f1a1f33b716011938db6721306a996390d (patch)
treecbb91a4a15bba20c8bea81810abecf26c0ab3dc7 /databases/p5-YAML-MLDBM
parentcbe571b2ef68b29eea7bf5b13e7c610f184a202f (diff)
downloadpkgsrc-53e123f1a1f33b716011938db6721306a996390d.tar.gz
Importing package for p5 distribution YAML-MLDBM 0.10 into
databases/p5-YAML-MLDBM This module is similar to MLDBM except that it stores data internally as YAML, instead of Data::Dumper or Storable. By doing this, tied hash DBM databases can be created that can be used seamlessly in Python or Ruby applications. That's because those languages also have YAML and DBM modules. As other languages get YAML support, YAML::MLDBM should be able to be used with them as well. This module is a wrapper around MLDBM, but you open a DBM file using the new() method, instead of using a tie. new() will return a reference to a tied hash. You can also use YAML as a serialization method for MLDBM itself.
Diffstat (limited to 'databases/p5-YAML-MLDBM')
-rw-r--r--databases/p5-YAML-MLDBM/DESCR12
-rw-r--r--databases/p5-YAML-MLDBM/Makefile23
-rw-r--r--databases/p5-YAML-MLDBM/distinfo5
3 files changed, 40 insertions, 0 deletions
diff --git a/databases/p5-YAML-MLDBM/DESCR b/databases/p5-YAML-MLDBM/DESCR
new file mode 100644
index 00000000000..f24206346e3
--- /dev/null
+++ b/databases/p5-YAML-MLDBM/DESCR
@@ -0,0 +1,12 @@
+This module is similar to MLDBM except that it stores data internally as
+YAML, instead of Data::Dumper or Storable. By doing this, tied hash DBM
+databases can be created that can be used seamlessly in Python or Ruby
+applications. That's because those languages also have YAML and DBM
+modules. As other languages get YAML support, YAML::MLDBM should be able
+to be used with them as well.
+
+This module is a wrapper around MLDBM, but you open a DBM file using the
+new() method, instead of using a tie. new() will return a reference to
+a tied hash.
+
+You can also use YAML as a serialization method for MLDBM itself.
diff --git a/databases/p5-YAML-MLDBM/Makefile b/databases/p5-YAML-MLDBM/Makefile
new file mode 100644
index 00000000000..0652e88524f
--- /dev/null
+++ b/databases/p5-YAML-MLDBM/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/07/31 07:16:23 sno Exp $
+#
+
+DISTNAME= YAML-MLDBM-0.10
+PKGNAME= p5-${DISTNAME:S/_/beta/}
+#PKGREVISION= 1
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=YAML/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/YAML-MLDBM/
+COMMENT= Use tied hash db-s with Python and Ruby
+LICENSE= ${PERL5_LICENSE}
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= p5-MLDBM>=2.01:../../databases/p5-MLDBM
+DEPENDS+= p5-YAML>=0.35:../../textproc/p5-YAML
+
+PERL5_PACKLIST= auto/YAML/MLDBM/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/p5-YAML-MLDBM/distinfo b/databases/p5-YAML-MLDBM/distinfo
new file mode 100644
index 00000000000..5abc1a5f5fc
--- /dev/null
+++ b/databases/p5-YAML-MLDBM/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/07/31 07:16:23 sno Exp $
+
+SHA1 (YAML-MLDBM-0.10.tar.gz) = be53f12206f8a8c99dee6c2d83c3faa439d70d6f
+RMD160 (YAML-MLDBM-0.10.tar.gz) = 26d673818d96dc489f0286050127f9605fd55a86
+Size (YAML-MLDBM-0.10.tar.gz) = 3420 bytes