pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-CHI Add p5-CHI.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/945ecf8bf31f
branches:  trunk
changeset: 632645:945ecf8bf31f
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Wed Apr 02 19:27:33 2014 +0000

description:
Add p5-CHI.

CHI provides a unified caching API, designed to assist a developer
in persisting data for a specified period of time.

The CHI interface is implemented by driver classes that support
fetching, storing and clearing of data. Driver classes exist or
will exist for the gamut of storage backends available to Perl,
such as memory, plain files, memory mapped files, memcached, and
DBI.

CHI is intended as an evolution of DeWitt Clinton's Cache::Cache
package, adhering to the basic Cache API but adding new features
and addressing limitations in the Cache::Cache implementation.

* Easy to create new drivers
* Uniform support for namespaces
* Automatic serialization of keys and values
* Multilevel caches
* Probabilistic expiration and busy locks, to reduce cache miss stampedes
* Optional logging and statistics collection of cache activity

diffstat:

 devel/p5-CHI/DESCR    |  19 +++++++++++++++++++
 devel/p5-CHI/Makefile |  36 ++++++++++++++++++++++++++++++++++++
 devel/p5-CHI/distinfo |   5 +++++
 3 files changed, 60 insertions(+), 0 deletions(-)

diffs (72 lines):

diff -r 200ce4e0bd0f -r 945ecf8bf31f devel/p5-CHI/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-CHI/DESCR        Wed Apr 02 19:27:33 2014 +0000
@@ -0,0 +1,19 @@
+CHI provides a unified caching API, designed to assist a developer
+in persisting data for a specified period of time.
+
+The CHI interface is implemented by driver classes that support
+fetching, storing and clearing of data. Driver classes exist or
+will exist for the gamut of storage backends available to Perl,
+such as memory, plain files, memory mapped files, memcached, and
+DBI.
+
+CHI is intended as an evolution of DeWitt Clinton's Cache::Cache
+package, adhering to the basic Cache API but adding new features
+and addressing limitations in the Cache::Cache implementation.
+
+* Easy to create new drivers
+* Uniform support for namespaces
+* Automatic serialization of keys and values
+* Multilevel caches
+* Probabilistic expiration and busy locks, to reduce cache miss stampedes
+* Optional logging and statistics collection of cache activity
diff -r 200ce4e0bd0f -r 945ecf8bf31f devel/p5-CHI/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-CHI/Makefile     Wed Apr 02 19:27:33 2014 +0000
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2014/04/02 19:27:33 schmonz Exp $
+
+DISTNAME=      CHI-0.58
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=CHI/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/CHI/
+COMMENT=       Unified cache handling interface
+LICENSE=       ${PERL5_LICENSE}
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST=        auto/CHI/.packlist
+
+DEPENDS+=      p5-Carp-Assert>=0.20:../../devel/p5-Carp-Assert
+DEPENDS+=      p5-Data-UUID-[0-9]*:../../devel/p5-Data-UUID
+DEPENDS+=      p5-Digest-JHash-[0-9]*:../../security/p5-Digest-JHash
+DEPENDS+=      p5-Digest-MD5-[0-9]*:../../security/p5-Digest-MD5
+DEPENDS+=      p5-Hash-MoreUtils-[0-9]*:../../devel/p5-Hash-MoreUtils
+DEPENDS+=      p5-JSON-[0-9]*:../../converters/p5-JSON
+DEPENDS+=      p5-List-MoreUtils>=0.13:../../devel/p5-List-MoreUtils
+DEPENDS+=      p5-Log-Any>=0.08:../../devel/p5-Log-Any
+DEPENDS+=      p5-Moo>=1.003:../../devel/p5-Moo
+DEPENDS+=      p5-MooX-Types-MooseLike>=0.23:../../devel/p5-MooX-Types-MooseLike
+DEPENDS+=      p5-MooX-Types-MooseLike-Numeric-[0-9]*:../../devel/p5-MooX-Types-MooseLike-Numeric
+DEPENDS+=      p5-Storable-[0-9]*:../../devel/p5-Storable
+DEPENDS+=      p5-String-RewritePrefix-[0-9]*:../../textproc/p5-String-RewritePrefix
+DEPENDS+=      p5-Task-Weaken-[0-9]*:../../devel/p5-Task-Weaken
+DEPENDS+=      p5-Time-Duration>=1.06:../../time/p5-Time-Duration
+DEPENDS+=      p5-Time-Duration-Parse>=0.03:../../time/p5-Time-Duration-Parse
+DEPENDS+=      p5-Time-HiRes>=1.30:../../time/p5-Time-HiRes
+DEPENDS+=      p5-Try-Tiny>=0.05:../../devel/p5-Try-Tiny
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 200ce4e0bd0f -r 945ecf8bf31f devel/p5-CHI/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-CHI/distinfo     Wed Apr 02 19:27:33 2014 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/04/02 19:27:33 schmonz Exp $
+
+SHA1 (CHI-0.58.tar.gz) = d6734142a113cbb0245846bff90e04f1df2e0452
+RMD160 (CHI-0.58.tar.gz) = 5e4dc30e0b311f44bf52c7b68165f115e8e582f6
+Size (CHI-0.58.tar.gz) = 84407 bytes



Home | Main Index | Thread Index | Old Index