pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Jul  7 07:27:15 UTC 2017

Modified Files:
        pkgsrc/www: Makefile
Added Files:
        pkgsrc/www/py-sanic: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1252 -r1.1253 pkgsrc/www/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/www/py-sanic/DESCR pkgsrc/www/py-sanic/Makefile \
    pkgsrc/www/py-sanic/PLIST pkgsrc/www/py-sanic/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/Makefile
diff -u pkgsrc/www/Makefile:1.1252 pkgsrc/www/Makefile:1.1253
--- pkgsrc/www/Makefile:1.1252  Sat Jun 24 07:30:18 2017
+++ pkgsrc/www/Makefile Fri Jul  7 07:27:15 2017
@@ -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

Added files:

Index: pkgsrc/www/py-sanic/DESCR
diff -u /dev/null pkgsrc/www/py-sanic/DESCR:1.1
--- /dev/null   Fri Jul  7 07:27:15 2017
+++ pkgsrc/www/py-sanic/DESCR   Fri Jul  7 07:27:15 2017
@@ -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.
Index: pkgsrc/www/py-sanic/Makefile
diff -u /dev/null pkgsrc/www/py-sanic/Makefile:1.1
--- /dev/null   Fri Jul  7 07:27:15 2017
+++ pkgsrc/www/py-sanic/Makefile        Fri Jul  7 07:27:15 2017
@@ -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"
Index: pkgsrc/www/py-sanic/PLIST
diff -u /dev/null pkgsrc/www/py-sanic/PLIST:1.1
--- /dev/null   Fri Jul  7 07:27:15 2017
+++ pkgsrc/www/py-sanic/PLIST   Fri Jul  7 07:27:15 2017
@@ -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
Index: pkgsrc/www/py-sanic/distinfo
diff -u /dev/null pkgsrc/www/py-sanic/distinfo:1.1
--- /dev/null   Fri Jul  7 07:27:15 2017
+++ pkgsrc/www/py-sanic/distinfo        Fri Jul  7 07:27:15 2017
@@ -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