Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Oct 2020 08:03:48 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r550783 - in head/www/py-uvicorn: . files
Message-ID:  <202010010803.09183mJM008483@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Oct  1 08:03:48 2020
New Revision: 550783
URL: https://svnweb.freebsd.org/changeset/ports/550783

Log:
  Update to 0.12.0
  
  Changes:	https://github.com/encode/uvicorn/releases

Modified:
  head/www/py-uvicorn/Makefile
  head/www/py-uvicorn/distinfo
  head/www/py-uvicorn/files/patch-setup.py

Modified: head/www/py-uvicorn/Makefile
==============================================================================
--- head/www/py-uvicorn/Makefile	Thu Oct  1 08:03:43 2020	(r550782)
+++ head/www/py-uvicorn/Makefile	Thu Oct  1 08:03:48 2020	(r550783)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	uvicorn
-PORTVERSION=	0.11.8
+PORTVERSION=	0.12.0
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -16,6 +16,8 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.md
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}click>=7<8:devel/py-click@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}h11>=0.8<0.11:net/py-h11@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}httptools>=0.1<0.2:www/py-httptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}python-dotenv>=0.13.0:www/py-python-dotenv@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yaml>=5.1:devel/py-yaml@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}uvloop>=0.14.0:devel/py-uvloop@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}websockets>=8<9:devel/py-websockets@${PY_FLAVOR}
 
@@ -29,4 +31,10 @@ WATCHGODRELOAD_DESC=	Reload automatically with watchgo
 
 WATCHGODRELOAD_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}watchgod>=0.6<0.7:devel/py-watchgod@${PY_FLAVOR}
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_VER} < 3800
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>

Modified: head/www/py-uvicorn/distinfo
==============================================================================
--- head/www/py-uvicorn/distinfo	Thu Oct  1 08:03:43 2020	(r550782)
+++ head/www/py-uvicorn/distinfo	Thu Oct  1 08:03:48 2020	(r550783)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1596954376
-SHA256 (uvicorn-0.11.8.tar.gz) = 46a83e371f37ea7ff29577d00015f02c942410288fb57def6440f2653fff1d26
-SIZE (uvicorn-0.11.8.tar.gz) = 29721
+TIMESTAMP = 1601485425
+SHA256 (uvicorn-0.12.0.tar.gz) = fbe9d1b764bc1f4599e1f150a0974feea0fd6380bec889c0d907ebd0a2e896a7
+SIZE (uvicorn-0.12.0.tar.gz) = 31521

Modified: head/www/py-uvicorn/files/patch-setup.py
==============================================================================
--- head/www/py-uvicorn/files/patch-setup.py	Thu Oct  1 08:03:43 2020	(r550782)
+++ head/www/py-uvicorn/files/patch-setup.py	Thu Oct  1 08:03:48 2020	(r550783)
@@ -1,13 +1,11 @@
-Obtained from:	https://github.com/encode/uvicorn/commit/54d729ccc1638180a51e6ab600c4724e6424b048
-
---- setup.py.orig	2020-07-31 16:54:58 UTC
+--- setup.py.orig	2020-09-28 09:57:54 UTC
 +++ setup.py
-@@ -42,7 +42,7 @@ env_marker = (
+@@ -55,7 +55,7 @@ extra_requirements = [
+     "uvloop>=0.14.0 ;" + env_marker_cpython,
+     "colorama>=0.4.*;" + env_marker_win,
+     "watchgod>=0.6,<0.7",
+-    "python-dotenv==0.13.*",
++    "python-dotenv>=0.13.0",
+     "PyYAML>=5.1",
+ ]
  
- requirements = [
-     "click==7.*",
--    "h11>=0.8,<0.10",
-+    "h11>=0.8,<0.11",
-     "websockets==8.*",
-     "httptools==0.1.* ;" + env_marker,
-     "uvloop>=0.14.0 ;" + env_marker,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010010803.09183mJM008483>