Date: Wed, 28 Oct 2015 02:18:58 +0000 (UTC) From: "Vanilla I. Shu" <vanilla@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r400367 - in head/devel: . p5-CHI-Driver-DBI Message-ID: <201510280218.t9S2IwSs055821@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: vanilla Date: Wed Oct 28 02:18:58 2015 New Revision: 400367 URL: https://svnweb.freebsd.org/changeset/ports/400367 Log: Add p5-CHI-Driver-DBI 1.27, use DBI for CHI unified cache interface storage. PR: 204057 Submitted by: jeremybbaggs@gmail.com Added: head/devel/p5-CHI-Driver-DBI/ head/devel/p5-CHI-Driver-DBI/Makefile (contents, props changed) head/devel/p5-CHI-Driver-DBI/distinfo (contents, props changed) head/devel/p5-CHI-Driver-DBI/pkg-descr (contents, props changed) head/devel/p5-CHI-Driver-DBI/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed Oct 28 00:42:31 2015 (r400366) +++ head/devel/Makefile Wed Oct 28 02:18:58 2015 (r400367) @@ -1717,6 +1717,7 @@ SUBDIR += p5-C-Scan SUBDIR += p5-CBOR-XS SUBDIR += p5-CHI + SUBDIR += p5-CHI-Driver-DBI SUBDIR += p5-CLASS SUBDIR += p5-CPAN-Changes SUBDIR += p5-CPAN-Checksums Added: head/devel/p5-CHI-Driver-DBI/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-CHI-Driver-DBI/Makefile Wed Oct 28 02:18:58 2015 (r400367) @@ -0,0 +1,24 @@ +# $FreeBSD$ + +PORTNAME= CHI-Driver-DBI +PORTVERSION= 1.27 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:JSWARTZ +PKGNAMEPREFIX= p5- + +MAINTAINER= jeremybbaggs@gmail.com +COMMENT= Use DBI for CHI unified cache interface storage + +BUILD_DEPENDS= p5-CHI>=0.241:${PORTSDIR}/devel/p5-CHI \ + p5-DBI>=1.26:${PORTSDIR}/databases/p5-DBI \ + p5-Moose>=0.66:${PORTSDIR}/devel/p5-Moose \ + p5-Test-Class>=0:${PORTSDIR}/devel/p5-Test-Class \ + p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \ + p5-Try-Tiny>=0:${PORTSDIR}/lang/p5-Try-Tiny +RUN_DEPENDS:= ${BUILD_DEPENDS} + +USES= perl5 +USE_PERL5= configure + +.include <bsd.port.mk> Added: head/devel/p5-CHI-Driver-DBI/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-CHI-Driver-DBI/distinfo Wed Oct 28 02:18:58 2015 (r400367) @@ -0,0 +1,2 @@ +SHA256 (CHI-Driver-DBI-1.27.tar.gz) = 0a5448f151afac6a7a942d4c1db629ad8808051cc2e59409a797f93d98301856 +SIZE (CHI-Driver-DBI-1.27.tar.gz) = 13211 Added: head/devel/p5-CHI-Driver-DBI/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-CHI-Driver-DBI/pkg-descr Wed Oct 28 02:18:58 2015 (r400367) @@ -0,0 +1,12 @@ +This driver uses a database table to store the cache for CHI. +The newest versions of MySQL and SQLite are known to work. +Other RDBMSes should work. + +Why cache things in a database? Isn't the database what people are trying to +avoid with caches? This is often true, but a simple primary key lookup is +extremely fast in many databases and this provides a shared cache that can be +used when less reliable storage like memcached is not appropriate. Also, the +speed of simple lookups on MySQL when accessed over a local socket is very hard +to beat. DBI is fast. + +WWW: http://search.cpan.org/dist/CHI-Driver-DBI/ Added: head/devel/p5-CHI-Driver-DBI/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-CHI-Driver-DBI/pkg-plist Wed Oct 28 02:18:58 2015 (r400367) @@ -0,0 +1,5 @@ +%%SITE_PERL%%/CHI/Driver/DBI.pm +%%SITE_PERL%%/CHI/Driver/DBI/t/CHIDriverTests/Base.pm +%%SITE_PERL%%/CHI/Driver/DBI/t/CHIDriverTests/Pg.pm +%%SITE_PERL%%/CHI/Driver/DBI/t/CHIDriverTests/SQLite.pm +%%PERL5_MAN3%%/CHI::Driver::DBI.3.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510280218.t9S2IwSs055821>