Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Mar 2015 19:15:46 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r382544 - in head/databases: . p5-Mango
Message-ID:  <201503281915.t2SJFk8H006326@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Sat Mar 28 19:15:45 2015
New Revision: 382544
URL: https://svnweb.freebsd.org/changeset/ports/382544
QAT: https://qat.redports.org/buildarchive/r382544/

Log:
  Add databases/p5-Mango, a pure-perl, non-blocking MongoDB driver
  designed for use with Mojolicious.

Added:
  head/databases/p5-Mango/
  head/databases/p5-Mango/Makefile   (contents, props changed)
  head/databases/p5-Mango/distinfo   (contents, props changed)
  head/databases/p5-Mango/pkg-descr   (contents, props changed)
  head/databases/p5-Mango/pkg-plist   (contents, props changed)
Modified:
  head/databases/Makefile

Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile	Sat Mar 28 19:09:17 2015	(r382543)
+++ head/databases/Makefile	Sat Mar 28 19:15:45 2015	(r382544)
@@ -415,6 +415,7 @@
     SUBDIR += p5-MLDBM
     SUBDIR += p5-MLDBM-Sync
     SUBDIR += p5-MR-Tarantool
+    SUBDIR += p5-Mango
     SUBDIR += p5-Memcached-libmemcached
     SUBDIR += p5-Metadata
     SUBDIR += p5-Mojo-Pg

Added: head/databases/p5-Mango/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/p5-Mango/Makefile	Sat Mar 28 19:15:45 2015	(r382544)
@@ -0,0 +1,23 @@
+# Created by: Adam Weinberger <adamw@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	Mango
+PORTVERSION=	1.17
+CATEGORIES=	databases perl5
+MASTER_SITES=	CPAN
+MASTER_SITE_SUBDIR=	CPAN:ODC
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	perl@FreeBSD.org
+COMMENT=	Pure-Perl non-blocking I/O MongoDB driver
+
+LICENSE=	ART20
+
+BUILD_DEPENDS=	mongo:${PORTSDIR}/databases/mongodb \
+		p5-Mojolicious>=5.40:${PORTSDIR}/www/p5-Mojolicious
+RUN_DEPENDS:=	${BUILD_DEPENDS}
+
+USES=		perl5
+USE_PERL5=	configure
+
+.include <bsd.port.mk>

Added: head/databases/p5-Mango/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/p5-Mango/distinfo	Sat Mar 28 19:15:45 2015	(r382544)
@@ -0,0 +1,2 @@
+SHA256 (Mango-1.17.tar.gz) = 922a1feb68ea88c1141c3683aa836247031288a980030c020adfa34999beae12
+SIZE (Mango-1.17.tar.gz) = 45549

Added: head/databases/p5-Mango/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/p5-Mango/pkg-descr	Sat Mar 28 19:15:45 2015	(r382544)
@@ -0,0 +1,12 @@
+Mango is a pure-Perl non-blocking I/O MongoDB driver, optimized for use with
+the Mojolicious real-time web framework, and with multiple event loop support.
+Since MongoDB is still changing rapidly, only the latest stable version is
+supported.
+
+Many arguments passed to methods as well as values of attributes get serialized
+to BSON with Mango::BSON, which provides many helper functions you can use to
+generate data types that are not available natively in Perl. All connections
+will be reset automatically if a new process has been forked, this allows
+multiple processes to share the same Mango object safely.
+
+WWW: https://metacpan.org/pod/Mango

Added: head/databases/p5-Mango/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/p5-Mango/pkg-plist	Sat Mar 28 19:15:45 2015	(r382544)
@@ -0,0 +1,34 @@
+%%SITE_PERL%%/Mango.pm
+%%SITE_PERL%%/Mango/BSON.pm
+%%SITE_PERL%%/Mango/BSON/Binary.pm
+%%SITE_PERL%%/Mango/BSON/Code.pm
+%%SITE_PERL%%/Mango/BSON/Document.pm
+%%SITE_PERL%%/Mango/BSON/ObjectID.pm
+%%SITE_PERL%%/Mango/BSON/Time.pm
+%%SITE_PERL%%/Mango/BSON/Timestamp.pm
+%%SITE_PERL%%/Mango/Bulk.pm
+%%SITE_PERL%%/Mango/Collection.pm
+%%SITE_PERL%%/Mango/Cursor.pm
+%%SITE_PERL%%/Mango/Cursor/Query.pm
+%%SITE_PERL%%/Mango/Database.pm
+%%SITE_PERL%%/Mango/GridFS.pm
+%%SITE_PERL%%/Mango/GridFS/Reader.pm
+%%SITE_PERL%%/Mango/GridFS/Writer.pm
+%%SITE_PERL%%/Mango/Protocol.pm
+%%PERL5_MAN3%%/Mango.3.gz
+%%PERL5_MAN3%%/Mango::BSON.3.gz
+%%PERL5_MAN3%%/Mango::BSON::Binary.3.gz
+%%PERL5_MAN3%%/Mango::BSON::Code.3.gz
+%%PERL5_MAN3%%/Mango::BSON::Document.3.gz
+%%PERL5_MAN3%%/Mango::BSON::ObjectID.3.gz
+%%PERL5_MAN3%%/Mango::BSON::Time.3.gz
+%%PERL5_MAN3%%/Mango::BSON::Timestamp.3.gz
+%%PERL5_MAN3%%/Mango::Bulk.3.gz
+%%PERL5_MAN3%%/Mango::Collection.3.gz
+%%PERL5_MAN3%%/Mango::Cursor.3.gz
+%%PERL5_MAN3%%/Mango::Cursor::Query.3.gz
+%%PERL5_MAN3%%/Mango::Database.3.gz
+%%PERL5_MAN3%%/Mango::GridFS.3.gz
+%%PERL5_MAN3%%/Mango::GridFS::Reader.3.gz
+%%PERL5_MAN3%%/Mango::GridFS::Writer.3.gz
+%%PERL5_MAN3%%/Mango::Protocol.3.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503281915.t2SJFk8H006326>