diff options
author | adam <adam@pkgsrc.org> | 2017-07-07 07:27:15 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2017-07-07 07:27:15 +0000 |
commit | d627e5bd9fd42fed79f53596951579cf8aec3f16 (patch) | |
tree | b639754b98e3980d0f6dfed918242c173360ac8d /www | |
parent | ff4c7688cc25d6ca0838db377524980ecd73d0cc (diff) | |
download | pkgsrc-d627e5bd9fd42fed79f53596951579cf8aec3f16.tar.gz |
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 (limited to 'www')
-rw-r--r-- | www/Makefile | 4 | ||||
-rw-r--r-- | www/py-sanic/DESCR | 6 | ||||
-rw-r--r-- | www/py-sanic/Makefile | 24 | ||||
-rw-r--r-- | www/py-sanic/PLIST | 66 | ||||
-rw-r--r-- | www/py-sanic/distinfo | 6 |
5 files changed, 105 insertions, 1 deletions
diff --git a/www/Makefile b/www/Makefile index 85bb514d5b9..fc73697d1c5 100644 --- a/www/Makefile +++ b/www/Makefile @@ -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-http-parser 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-pywebdav SUBDIR+= py-recaptcha SUBDIR+= py-robobrowser SUBDIR+= py-rss2gen +SUBDIR+= py-sanic SUBDIR+= py-scgi SUBDIR+= py-scrapy SUBDIR+= py-simpletal diff --git a/www/py-sanic/DESCR b/www/py-sanic/DESCR new file mode 100644 index 00000000000..39cde54d1b0 --- /dev/null +++ b/www/py-sanic/DESCR @@ -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 --git a/www/py-sanic/Makefile b/www/py-sanic/Makefile new file mode 100644 index 00000000000..db653258b48 --- /dev/null +++ b/www/py-sanic/Makefile @@ -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 +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 --git a/www/py-sanic/PLIST b/www/py-sanic/PLIST new file mode 100644 index 00000000000..290173f0e06 --- /dev/null +++ b/www/py-sanic/PLIST @@ -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 --git a/www/py-sanic/distinfo b/www/py-sanic/distinfo new file mode 100644 index 00000000000..2b88fb112d5 --- /dev/null +++ b/www/py-sanic/distinfo @@ -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 |