1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

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/

PR:		ports/106828
Submitted by:	Li-Wen Hsu <lwhsu at lwhsu.org>
Approved by:	alexbl (mentor, implicit)
This commit is contained in:
Nicola Vitale 2007-01-14 09:23:27 +00:00
parent 0ed26e8bfb
commit 8de68f8733
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=182347
8 changed files with 199 additions and 0 deletions

View File

@ -929,6 +929,7 @@
SUBDIR += py-django SUBDIR += py-django
SUBDIR += py-django-devel SUBDIR += py-django-devel
SUBDIR += py-fcgi SUBDIR += py-fcgi
SUBDIR += py-flup
SUBDIR += py-forgethtml SUBDIR += py-forgethtml
SUBDIR += py-formencode SUBDIR += py-formencode
SUBDIR += py-htmltestcase SUBDIR += py-htmltestcase

32
www/py-flup/Makefile Normal file
View File

@ -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>

3
www/py-flup/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (flup-r2236.tar.gz) = afae54a5c9cc96508ea0d2ba6e932d24
SHA256 (flup-r2236.tar.gz) = f45685f6617d7f5c2abae9efc5e738cec64effcefed327a6bd7430479ee83822
SIZE (flup-r2236.tar.gz) = 68998

View File

@ -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]

View File

@ -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

View File

@ -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

10
www/py-flup/pkg-descr Normal file
View File

@ -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/

109
www/py-flup/pkg-plist Normal file
View File

@ -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%%