diff options
author | Nicola Vitale <nivit@FreeBSD.org> | 2007-01-14 09:23:27 +0000 |
---|---|---|
committer | Nicola Vitale <nivit@FreeBSD.org> | 2007-01-14 09:23:27 +0000 |
commit | 8de68f87333f18c3840861e71c1ed5a9820e7f0b (patch) | |
tree | 2c5e494769cb56bd4025db27fb24cf92f3f48073 /www/py-flup | |
parent | 0ed26e8bfba21ae48730ccd197d307cfa361f650 (diff) | |
download | ports-8de68f87333f18c3840861e71c1ed5a9820e7f0b.tar.gz ports-8de68f87333f18c3840861e71c1ed5a9820e7f0b.zip |
Notes
Diffstat (limited to 'www/py-flup')
-rw-r--r-- | www/py-flup/Makefile | 32 | ||||
-rw-r--r-- | www/py-flup/distinfo | 3 | ||||
-rw-r--r-- | www/py-flup/files/patch-setup.py | 11 | ||||
-rw-r--r-- | www/py-flup/files/pkg-deinstall.in | 17 | ||||
-rw-r--r-- | www/py-flup/files/pkg-install.in | 16 | ||||
-rw-r--r-- | www/py-flup/pkg-descr | 10 | ||||
-rw-r--r-- | www/py-flup/pkg-plist | 109 |
7 files changed, 198 insertions, 0 deletions
diff --git a/www/py-flup/Makefile b/www/py-flup/Makefile new file mode 100644 index 000000000000..1c9b2f343a12 --- /dev/null +++ b/www/py-flup/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: py-flup +# Date created: 2006-12-16 +# Whom: Li-Wen Hsu <lwhsu@lwhsu.org> +# +# $FreeBSD$ +# + +PORTNAME= flup +PORTVERSION= 0.5.r2236 +CATEGORIES= www python +MASTER_SITES= http://www.saddi.com/software/flup/dist/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= flup-${PORTVERSION:E} + +MAINTAINER= lwhsu@lwhsu.org +COMMENT= Random assortment of WSGI servers, middleware + +BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools +RUN_DEPENDS= ${BUILD_DEPENDS} + +USE_PYTHON= 2.4+ +USE_PYDISTUTILS= yes + +PYFLUP_EGG= ${PORTNAME}-${PORTVERSION:R}-py${PYTHON_VERSION:S/^python//}.egg + +SUB_FILES+= pkg-deinstall pkg-install +SUB_LIST+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} \ + EGG="${PORTNAME}==${PORTVERSION:R}" + +PLIST_SUB= PYFLUP_EGG=${PYFLUP_EGG} + +.include <bsd.port.mk> diff --git a/www/py-flup/distinfo b/www/py-flup/distinfo new file mode 100644 index 000000000000..644794811b0c --- /dev/null +++ b/www/py-flup/distinfo @@ -0,0 +1,3 @@ +MD5 (flup-r2236.tar.gz) = afae54a5c9cc96508ea0d2ba6e932d24 +SHA256 (flup-r2236.tar.gz) = f45685f6617d7f5c2abae9efc5e738cec64effcefed327a6bd7430479ee83822 +SIZE (flup-r2236.tar.gz) = 68998 diff --git a/www/py-flup/files/patch-setup.py b/www/py-flup/files/patch-setup.py new file mode 100644 index 000000000000..1c0b8fbe3ef7 --- /dev/null +++ b/www/py-flup/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig Sat Dec 16 22:39:23 2006 ++++ setup.py Sat Dec 16 22:35:49 2006 +@@ -7,7 +7,7 @@ + name = 'flup', + version = '0.5', + packages = find_packages(), +- zip_safe = True, # Despite flup.resolver.importingmodule ++# zip_safe = True, # Despite flup.resolver.importingmodule + + entry_points = """ + [paste.server_factory] diff --git a/www/py-flup/files/pkg-deinstall.in b/www/py-flup/files/pkg-deinstall.in new file mode 100644 index 000000000000..7283cb258fbb --- /dev/null +++ b/www/py-flup/files/pkg-deinstall.in @@ -0,0 +1,17 @@ +#!/bin/sh +# $FreeBSD$ +PKGNAME=$1 +# +case $2 in + DEINSTALL) + easy_install -q -m -S %%PYTHON_SITELIBDIR%% %%EGG%% + ;; + POST-DEINSTALL) + exit 0 + ;; + *) + echo "Unexpected Argument $2!!!" + exit 1 + ;; +esac +exit 0 diff --git a/www/py-flup/files/pkg-install.in b/www/py-flup/files/pkg-install.in new file mode 100644 index 000000000000..9cddbe28f167 --- /dev/null +++ b/www/py-flup/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-flup/pkg-descr b/www/py-flup/pkg-descr new file mode 100644 index 000000000000..7bb2a751d996 --- /dev/null +++ b/www/py-flup/pkg-descr @@ -0,0 +1,10 @@ +This Python package is a random collection of WSGI modules +written by Allan Saddi. + +flup is functionally divided into three components: + + * FlupServers + * FlupMiddleware + * FlupPublisher + +WWW: http://www.saddi.com/software/flup/ diff --git a/www/py-flup/pkg-plist b/www/py-flup/pkg-plist new file mode 100644 index 000000000000..17531ea8096d --- /dev/null +++ b/www/py-flup/pkg-plist @@ -0,0 +1,109 @@ +@comment $FreeBSD$ +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/EGG-INFO/PKG-INFO +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/EGG-INFO/SOURCES.txt +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/EGG-INFO/dependency_links.txt +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/EGG-INFO/entry_points.txt +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/EGG-INFO/not-zip-safe +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/EGG-INFO/top_level.txt +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/client/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/client/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/client/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/client/fcgi_app.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/client/fcgi_app.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/client/fcgi_app.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/client/scgi_app.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/client/scgi_app.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/client/scgi_app.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/middleware/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/middleware/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/middleware/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/middleware/error.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/middleware/error.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/middleware/error.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/middleware/gzip.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/middleware/gzip.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/middleware/gzip.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/middleware/session.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/middleware/session.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/middleware/session.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/publisher.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/publisher.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/publisher.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/resolver/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/resolver/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/resolver/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/resolver/complex.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/resolver/complex.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/resolver/complex.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/resolver/function.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/resolver/function.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/resolver/function.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/resolver/importingmodule.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/resolver/importingmodule.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/resolver/importingmodule.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/resolver/module.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/resolver/module.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/resolver/module.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/resolver/nopathinfo.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/resolver/nopathinfo.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/resolver/nopathinfo.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/resolver/objectpath.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/resolver/objectpath.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/resolver/objectpath.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/resolver/resolver.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/resolver/resolver.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/resolver/resolver.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/ajp.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/ajp.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/ajp.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/ajp_base.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/ajp_base.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/ajp_base.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/ajp_fork.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/ajp_fork.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/ajp_fork.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/fcgi.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/fcgi.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/fcgi.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/fcgi_base.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/fcgi_base.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/fcgi_base.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/fcgi_fork.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/fcgi_fork.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/fcgi_fork.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/paste_factory.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/paste_factory.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/paste_factory.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/preforkserver.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/preforkserver.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/preforkserver.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/scgi.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/scgi.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/scgi.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/scgi_base.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/scgi_base.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/scgi_base.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/scgi_fork.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/scgi_fork.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/scgi_fork.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/threadedserver.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/threadedserver.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/threadedserver.pyo +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/threadpool.py +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/threadpool.pyc +%%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server/threadpool.pyo +@dirrm %%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/server +@dirrm %%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/resolver +@dirrm %%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/middleware +@dirrm %%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup/client +@dirrm %%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/flup +@dirrm %%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYFLUP_EGG%% +@dirrmtry %%PYTHON_SITELIBDIR%% +@dirrmtry %%PYTHON_LIBDIR%% |