Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Sep 2013 05:58:38 GMT
From:      Trevor Caira <trevor@bitba.se>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/181860: [new port] www/py-selector: WSGI request delegation. (AKA routing.)
Message-ID:  <201309060558.r865wcqi076551@oldred.freebsd.org>
Resent-Message-ID: <201309060600.r86600HF090233@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         181860
>Category:       ports
>Synopsis:       [new port] www/py-selector: WSGI request delegation. (AKA routing.)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 06 06:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Trevor Caira
>Release:        FreeBSD 9.2-RC3 amd64
>Organization:
Bitbase, LLC
>Environment:
System: FreeBSD tour 9.2-RC3 FreeBSD 9.2-RC3 #0 r254795: Sat Aug 24 20:25:04 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64

>Description:
New port: devel/py-selector

This distribution provides WSGI middleware for "RESTful" dispatch of
requests to WSGI applications by URL path and HTTP request
method. Selector now also comes with components for environ-based
dispatch and on-the-fly middleware composition. There is a very simple
optional mini-language for path matching expressions. Alternately we
can easily use regular expressions directly or even create our own
mini-language. There is a simple "mapping file" format that can be
used. There are no architecture specific features (to MVC or
whatever). Neither are there any framework specific features.

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-selector
#	py-selector/Makefile
#	py-selector/distinfo
#	py-selector/pkg-descr
#
echo c - py-selector
mkdir -p py-selector > /dev/null 2>&1
echo x - py-selector/Makefile
sed 's/^X//' >py-selector/Makefile << 'ed1c27f1577420dc3f2bdcc285892e4f'
X# Created by: Trevor Caira <trevor@bitba.se>
X# $FreeBSD$
X#
X
XPORTNAME=	selector
XPORTVERSION=	0.9.4
XCATEGORIES=	www python
XMASTER_SITES=	CHEESESHOP
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=	trevor@bitba.se
XCOMMENT=	WSGI request delegation (a.k.a. routing)
X
XLICENSE=	MIT
X
XRUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}resolver>=0.2.1:${PORTSDIR}/devel/py-resolver
X
XPLIST_FILES=	%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
X
XUSE_PYTHON=	2.6+
XUSE_PYDISTUTILS=	easy_install
X
X.include <bsd.port.mk>
ed1c27f1577420dc3f2bdcc285892e4f
echo x - py-selector/distinfo
sed 's/^X//' >py-selector/distinfo << 'fee9b46482a8376715dcfacf76615a5d'
XSHA256 (selector-0.9.4.tar.gz) = 6eb14570e638eecc8edb75b20dcec3809c55db92116f8f4bfd9fecbeb6457c3f
XSIZE (selector-0.9.4.tar.gz) = 5723
fee9b46482a8376715dcfacf76615a5d
echo x - py-selector/pkg-descr
sed 's/^X//' >py-selector/pkg-descr << '2b18fcbd7db0df147f6d9eff2e6f8ddb'
XWSGI request delegation. (AKA routing.)
X
XThis distribution provides WSGI middleware for "RESTful" dispatch of
Xrequests to WSGI applications by URL path and HTTP request
Xmethod. Selector now also comes with components for environ-based
Xdispatch and on-the-fly middleware composition. There is a very simple
Xoptional mini-language for path matching expressions. Alternately we
Xcan easily use regular expressions directly or even create our own
Xmini-language. There is a simple "mapping file" format that can be
Xused. There are no architecture specific features (to MVC or
Xwhatever). Neither are there any framework specific features.
X
XWWW: https://github.com/lukearno/selector
2b18fcbd7db0df147f6d9eff2e6f8ddb
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309060558.r865wcqi076551>