svn commit: r404387 - in head/net: . py-txrestapi
Martin Wilke
miwi at FreeBSD.org
Thu Dec 24 19:32:08 UTC 2015
Author: miwi
Date: Thu Dec 24 19:32:06 2015
New Revision: 404387
URL: https://svnweb.freebsd.org/changeset/ports/404387
Log:
txrestapi makes it easier to create Twisted REST API services. Normally,
one would create Resource subclasses defining each segment of a path;
this is cubersome to implement and results in output that isn't very
readable. txrestapi provides an APIResource class allowing complex
mapping of path to callback (a la Django) with a readable decorator.
WWW: https://pypi.python.org/pypi/txrestapi/
PR: 205064
Submitted by: Yuri Victorovich <yuri at rawbw.com>
Added:
head/net/py-txrestapi/
head/net/py-txrestapi/Makefile (contents, props changed)
head/net/py-txrestapi/distinfo (contents, props changed)
head/net/py-txrestapi/pkg-descr (contents, props changed)
Modified:
head/net/Makefile
Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile Thu Dec 24 19:28:04 2015 (r404386)
+++ head/net/Makefile Thu Dec 24 19:32:06 2015 (r404387)
@@ -996,6 +996,7 @@
SUBDIR += py-twitter
SUBDIR += py-twitter-tools
SUBDIR += py-txamqp
+ SUBDIR += py-txrestapi
SUBDIR += py-uritemplate
SUBDIR += py-urllib3
SUBDIR += py-wolframalpha
Added: head/net/py-txrestapi/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/py-txrestapi/Makefile Thu Dec 24 19:32:06 2015 (r404387)
@@ -0,0 +1,19 @@
+# Created by: Yuri Victorovich <yuri at rawbw.com>
+# $FreeBSD$
+
+PORTNAME= txrestapi
+PORTVERSION= 0.2
+CATEGORIES= net python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri at rawbw.com
+COMMENT= Easing the creation of REST API services in Python
+
+LICENSE= MIT
+
+USES= python
+USE_PYTHON= distutils autoplist
+NO_ARCH= yes
+
+.include <bsd.port.mk>
Added: head/net/py-txrestapi/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/py-txrestapi/distinfo Thu Dec 24 19:32:06 2015 (r404387)
@@ -0,0 +1,2 @@
+SHA256 (txrestapi-0.2.tar.gz) = 3e432b88bc3788255a4d873e72c1ef6e9d0883306e95cd36c79542e792a08e31
+SIZE (txrestapi-0.2.tar.gz) = 5233
Added: head/net/py-txrestapi/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/py-txrestapi/pkg-descr Thu Dec 24 19:32:06 2015 (r404387)
@@ -0,0 +1,8 @@
+txrestapi makes it easier to create Twisted REST API services. Normally,
+one would create Resource subclasses defining each segment of a path;
+this is cubersome to implement and results in output that isn't very
+readable. txrestapi provides an APIResource class allowing complex
+mapping of path to callback (a la Django) with a readable decorator.
+
+
+WWW: https://pypi.python.org/pypi/txrestapi/
More information about the svn-ports-head
mailing list