pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www py-uvicorn: added version 0.11.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/605b66d93d89
branches:  trunk
changeset: 420883:605b66d93d89
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jan 08 20:58:29 2020 +0000

description:
py-uvicorn: added version 0.11.1

Uvicorn is a lightning-fast ASGI server implementation, using uvloop and
httptools.

Until recently Python has lacked a minimal low-level server/application
interface for asyncio frameworks. The ASGI specification fills this gap, and
means we're now able to start building a common set of tooling usable across
all asyncio frameworks.

diffstat:

 www/Makefile                          |    5 +-
 www/py-uvicorn/ALTERNATIVES           |    1 +
 www/py-uvicorn/DESCR                  |    7 ++
 www/py-uvicorn/Makefile               |   28 ++++++++
 www/py-uvicorn/PLIST                  |  110 ++++++++++++++++++++++++++++++++++
 www/py-uvicorn/distinfo               |    7 ++
 www/py-uvicorn/patches/patch-setup.py |   14 ++++
 7 files changed, 171 insertions(+), 1 deletions(-)

diffs (223 lines):

diff -r 27e069aaeea4 -r 605b66d93d89 www/Makefile
--- a/www/Makefile      Wed Jan 08 20:54:27 2020 +0000
+++ b/www/Makefile      Wed Jan 08 20:58:29 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1422 2020/01/08 19:58:20 adam Exp $
+# $NetBSD: Makefile,v 1.1423 2020/01/08 20:58:29 adam Exp $
 #
 
 COMMENT=       Packages related to the World Wide Web
@@ -737,12 +737,14 @@
 SUBDIR+=       py-gunicorn
 SUBDIR+=       py-h11
 SUBDIR+=       py-h2
+SUBDIR+=       py-hstspreload
 SUBDIR+=       py-http-parser
 SUBDIR+=       py-http_ece
 SUBDIR+=       py-httpbin
 SUBDIR+=       py-httpie
 SUBDIR+=       py-httplib2
 SUBDIR+=       py-httptools
+SUBDIR+=       py-httpx
 SUBDIR+=       py-hyperframe
 SUBDIR+=       py-hyperlink
 SUBDIR+=       py-idna
@@ -797,6 +799,7 @@
 SUBDIR+=       py-twill
 SUBDIR+=       py-uliweb
 SUBDIR+=       py-urllib3
+SUBDIR+=       py-uvicorn
 SUBDIR+=       py-uwsgi
 SUBDIR+=       py-uwsgitop
 SUBDIR+=       py-w3lib
