Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Aug 2020 17:08:26 +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: r545004 - head/www/py-httpx
Message-ID:  <202008151708.07FH8QdQ028326@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Aug 15 17:08:26 2020
New Revision: 545004
URL: https://svnweb.freebsd.org/changeset/ports/545004

Log:
  Update to 0.14.0
  
  - Add HTTP2 option
  
  Changes:	https://github.com/encode/httpx/releases

Modified:
  head/www/py-httpx/Makefile
  head/www/py-httpx/distinfo

Modified: head/www/py-httpx/Makefile
==============================================================================
--- head/www/py-httpx/Makefile	Sat Aug 15 17:08:21 2020	(r545003)
+++ head/www/py-httpx/Makefile	Sat Aug 15 17:08:26 2020	(r545004)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	httpx
-PORTVERSION=	0.13.3
+PORTVERSION=	0.14.0
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,8 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}chardet>=3.0<4:textproc/py-chardet@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}hstspreload>=0:www/py-hstspreload@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}httpcore>=0.9.0<0.10:www/py-httpcore@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}httpcore>=0.10.0<0.11:www/py-httpcore@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}idna>=2.0<3:dns/py-idna@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}rfc3986>=1.3<2:www/py-rfc3986@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}sniffio>=0:devel/py-sniffio@${PY_FLAVOR}
@@ -25,5 +24,11 @@ USES=		python:3.7+
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
+
+OPTIONS_DEFINE=	HTTP2
+OPTIONS_DEFAULT=HTTP2
+HTTP2_DESC=	HTTP/2 support
+
+HTTP2_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}h2>=3.0<4:www/py-h2@${PY_FLAVOR}
 
 .include <bsd.port.mk>

Modified: head/www/py-httpx/distinfo
==============================================================================
--- head/www/py-httpx/distinfo	Sat Aug 15 17:08:21 2020	(r545003)
+++ head/www/py-httpx/distinfo	Sat Aug 15 17:08:26 2020	(r545004)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1591186800
-SHA256 (httpx-0.13.3.tar.gz) = 3642bd13e90b80ba8a243a730275eb10a4c26ec96f5fc16b87e458d4ab21efae
-SIZE (httpx-0.13.3.tar.gz) = 59369
+TIMESTAMP = 1596954370
+SHA256 (httpx-0.14.0.tar.gz) = e9aaab2a10826186b8cdf88b6eadb473b3c9b7b4cfe3e78503de8bd70ccd5358
+SIZE (httpx-0.14.0.tar.gz) = 73141



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