diff options
author | nivit <nivit@FreeBSD.org> | 2007-01-07 17:53:55 +0800 |
---|---|---|
committer | nivit <nivit@FreeBSD.org> | 2007-01-07 17:53:55 +0800 |
commit | cf6ef0a22971ae725d72a097cf4d373123842564 (patch) | |
tree | 382656851d5aa6b0b5ba7d44c3baaa941e9982f2 /www | |
parent | 08589aae0c9f17fd77573e2a82e4d64fffc6c568 (diff) | |
download | freebsd-ports-gnome-cf6ef0a22971ae725d72a097cf4d373123842564.tar.gz freebsd-ports-gnome-cf6ef0a22971ae725d72a097cf4d373123842564.tar.zst freebsd-ports-gnome-cf6ef0a22971ae725d72a097cf4d373123842564.zip |
Load, configure, and compose WSGI applications and servers
Paste Deployment is a system for finding and configuring WSGI
applications and servers. For WSGI application consumers it provides a
single, simple function (loadapp) for loading a WSGI application from
a configuration file or a Python Egg. For WSGI application providers
it only asks for a single, simple entry point to your application, so
that application users don't need to be exposed to the implementation
details of your application.
The result is something a system administrator can install and manage
without knowing any Python, or the details of the WSGI application or
its container.
This tool provides code to load WSGI applications and servers from
URIs; these URIs can refer to Python Eggs for INI-style configuration
files. Paste Script provides commands to serve applications based on
this configuration file.
Author: Ian Bicking <ianb at colorstudy com>
WWW: http://pythonpaste.org/deploy/
PR: ports/106755
Submitted by: Dryice Liu <dryice at dryice.name>
Approved by: alexbl (mentor)
Reviewed by: dryice (maintainer)
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/py-pastedeploy/Makefile | 37 | ||||
-rw-r--r-- | www/py-pastedeploy/distinfo | 3 | ||||
-rw-r--r-- | www/py-pastedeploy/files/pkg-deinstall.in | 17 | ||||
-rw-r--r-- | www/py-pastedeploy/files/pkg-install.in | 16 | ||||
-rw-r--r-- | www/py-pastedeploy/pkg-descr | 21 | ||||
-rw-r--r-- | www/py-pastedeploy/pkg-plist | 51 |
7 files changed, 146 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index ec51745c3687..24ecb4d66c74 100644 --- a/www/Makefile +++ b/www/Makefile @@ -935,6 +935,7 @@ SUBDIR += py-nevow SUBDIR += py-openssl-proxy SUBDIR += py-paste + SUBDIR += py-pastedeploy SUBDIR += py-prewikka SUBDIR += py-pullparser SUBDIR += py-qp diff --git a/www/py-pastedeploy/Makefile b/www/py-pastedeploy/Makefile new file mode 100644 index 000000000000..085a5d02135c --- /dev/null +++ b/www/py-pastedeploy/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: py-pastedeploy +# Date created: 15 December 2006 +# Whom: Dryice Liu <dryice@dryice.name> +# +# $FreeBSD$ +# + +PORTNAME= PasteDeploy +PORTVERSION= 1.0 +CATEGORIES= www python +MASTER_SITES= http://cheeseshop.python.org/packages/source/P/PasteDeploy/ \ + http://dryice.name/computer/FreeBSD/distfiles/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= dryice@FreeBSD.org +COMMENT= Load, configure, and compose WSGI applications and servers + +BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools \ + ${PYTHON_SITELIBDIR}/${PYPASTE_EGG}/paste/__init__.py:${PORTSDIR}/www/py-paste +RUN_DEPENDS= ${BUILD_DEPENDS} + +USE_PYTHON= 2.3+ +USE_PYDISTUTILS= yes + +PLIST_SUB= PYPASTEDEPLOY_EGG=${PYPASTEDEPLOY_EGG} + +SUB_FILES+= pkg-deinstall pkg-install +SUB_LIST+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} \ + EGG="${PORTNAME}==${PORTVERSION}" + +PYPASTEDEPLOY_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VERSION:S/^python//}.egg + +.include <bsd.port.pre.mk> + +PYPASTE_EGG!= ${MAKE} -f ${PORTSDIR}/www/py-paste/Makefile -V PYPASTE_EGG + +.include <bsd.port.post.mk> diff --git a/www/py-pastedeploy/distinfo b/www/py-pastedeploy/distinfo new file mode 100644 index 000000000000..9755922c50fd --- /dev/null +++ b/www/py-pastedeploy/distinfo @@ -0,0 +1,3 @@ +MD5 (PasteDeploy-1.0.tar.gz) = b0811db173b4efe92e3e7080a818ec99 +SHA256 (PasteDeploy-1.0.tar.gz) = 53b40d168a6f13b7e82c16ad3a3f68f60edc5005a0fd0ef0d85a2da0c6c2045b +SIZE (PasteDeploy-1.0.tar.gz) = 26219 diff --git a/www/py-pastedeploy/files/pkg-deinstall.in b/www/py-pastedeploy/files/pkg-deinstall.in new file mode 100644 index 000000000000..8ee207b16f16 --- /dev/null +++ b/www/py-pastedeploy/files/pkg-deinstall.in @@ -0,0 +1,17 @@ +#!/bin/sh +# $FreeBSD$ +PKGNAME=$1 +# +case $2 in + DEINSTALL) + easy_install -q -m -x -S %%PYTHON_SITELIBDIR%% %%EGG%% + ;; + POST-DEINSTALL) + exit 0 + ;; + *) + echo "Unexpected Argument $2!!!" + exit 1 + ;; +esac +exit 0 diff --git a/www/py-pastedeploy/files/pkg-install.in b/www/py-pastedeploy/files/pkg-install.in new file mode 100644 index 000000000000..9cddbe28f167 --- /dev/null +++ b/www/py-pastedeploy/files/pkg-install.in @@ -0,0 +1,16 @@ +#!/bin/sh +# $FreeBSD$ +PKGNAME=$1 +# +case $2 in + POST-INSTALL) + easy_install -q -N -S %%PYTHON_SITELIBDIR%% %%EGG%% + ;; + PRE-INSTALL) + ;; + *) + echo "Unexpected Argument $2!!!" + exit 1 + ;; +esac +exit 0 diff --git a/www/py-pastedeploy/pkg-descr b/www/py-pastedeploy/pkg-descr new file mode 100644 index 000000000000..afd74230b6e8 --- /dev/null +++ b/www/py-pastedeploy/pkg-descr @@ -0,0 +1,21 @@ +Load, configure, and compose WSGI applications and servers + +Paste Deployment is a system for finding and configuring WSGI +applications and servers. For WSGI application consumers it provides a +single, simple function (loadapp) for loading a WSGI application from +a configuration file or a Python Egg. For WSGI application providers +it only asks for a single, simple entry point to your application, so +that application users don't need to be exposed to the implementation +details of your application. + +The result is something a system administrator can install and manage +without knowing any Python, or the details of the WSGI application or +its container. + +This tool provides code to load WSGI applications and servers from +URIs; these URIs can refer to Python Eggs for INI-style configuration +files. Paste Script provides commands to serve applications based on +this configuration file. + +Author: Ian Bicking <ianb at colorstudy com> +WWW: http://pythonpaste.org/deploy/ diff --git a/www/py-pastedeploy/pkg-plist b/www/py-pastedeploy/pkg-plist new file mode 100644 index 000000000000..520835f8e763 --- /dev/null +++ b/www/py-pastedeploy/pkg-plist @@ -0,0 +1,51 @@ +@comment $FreeBSD$ +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/EGG-INFO/PKG-INFO +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/EGG-INFO/SOURCES.txt +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/EGG-INFO/dependency_links.txt +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/EGG-INFO/entry_points.txt +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/EGG-INFO/namespace_packages.txt +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/EGG-INFO/not-zip-safe +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/EGG-INFO/requires.txt +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/EGG-INFO/top_level.txt +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/config.py +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/config.pyc +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/config.pyo +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/converters.py +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/converters.pyc +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/converters.pyo +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/epdesc.py +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/epdesc.pyc +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/epdesc.pyo +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/interfaces.py +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/interfaces.pyc +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/interfaces.pyo +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/loadwsgi.py +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/loadwsgi.pyc +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/loadwsgi.pyo +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/paster_templates.py +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/paster_templates.pyc +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/paster_templates.pyo +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/paster_templates/paste_deploy/docs/devel_config.ini_tmpl +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/util/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/util/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/util/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/util/fixtypeerror.py +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/util/fixtypeerror.pyc +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/util/fixtypeerror.pyo +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/util/threadinglocal.py +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/util/threadinglocal.pyc +%%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/util/threadinglocal.pyo +@dirrm %%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/util +@dirrm %%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/paster_templates/paste_deploy/docs +@dirrm %%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/paster_templates/paste_deploy +@dirrm %%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy/paster_templates +@dirrm %%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste/deploy +@dirrm %%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/paste +@dirrm %%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYPASTEDEPLOY_EGG%% |