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:           Wed Jan  8 20:58:30 UTC 2020

Modified Files:
        pkgsrc/www: Makefile
Added Files:
        pkgsrc/www/py-uvicorn: ALTERNATIVES DESCR Makefile PLIST distinfo
        pkgsrc/www/py-uvicorn/patches: patch-setup.py

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


To generate a diff of this commit:
cvs rdiff -u -r1.1422 -r1.1423 pkgsrc/www/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/www/py-uvicorn/ALTERNATIVES \
    pkgsrc/www/py-uvicorn/DESCR pkgsrc/www/py-uvicorn/Makefile \
    pkgsrc/www/py-uvicorn/PLIST pkgsrc/www/py-uvicorn/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/py-uvicorn/patches/patch-setup.py

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.1422 pkgsrc/www/Makefile:1.1423
--- pkgsrc/www/Makefile:1.1422  Wed Jan  8 19:58:20 2020
+++ pkgsrc/www/Makefile Wed Jan  8 20:58:29 2020
@@ -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-grappelli_safe
 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-trytond-webdav
 SUBDIR+=       py-twill
 SUBDIR+=       py-uliweb
 SUBDIR+=       py-urllib3
+SUBDIR+=       py-uvicorn
 SUBDIR+=       py-uwsgi
 SUBDIR+=       py-uwsgitop
 SUBDIR+=       py-w3lib

Added files:

Index: pkgsrc/www/py-uvicorn/ALTERNATIVES
diff -u /dev/null pkgsrc/www/py-uvicorn/ALTERNATIVES:1.1
--- /dev/null   Wed Jan  8 20:58:30 2020
+++ pkgsrc/www/py-uvicorn/ALTERNATIVES  Wed Jan  8 20:58:29 2020
@@ -0,0 +1 @@
+bin/uvicorn @PREFIX@/bin/uvicorn-@PYVERSSUFFIX@
Index: pkgsrc/www/py-uvicorn/DESCR
diff -u /dev/null pkgsrc/www/py-uvicorn/DESCR:1.1
--- /dev/null   Wed Jan  8 20:58:30 2020
+++ pkgsrc/www/py-uvicorn/DESCR Wed Jan  8 20:58:29 2020
@@ -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.
Index: pkgsrc/www/py-uvicorn/Makefile
diff -u /dev/null pkgsrc/www/py-uvicorn/Makefile:1.1
--- /dev/null   Wed Jan  8 20:58:30 2020
+++ pkgsrc/www/py-uvicorn/Makefile      Wed Jan  8 20:58:29 2020
@@ -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"
Index: pkgsrc/www/py-uvicorn/PLIST
diff -u /dev/null pkgsrc/www/py-uvicorn/PLIST:1.1
--- /dev/null   Wed Jan  8 20:58:30 2020
+++ pkgsrc/www/py-uvicorn/PLIST Wed Jan  8 20:58:29 2020
@@ -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
Index: pkgsrc/www/py-uvicorn/distinfo
diff -u /dev/null pkgsrc/www/py-uvicorn/distinfo:1.1
--- /dev/null   Wed Jan  8 20:58:30 2020
+++ pkgsrc/www/py-uvicorn/distinfo      Wed Jan  8 20:58:29 2020
@@ -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

Index: pkgsrc/www/py-uvicorn/patches/patch-setup.py
diff -u /dev/null pkgsrc/www/py-uvicorn/patches/patch-setup.py:1.1
--- /dev/null   Wed Jan  8 20:58:30 2020
+++ pkgsrc/www/py-uvicorn/patches/patch-setup.py        Wed Jan  8 20:58:29 2020
@@ -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