Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 May 2020 08:47: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: r534342 - in head/www: . py-httpx
Message-ID:  <202005080847.0488lQSZ032956@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri May  8 08:47:26 2020
New Revision: 534342
URL: https://svnweb.freebsd.org/changeset/ports/534342

Log:
  Add py-httpx 0.12.1
  
  HTTPX is a fully featured HTTP client for Python 3, which provides sync and
  async APIs, and support for both HTTP/1.1 and HTTP/2.
  
  WWW: https://github.com/encode/httpx

Added:
  head/www/py-httpx/
  head/www/py-httpx/Makefile   (contents, props changed)
  head/www/py-httpx/distinfo   (contents, props changed)
  head/www/py-httpx/pkg-descr   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Fri May  8 08:47:20 2020	(r534341)
+++ head/www/Makefile	Fri May  8 08:47:26 2020	(r534342)
@@ -1649,6 +1649,7 @@
     SUBDIR += py-httpie
     SUBDIR += py-httplib2
     SUBDIR += py-httptools
+    SUBDIR += py-httpx
     SUBDIR += py-hyper
     SUBDIR += py-hyperframe
     SUBDIR += py-hyperlink

Added: head/www/py-httpx/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-httpx/Makefile	Fri May  8 08:47:26 2020	(r534342)
@@ -0,0 +1,31 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	httpx
+PORTVERSION=	0.12.1
+CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Next generation HTTP client
+
+LICENSE=	BSD3CLAUSE
+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}h11>=0.8<0.10:net/py-h11@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}h2>=3.0<4:www/py-h2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}hstspreload>=0:www/py-hstspreload@${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>=1.0<2:devel/py-sniffio@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}urllib3>=1.0,1<2,1:net/py-urllib3@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/www/py-httpx/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-httpx/distinfo	Fri May  8 08:47:26 2020	(r534342)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1588777615
+SHA256 (httpx-0.12.1.tar.gz) = 405b4749f597b1f45cae5bffc17b23dc251cce30a0c4c8126f1007b9e728a615
+SIZE (httpx-0.12.1.tar.gz) = 67139

Added: head/www/py-httpx/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-httpx/pkg-descr	Fri May  8 08:47:26 2020	(r534342)
@@ -0,0 +1,4 @@
+HTTPX is a fully featured HTTP client for Python 3, which provides sync and
+async APIs, and support for both HTTP/1.1 and HTTP/2.
+
+WWW: https://github.com/encode/httpx



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