svn commit: r327012 - in head/www: . py-selector

William Grzybowski wg at FreeBSD.org
Wed Sep 11 21:25:14 UTC 2013


Author: wg
Date: Wed Sep 11 21:25:13 2013
New Revision: 327012
URL: http://svnweb.freebsd.org/changeset/ports/327012

Log:
  www/py-selector: WSGI request delegation (a.k.a. routing)
  
  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.
  
  WWW: https://github.com/lukearno/selector/
  
  PR:		ports/181860
  Submitted by:	Trevor Caira <trevor bitba.se>

Added:
  head/www/py-selector/
  head/www/py-selector/Makefile   (contents, props changed)
  head/www/py-selector/distinfo   (contents, props changed)
  head/www/py-selector/pkg-descr   (contents, props changed)
  head/www/py-selector/pkg-plist   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Wed Sep 11 21:23:11 2013	(r327011)
+++ head/www/Makefile	Wed Sep 11 21:25:13 2013	(r327012)
@@ -1649,6 +1649,7 @@
     SUBDIR += py-scgi
     SUBDIR += py-scrapy
     SUBDIR += py-scriptaculous
+    SUBDIR += py-selector
     SUBDIR += py-selenium
     SUBDIR += py-slimmer
     SUBDIR += py-slumber

Added: head/www/py-selector/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-selector/Makefile	Wed Sep 11 21:25:13 2013	(r327012)
@@ -0,0 +1,25 @@
+# Created by: Trevor Caira <trevor at bitba.se>
+# $FreeBSD$
+#
+
+PORTNAME=	selector
+PORTVERSION=	0.9.4
+CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	trevor at bitba.se
+COMMENT=	WSGI request delegation (a.k.a. routing)
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}resolver>=0.2.1:${PORTSDIR}/devel/py-resolver
+
+USE_PYTHON=	yes
+USE_PYDISTUTILS=	easy_install
+
+post-patch:
+	@${REINPLACE_CMD} 's/license="MIT",/license="MIT", zip_safe=False,/' \
+		${WRKSRC}/setup.py
+
+.include <bsd.port.mk>

Added: head/www/py-selector/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-selector/distinfo	Wed Sep 11 21:25:13 2013	(r327012)
@@ -0,0 +1,2 @@
+SHA256 (selector-0.9.4.tar.gz) = 6eb14570e638eecc8edb75b20dcec3809c55db92116f8f4bfd9fecbeb6457c3f
+SIZE (selector-0.9.4.tar.gz) = 5723

Added: head/www/py-selector/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-selector/pkg-descr	Wed Sep 11 21:25:13 2013	(r327012)
@@ -0,0 +1,13 @@
+WSGI request delegation. (AKA routing.)
+
+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.
+
+WWW: https://github.com/lukearno/selector/

Added: head/www/py-selector/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-selector/pkg-plist	Wed Sep 11 21:25:13 2013	(r327012)
@@ -0,0 +1,11 @@
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/selector.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/selector.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/selector.pyo
+ at dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
+ at dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%


More information about the svn-ports-all mailing list