diff -r 27e069aaeea4 -r 605b66d93d89 www/py-uvicorn/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-uvicorn/ALTERNATIVES       Wed Jan 08 20:58:29 2020 +0000
@@ -0,0 +1,1 @@
+bin/uvicorn @PREFIX@/bin/uvicorn-@PYVERSSUFFIX@
diff -r 27e069aaeea4 -r 605b66d93d89 www/py-uvicorn/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-uvicorn/DESCR      Wed Jan 08 20:58:29 2020 +0000
@@ -0,0 +1,7 @@
+Uvicorn is a lightning-fast ASGI server implementation, using uvloop and
+httptools.
+
+Until recently Python has lacked a minimal low-level server/application
+interface for asyncio frameworks. The ASGI specification fills this gap, and
+means we're now able to start building a common set of tooling usable across
+all asyncio frameworks.
diff -r 27e069aaeea4 -r 605b66d93d89 www/py-uvicorn/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-uvicorn/Makefile   Wed Jan 08 20:58:29 2020 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2020/01/08 20:58:29 adam Exp $
+
+DISTNAME=      uvicorn-0.11.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    www python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=u/uvicorn/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/encode/uvicorn
+COMMENT=       The lightning-fast ASGI server
+LICENSE=       modified-bsd
+
+DEPENDS+=      ${PYPKGPREFIX}-click>=7.0:../../devel/py-click
+DEPENDS+=      ${PYPKGPREFIX}-h11>=0.8:../../www/py-h11
+DEPENDS+=      ${PYPKGPREFIX}-httptools>=0.0.13:../../www/py-httptools
+DEPENDS+=      ${PYPKGPREFIX}-uvloop>=0.14.0:../../devel/py-uvloop
+DEPENDS+=      ${PYPKGPREFIX}-websockets>=8.0:../../www/py-websockets
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} uvicorn uvicorn-${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 27e069aaeea4 -r 605b66d93d89 www/py-uvicorn/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-uvicorn/PLIST      Wed Jan 08 20:58:29 2020 +0000
@@ -0,0 +1,110 @@
+@comment $NetBSD: PLIST,v 1.1 2020/01/08 20:58:29 adam Exp $
+bin/uvicorn-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/uvicorn/__init__.py
+${PYSITELIB}/uvicorn/__init__.pyc
+${PYSITELIB}/uvicorn/__init__.pyo
+${PYSITELIB}/uvicorn/__main__.py
+${PYSITELIB}/uvicorn/__main__.pyc
+${PYSITELIB}/uvicorn/__main__.pyo
+${PYSITELIB}/uvicorn/config.py
+${PYSITELIB}/uvicorn/config.pyc
+${PYSITELIB}/uvicorn/config.pyo
+${PYSITELIB}/uvicorn/importer.py
+${PYSITELIB}/uvicorn/importer.pyc
+${PYSITELIB}/uvicorn/importer.pyo
+${PYSITELIB}/uvicorn/lifespan/__init__.py
+${PYSITELIB}/uvicorn/lifespan/__init__.pyc
+${PYSITELIB}/uvicorn/lifespan/__init__.pyo
+${PYSITELIB}/uvicorn/lifespan/off.py
+${PYSITELIB}/uvicorn/lifespan/off.pyc
+${PYSITELIB}/uvicorn/lifespan/off.pyo
+${PYSITELIB}/uvicorn/lifespan/on.py
+${PYSITELIB}/uvicorn/lifespan/on.pyc
+${PYSITELIB}/uvicorn/lifespan/on.pyo
+${PYSITELIB}/uvicorn/logging.py
+${PYSITELIB}/uvicorn/logging.pyc
+${PYSITELIB}/uvicorn/logging.pyo
+${PYSITELIB}/uvicorn/loops/__init__.py
+${PYSITELIB}/uvicorn/loops/__init__.pyc
+${PYSITELIB}/uvicorn/loops/__init__.pyo
+${PYSITELIB}/uvicorn/loops/asyncio.py
+${PYSITELIB}/uvicorn/loops/asyncio.pyc
+${PYSITELIB}/uvicorn/loops/asyncio.pyo
+${PYSITELIB}/uvicorn/loops/auto.py
+${PYSITELIB}/uvicorn/loops/auto.pyc
+${PYSITELIB}/uvicorn/loops/auto.pyo
+${PYSITELIB}/uvicorn/loops/uvloop.py
+${PYSITELIB}/uvicorn/loops/uvloop.pyc
+${PYSITELIB}/uvicorn/loops/uvloop.pyo
+${PYSITELIB}/uvicorn/main.py
+${PYSITELIB}/uvicorn/main.pyc
+${PYSITELIB}/uvicorn/main.pyo
+${PYSITELIB}/uvicorn/middleware/__init__.py
+${PYSITELIB}/uvicorn/middleware/__init__.pyc
+${PYSITELIB}/uvicorn/middleware/__init__.pyo
+${PYSITELIB}/uvicorn/middleware/asgi2.py
+${PYSITELIB}/uvicorn/middleware/asgi2.pyc
+${PYSITELIB}/uvicorn/middleware/asgi2.pyo
+${PYSITELIB}/uvicorn/middleware/debug.py
+${PYSITELIB}/uvicorn/middleware/debug.pyc
+${PYSITELIB}/uvicorn/middleware/debug.pyo
+${PYSITELIB}/uvicorn/middleware/message_logger.py
+${PYSITELIB}/uvicorn/middleware/message_logger.pyc
+${PYSITELIB}/uvicorn/middleware/message_logger.pyo
+${PYSITELIB}/uvicorn/middleware/proxy_headers.py
+${PYSITELIB}/uvicorn/middleware/proxy_headers.pyc
+${PYSITELIB}/uvicorn/middleware/proxy_headers.pyo
+${PYSITELIB}/uvicorn/middleware/wsgi.py
+${PYSITELIB}/uvicorn/middleware/wsgi.pyc
+${PYSITELIB}/uvicorn/middleware/wsgi.pyo
+${PYSITELIB}/uvicorn/protocols/__init__.py
+${PYSITELIB}/uvicorn/protocols/__init__.pyc
+${PYSITELIB}/uvicorn/protocols/__init__.pyo
+${PYSITELIB}/uvicorn/protocols/http/__init__.py
+${PYSITELIB}/uvicorn/protocols/http/__init__.pyc
+${PYSITELIB}/uvicorn/protocols/http/__init__.pyo
+${PYSITELIB}/uvicorn/protocols/http/auto.py
+${PYSITELIB}/uvicorn/protocols/http/auto.pyc
+${PYSITELIB}/uvicorn/protocols/http/auto.pyo
+${PYSITELIB}/uvicorn/protocols/http/h11_impl.py
+${PYSITELIB}/uvicorn/protocols/http/h11_impl.pyc
+${PYSITELIB}/uvicorn/protocols/http/h11_impl.pyo
+${PYSITELIB}/uvicorn/protocols/http/httptools_impl.py
+${PYSITELIB}/uvicorn/protocols/http/httptools_impl.pyc
+${PYSITELIB}/uvicorn/protocols/http/httptools_impl.pyo
+${PYSITELIB}/uvicorn/protocols/utils.py
+${PYSITELIB}/uvicorn/protocols/utils.pyc
+${PYSITELIB}/uvicorn/protocols/utils.pyo
+${PYSITELIB}/uvicorn/protocols/websockets/__init__.py
+${PYSITELIB}/uvicorn/protocols/websockets/__init__.pyc
+${PYSITELIB}/uvicorn/protocols/websockets/__init__.pyo
+${PYSITELIB}/uvicorn/protocols/websockets/auto.py
+${PYSITELIB}/uvicorn/protocols/websockets/auto.pyc
+${PYSITELIB}/uvicorn/protocols/websockets/auto.pyo
+${PYSITELIB}/uvicorn/protocols/websockets/websockets_impl.py
+${PYSITELIB}/uvicorn/protocols/websockets/websockets_impl.pyc
+${PYSITELIB}/uvicorn/protocols/websockets/websockets_impl.pyo
+${PYSITELIB}/uvicorn/protocols/websockets/wsproto_impl.py
+${PYSITELIB}/uvicorn/protocols/websockets/wsproto_impl.pyc
+${PYSITELIB}/uvicorn/protocols/websockets/wsproto_impl.pyo
+${PYSITELIB}/uvicorn/subprocess.py
+${PYSITELIB}/uvicorn/subprocess.pyc
+${PYSITELIB}/uvicorn/subprocess.pyo
+${PYSITELIB}/uvicorn/supervisors/__init__.py
+${PYSITELIB}/uvicorn/supervisors/__init__.pyc
+${PYSITELIB}/uvicorn/supervisors/__init__.pyo
+${PYSITELIB}/uvicorn/supervisors/multiprocess.py
+${PYSITELIB}/uvicorn/supervisors/multiprocess.pyc
+${PYSITELIB}/uvicorn/supervisors/multiprocess.pyo
+${PYSITELIB}/uvicorn/supervisors/statreload.py
+${PYSITELIB}/uvicorn/supervisors/statreload.pyc
+${PYSITELIB}/uvicorn/supervisors/statreload.pyo
+${PYSITELIB}/uvicorn/workers.py
+${PYSITELIB}/uvicorn/workers.pyc
+${PYSITELIB}/uvicorn/workers.pyo
diff -r 27e069aaeea4 -r 605b66d93d89 www/py-uvicorn/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-uvicorn/distinfo   Wed Jan 08 20:58:29 2020 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/01/08 20:58:29 adam Exp $
+
+SHA1 (uvicorn-0.11.1.tar.gz) = afec7165ec366bf55fea1e3e252b8c73b60847a7
+RMD160 (uvicorn-0.11.1.tar.gz) = 583bc0eafe4ed58f6df3f992c2c707725d9d1c4b
+SHA512 (uvicorn-0.11.1.tar.gz) = 1f27507fbbeae1650aaca7d557a6a18deda56bef7d8c342ac701fbc5a1dcb7b1301dd4101d7deb51b8d5cd042a87743b5411270a82d56caf22534d483f9dfbd2
+Size (uvicorn-0.11.1.tar.gz) = 30284 bytes
+SHA1 (patch-setup.py) = c49ed35adca328427eeae9ea0b1b7a93ae60159b
diff -r 27e069aaeea4 -r 605b66d93d89 www/py-uvicorn/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-uvicorn/patches/patch-setup.py     Wed Jan 08 20:58:29 2020 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-setup.py,v 1.1 2020/01/08 20:58:29 adam Exp $
+
+Avoid files outside PYSITELIB.
+
+--- setup.py.orig      2020-01-08 20:25:09.000000000 +0000
++++ setup.py
+@@ -61,7 +61,6 @@ setup(
+     author_email='tom%tomchristie.com@localhost',
+     packages=get_packages('uvicorn'),
+     install_requires=requirements,
+-    data_files = [("", ["LICENSE.md"])],
+     classifiers=[
+         'Development Status :: 4 - Beta',
+         'Environment :: Web Environment',



Home | Main Index | Thread Index | Old Index