pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www Sanic is a Flask-like Python 3.5+ web server that'...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5ea66efcc076
branches: trunk
changeset: 364911:5ea66efcc076
user: adam <adam%pkgsrc.org@localhost>
date: Fri Jul 07 07:27:15 2017 +0000
description:
Sanic is a Flask-like Python 3.5+ web server that's written to go fast. It's
based on the work done by the amazing folks at magicstack.
On top of being Flask-like, Sanic supports async request handlers. This means
you can use the new shiny async/await syntax from Python 3.5, making your code
non-blocking and speedy.
diffstat:
www/Makefile | 4 ++-
www/py-sanic/DESCR | 6 ++++
www/py-sanic/Makefile | 24 ++++++++++++++++++
www/py-sanic/PLIST | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++
www/py-sanic/distinfo | 6 ++++
5 files changed, 105 insertions(+), 1 deletions(-)
diffs (143 lines):
diff -r 88dae68b7370 -r 5ea66efcc076 www/Makefile
--- a/www/Makefile Fri Jul 07 07:25:31 2017 +0000
+++ b/www/Makefile Fri Jul 07 07:27:15 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1252 2017/06/24 07:30:18 adam Exp $
+# $NetBSD: Makefile,v 1.1253 2017/07/07 07:27:15 adam Exp $
#
COMMENT= Packages related to the World Wide Web
@@ -691,6 +691,7 @@
SUBDIR+= py-httpbin
SUBDIR+= py-httpie
SUBDIR+= py-httplib2
+SUBDIR+= py-httptools
SUBDIR+= py-hyperframe
SUBDIR+= py-hyperlink
SUBDIR+= py-idna
@@ -720,6 +721,7 @@
SUBDIR+= py-recaptcha
SUBDIR+= py-robobrowser
SUBDIR+= py-rss2gen
+SUBDIR+= py-sanic
SUBDIR+= py-scgi
SUBDIR+= py-scrapy
SUBDIR+= py-simpletal
diff -r 88dae68b7370 -r 5ea66efcc076 www/py-sanic/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-sanic/DESCR Fri Jul 07 07:27:15 2017 +0000
@@ -0,0 +1,6 @@
+Sanic is a Flask-like Python 3.5+ web server that's written to go fast. It's
+based on the work done by the amazing folks at magicstack.
+
+On top of being Flask-like, Sanic supports async request handlers. This means
+you can use the new shiny async/await syntax from Python 3.5, making your code
+non-blocking and speedy.
diff -r 88dae68b7370 -r 5ea66efcc076 www/py-sanic/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-sanic/Makefile Fri Jul 07 07:27:15 2017 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2017/07/07 07:27:15 adam Exp $
+
+DISTNAME= sanic-0.5.4
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= www python
+MASTER_SITES= ${MASTER_SITE_PYPI:=s/sanic/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/channelcat/sanic
+COMMENT= Microframework based on uvloop, httptools, and learnings of flask
+LICENSE= mit AND apache-2.0
+
+BUILD_DEPENDS+= ${PYPKGPREFIX}-aiofiles>=0.3.0:../../devel/py-aiofiles
+BUILD_DEPENDS+= ${PYPKGPREFIX}-httptools>=0.0.9:../../www/py-httptools
+BUILD_DEPENDS+= ${PYPKGPREFIX}-ujson>=1.35:../../textproc/py-ujson
+BUILD_DEPENDS+= ${PYPKGPREFIX}-uvloop>=0.5.3:../../devel/py-uvloop
+BUILD_DEPENDS+= ${PYPKGPREFIX}-websockets>=3.2:../../www/py-websockets
+
+PYTHON_VERSIONS_ACCEPTED= 36 35
+
+USE_LANGUAGES= c
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 88dae68b7370 -r 5ea66efcc076 www/py-sanic/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-sanic/PLIST Fri Jul 07 07:27:15 2017 +0000
@@ -0,0 +1,66 @@
+@comment $NetBSD: PLIST,v 1.1 2017/07/07 07:27:15 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/sanic/__init__.py
+${PYSITELIB}/sanic/__init__.pyc
+${PYSITELIB}/sanic/__init__.pyo
+${PYSITELIB}/sanic/__main__.py
+${PYSITELIB}/sanic/__main__.pyc
+${PYSITELIB}/sanic/__main__.pyo
+${PYSITELIB}/sanic/app.py
+${PYSITELIB}/sanic/app.pyc
+${PYSITELIB}/sanic/app.pyo
+${PYSITELIB}/sanic/blueprints.py
+${PYSITELIB}/sanic/blueprints.pyc
+${PYSITELIB}/sanic/blueprints.pyo
+${PYSITELIB}/sanic/config.py
+${PYSITELIB}/sanic/config.pyc
+${PYSITELIB}/sanic/config.pyo
+${PYSITELIB}/sanic/constants.py
+${PYSITELIB}/sanic/constants.pyc
+${PYSITELIB}/sanic/constants.pyo
+${PYSITELIB}/sanic/cookies.py
+${PYSITELIB}/sanic/cookies.pyc
+${PYSITELIB}/sanic/cookies.pyo
+${PYSITELIB}/sanic/defaultFilter.py
+${PYSITELIB}/sanic/defaultFilter.pyc
+${PYSITELIB}/sanic/defaultFilter.pyo
+${PYSITELIB}/sanic/exceptions.py
+${PYSITELIB}/sanic/exceptions.pyc
+${PYSITELIB}/sanic/exceptions.pyo
+${PYSITELIB}/sanic/handlers.py
+${PYSITELIB}/sanic/handlers.pyc
+${PYSITELIB}/sanic/handlers.pyo
+${PYSITELIB}/sanic/log.py
+${PYSITELIB}/sanic/log.pyc
+${PYSITELIB}/sanic/log.pyo
+${PYSITELIB}/sanic/request.py
+${PYSITELIB}/sanic/request.pyc
+${PYSITELIB}/sanic/request.pyo
+${PYSITELIB}/sanic/response.py
+${PYSITELIB}/sanic/response.pyc
+${PYSITELIB}/sanic/response.pyo
+${PYSITELIB}/sanic/router.py
+${PYSITELIB}/sanic/router.pyc
+${PYSITELIB}/sanic/router.pyo
+${PYSITELIB}/sanic/server.py
+${PYSITELIB}/sanic/server.pyc
+${PYSITELIB}/sanic/server.pyo
+${PYSITELIB}/sanic/static.py
+${PYSITELIB}/sanic/static.pyc
+${PYSITELIB}/sanic/static.pyo
+${PYSITELIB}/sanic/testing.py
+${PYSITELIB}/sanic/testing.pyc
+${PYSITELIB}/sanic/testing.pyo
+${PYSITELIB}/sanic/views.py
+${PYSITELIB}/sanic/views.pyc
+${PYSITELIB}/sanic/views.pyo
+${PYSITELIB}/sanic/websocket.py
+${PYSITELIB}/sanic/websocket.pyc
+${PYSITELIB}/sanic/websocket.pyo
+${PYSITELIB}/sanic/worker.py
+${PYSITELIB}/sanic/worker.pyc
+${PYSITELIB}/sanic/worker.pyo
diff -r 88dae68b7370 -r 5ea66efcc076 www/py-sanic/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-sanic/distinfo Fri Jul 07 07:27:15 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/07/07 07:27:15 adam Exp $
+
+SHA1 (sanic-0.5.4.tar.gz) = 4703ee202febb32cf8af68f6ad5488d42f7a1ce7
+RMD160 (sanic-0.5.4.tar.gz) = 4d8cdd82e0bcc4716a2360335e2373b27baa90e3
+SHA512 (sanic-0.5.4.tar.gz) = 7cc413d9f42bfbf15507d88bfb5c17186b8d9e57f976d9099463ef204359fc1a52f25785f687384d5a9cac6b4b871a0d047e382319243d36b39ab185881f9efc
+Size (sanic-0.5.4.tar.gz) = 35059 bytes
Home |
Main Index |
Thread Index |
Old Index