pkgsrc-WIP-changes archive

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

py-dogpile-cache: Import py-dogpile-cache-0.6.2 as wip/py-dogpile-cache



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sun Feb 12 13:55:21 2017 +0100
Changeset:	42caabba848cae99b078f9ef3e4c55c66ec7ad6f

Modified Files:
	Makefile
Added Files:
	py-dogpile-cache/DESCR
	py-dogpile-cache/Makefile
	py-dogpile-cache/PLIST
	py-dogpile-cache/distinfo

Log Message:
py-dogpile-cache: Import py-dogpile-cache-0.6.2 as wip/py-dogpile-cache

Dogpile consists of two subsystems, one building on top of the other.

dogpile provides the concept of a "dogpile lock", a control structure which
allows a single thread of execution to be selected as the "creator" of some
resource, while allowing other threads of execution to refer to the previous
version of this resource as the creation proceeds; if there is no previous
version, then those threads block until the object is available.

dogpile.cache is a caching API which provides a generic interface to caching
backends of any variety, and additionally provides API hooks which integrate
these cache backends with the locking mechanism of dogpile.

Overall, dogpile.cache is intended as a replacement to the Beaker caching
system, the internals of which are written by the same author. All the ideas of
Beaker which "work" are re- implemented in dogpile.cache in a more efficient and
succinct manner, and all the cruft (Beaker's internals were first written in
2005) relegated to the trash heap.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=42caabba848cae99b078f9ef3e4c55c66ec7ad6f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                  |  1 +
 py-dogpile-cache/DESCR    | 17 +++++++++++
 py-dogpile-cache/Makefile | 16 +++++++++++
 py-dogpile-cache/PLIST    | 73 +++++++++++++++++++++++++++++++++++++++++++++++
 py-dogpile-cache/distinfo |  6 ++++
 5 files changed, 113 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 3eb011b77b..eedba191aa 100644
--- a/Makefile
+++ b/Makefile
@@ -2888,6 +2888,7 @@ SUBDIR+=	py-djangopypi2
 SUBDIR+=	py-djvulibre
 SUBDIR+=	py-djvusmooth
 SUBDIR+=	py-dns-clientsubnetoption
+SUBDIR+=	py-dogpile-cache
 SUBDIR+=	py-dolo
 SUBDIR+=	py-downhill
 SUBDIR+=	py-drawnow
