diff options
author | Dryice Dong Liu <dryice@FreeBSD.org> | 2007-06-16 03:56:23 +0000 |
---|---|---|
committer | Dryice Dong Liu <dryice@FreeBSD.org> | 2007-06-16 03:56:23 +0000 |
commit | 2bfae50ecfebd5083efa04e1ea2b91101c0d3fb7 (patch) | |
tree | 9f8570c55ef20c78ffb64091f90af440668b41bf /www | |
parent | a01f8285f25bdfea3a5ecd931f74b2f649e7b2ab (diff) | |
download | ports-2bfae50ecfebd5083efa04e1ea2b91101c0d3fb7.tar.gz ports-2bfae50ecfebd5083efa04e1ea2b91101c0d3fb7.zip |
Notes
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/py-beaker/Makefile | 33 | ||||
-rw-r--r-- | www/py-beaker/distinfo | 3 | ||||
-rw-r--r-- | www/py-beaker/pkg-descr | 23 | ||||
-rw-r--r-- | www/py-beaker/pkg-plist | 48 |
5 files changed, 108 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 42fd3742a695..eeb4c02ca1e2 100644 --- a/www/Makefile +++ b/www/Makefile @@ -993,6 +993,7 @@ SUBDIR += py-Lightbox SUBDIR += py-albatross SUBDIR += py-apachelog + SUBDIR += py-beaker SUBDIR += py-beautifulsoup SUBDIR += py-cherrypy SUBDIR += py-cherrypy-old diff --git a/www/py-beaker/Makefile b/www/py-beaker/Makefile new file mode 100644 index 000000000000..baf9ef1be1a3 --- /dev/null +++ b/www/py-beaker/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: py-beaker +# Date created: Jun 16 2007 +# Whom: Dryice Liu <dryice@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= beaker +PORTVERSION= 0.7.3 +CATEGORIES= www python +MASTER_SITES= ${MASTER_SITE_CHEESESHOP} \ + http://dryice.name/computer/FreeBSD/distfiles/ +MASTER_SITE_SUBDIR= source/B/Beaker +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= Beaker-${PORTVERSION} + +MAINTAINER= dryice@FreeBSD.org +COMMENT= A Session and Caching library with WSGI Middleware + +BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools +RUN_DEPENDS+= ${BUILD_DEPENDS} + +USE_PYTHON= yes +USE_PYDISTUTILS= yes + +PYBEAKER_EGG= Beaker-${PORTVERSION}-py${PYTHON_VER}.egg + +PLIST_SUB= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \ + PYBEAKER_EGG=${PYBEAKER_EGG} + +EASY_INSTALL_CMD?= easy_install-${PYTHON_VER} + +.include <bsd.port.mk> diff --git a/www/py-beaker/distinfo b/www/py-beaker/distinfo new file mode 100644 index 000000000000..5d9310877ca5 --- /dev/null +++ b/www/py-beaker/distinfo @@ -0,0 +1,3 @@ +MD5 (Beaker-0.7.3.tar.gz) = c47714b4704a8d17b930a87543888ab9 +SHA256 (Beaker-0.7.3.tar.gz) = c4db5a611ec8391f8c1f01bcda0eb57f26a68b2008b51228b5ff2f6a9e489675 +SIZE (Beaker-0.7.3.tar.gz) = 25567 diff --git a/www/py-beaker/pkg-descr b/www/py-beaker/pkg-descr new file mode 100644 index 000000000000..1976ccd1e26a --- /dev/null +++ b/www/py-beaker/pkg-descr @@ -0,0 +1,23 @@ +Beaker is built on code from the package MyghtyUtils, originally used +in the Myghty project. It implements a full set of cache functionality +along with sessions that can utilize the caches. + +Beaker includes Cache and Session WSGI middleware to ease integration +with WSGI capable frameworks, and is automatically used by Pylons. + +Features + * Fast, robust performance + * Multiple reader/single writer lock system to avoid duplicate + simultaneous cache creation + * Cache back-ends include dbm, file, memory, memcached, and + database (Using SQLAlchemy for multiple-db vendor support) + * Signed cookie's to prevent session hijacking/spoofing + * Extensible Container object to support new back-ends + * Cache's can be divided into namespaces (to represent templates, + objects, etc.) then keyed for different copies + * Create functions for automatic call-backs to create new cache + copies after expiration + * Fine-grained toggling of back-ends, keys, and expiration per + Cache object + +WWW: http://beaker.groovie.org/ diff --git a/www/py-beaker/pkg-plist b/www/py-beaker/pkg-plist new file mode 100644 index 000000000000..cac08f098f61 --- /dev/null +++ b/www/py-beaker/pkg-plist @@ -0,0 +1,48 @@ +@unexec %%EASY_INSTALL_CMD%% -N -m %D/%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%% +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/EGG-INFO/dependency_links.txt +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/EGG-INFO/entry_points.txt +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/EGG-INFO/not-zip-safe +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/EGG-INFO/PKG-INFO +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/EGG-INFO/SOURCES.txt +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/EGG-INFO/top_level.txt +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/cache.py +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/cache.pyc +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/cache.pyo +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/container.py +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/container.pyc +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/container.pyo +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/converters.py +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/converters.pyc +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/converters.pyo +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/exceptions.py +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/exceptions.pyc +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/exceptions.pyo +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/middleware.py +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/middleware.pyc +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/middleware.pyo +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/session.py +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/session.pyc +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/session.pyo +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/synchronization.py +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/synchronization.pyc +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/synchronization.pyo +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/util.py +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/util.pyc +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/util.pyo +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/ext/database.py +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/ext/database.pyc +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/ext/database.pyo +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/ext/memcached.py +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/ext/memcached.pyc +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/ext/memcached.pyo +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/ext/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/ext/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/ext/__init__.pyo +@dirrm %%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker/ext +@dirrm %%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/beaker +@dirrm %%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYBEAKER_EGG%% +@exec %%EASY_INSTALL_CMD%% -N %D/%%PYTHON_SITELIBDIR%%/PYBEAKER_EGG%% |