diff --git a/py-dogpile-cache/DESCR b/py-dogpile-cache/DESCR
new file mode 100644
index 0000000000..7777296618
--- /dev/null
+++ b/py-dogpile-cache/DESCR
@@ -0,0 +1,17 @@
+Dogpile consists of two subsystems, one building on top of the other.
+
+dogpile provides the concept of a "dogpile lock", a control structure which
+allows a single thread of execution to be selected as the "creator" of some
+resource, while allowing other threads of execution to refer to the previous
+version of this resource as the creation proceeds; if there is no previous
+version, then those threads block until the object is available.
+
+dogpile.cache is a caching API which provides a generic interface to caching
+backends of any variety, and additionally provides API hooks which integrate
+these cache backends with the locking mechanism of dogpile.
+
+Overall, dogpile.cache is intended as a replacement to the Beaker caching
+system, the internals of which are written by the same author. All the ideas of
+Beaker which "work" are re- implemented in dogpile.cache in a more efficient and
+succinct manner, and all the cruft (Beaker's internals were first written in
+2005) relegated to the trash heap.
diff --git a/py-dogpile-cache/Makefile b/py-dogpile-cache/Makefile
new file mode 100644
index 0000000000..4502cce0fa
--- /dev/null
+++ b/py-dogpile-cache/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD$
+
+DISTNAME=	dogpile.cache-0.6.2
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/./-/}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_PYPI:=d/dogpile.cache/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://bitbucket.org/zzzeek/dogpile.cache
+COMMENT=	Caching front-end based on the Dogpile lock
+LICENSE=	modified-bsd
+
+USE_LANGUAGES=	# none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-dogpile-cache/PLIST b/py-dogpile-cache/PLIST
new file mode 100644
index 0000000000..a301f5bdcb
--- /dev/null
+++ b/py-dogpile-cache/PLIST
@@ -0,0 +1,73 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/dogpile/__init__.py
+${PYSITELIB}/dogpile/__init__.pyc
+${PYSITELIB}/dogpile/__init__.pyo
+${PYSITELIB}/dogpile/cache/__init__.py
+${PYSITELIB}/dogpile/cache/__init__.pyc
+${PYSITELIB}/dogpile/cache/__init__.pyo
+${PYSITELIB}/dogpile/cache/api.py
+${PYSITELIB}/dogpile/cache/api.pyc
+${PYSITELIB}/dogpile/cache/api.pyo
+${PYSITELIB}/dogpile/cache/backends/__init__.py
+${PYSITELIB}/dogpile/cache/backends/__init__.pyc
+${PYSITELIB}/dogpile/cache/backends/__init__.pyo
+${PYSITELIB}/dogpile/cache/backends/file.py
+${PYSITELIB}/dogpile/cache/backends/file.pyc
+${PYSITELIB}/dogpile/cache/backends/file.pyo
+${PYSITELIB}/dogpile/cache/backends/memcached.py
+${PYSITELIB}/dogpile/cache/backends/memcached.pyc
+${PYSITELIB}/dogpile/cache/backends/memcached.pyo
+${PYSITELIB}/dogpile/cache/backends/memory.py
+${PYSITELIB}/dogpile/cache/backends/memory.pyc
+${PYSITELIB}/dogpile/cache/backends/memory.pyo
+${PYSITELIB}/dogpile/cache/backends/null.py
+${PYSITELIB}/dogpile/cache/backends/null.pyc
+${PYSITELIB}/dogpile/cache/backends/null.pyo
+${PYSITELIB}/dogpile/cache/backends/redis.py
+${PYSITELIB}/dogpile/cache/backends/redis.pyc
+${PYSITELIB}/dogpile/cache/backends/redis.pyo
+${PYSITELIB}/dogpile/cache/exception.py
+${PYSITELIB}/dogpile/cache/exception.pyc
+${PYSITELIB}/dogpile/cache/exception.pyo
+${PYSITELIB}/dogpile/cache/plugins/__init__.py
+${PYSITELIB}/dogpile/cache/plugins/__init__.pyc
+${PYSITELIB}/dogpile/cache/plugins/__init__.pyo
+${PYSITELIB}/dogpile/cache/plugins/mako_cache.py
+${PYSITELIB}/dogpile/cache/plugins/mako_cache.pyc
+${PYSITELIB}/dogpile/cache/plugins/mako_cache.pyo
+${PYSITELIB}/dogpile/cache/proxy.py
+${PYSITELIB}/dogpile/cache/proxy.pyc
+${PYSITELIB}/dogpile/cache/proxy.pyo
+${PYSITELIB}/dogpile/cache/region.py
+${PYSITELIB}/dogpile/cache/region.pyc
+${PYSITELIB}/dogpile/cache/region.pyo
+${PYSITELIB}/dogpile/cache/util.py
+${PYSITELIB}/dogpile/cache/util.pyc
+${PYSITELIB}/dogpile/cache/util.pyo
+${PYSITELIB}/dogpile/core.py
+${PYSITELIB}/dogpile/core.pyc
+${PYSITELIB}/dogpile/core.pyo
+${PYSITELIB}/dogpile/lock.py
+${PYSITELIB}/dogpile/lock.pyc
+${PYSITELIB}/dogpile/lock.pyo
+${PYSITELIB}/dogpile/util/__init__.py
+${PYSITELIB}/dogpile/util/__init__.pyc
+${PYSITELIB}/dogpile/util/__init__.pyo
+${PYSITELIB}/dogpile/util/compat.py
+${PYSITELIB}/dogpile/util/compat.pyc
+${PYSITELIB}/dogpile/util/compat.pyo
+${PYSITELIB}/dogpile/util/langhelpers.py
+${PYSITELIB}/dogpile/util/langhelpers.pyc
+${PYSITELIB}/dogpile/util/langhelpers.pyo
+${PYSITELIB}/dogpile/util/nameregistry.py
+${PYSITELIB}/dogpile/util/nameregistry.pyc
+${PYSITELIB}/dogpile/util/nameregistry.pyo
+${PYSITELIB}/dogpile/util/readwrite_lock.py
+${PYSITELIB}/dogpile/util/readwrite_lock.pyc
+${PYSITELIB}/dogpile/util/readwrite_lock.pyo
diff --git a/py-dogpile-cache/distinfo b/py-dogpile-cache/distinfo
new file mode 100644
index 0000000000..105fdb4a6e
--- /dev/null
+++ b/py-dogpile-cache/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (dogpile.cache-0.6.2.tar.gz) = dc4340534e8400d2911400b1901a45c0cfb7c70d
+RMD160 (dogpile.cache-0.6.2.tar.gz) = 933f8d80e4613e15f43c09b11eaf2b20060bd217
+SHA512 (dogpile.cache-0.6.2.tar.gz) = 5882e0a355db0bec9c1a0836034481d39008051ff42f48c85679ac70a42c6366d1bcbd01ecd3ca868d7ad725197e626e52b004d62269827e2605a4ecd491ce99
+Size (dogpile.cache-0.6.2.tar.gz) = 329762 bytes


Home | Main Index | Thread Index | Old Index