mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
Add py-httpx013 0.13.3 (copied from py-httpx)
- Add PORTSCOUT
This commit is contained in:
parent
e3208b5bab
commit
88de0f0735
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=549828
@ -1624,6 +1624,7 @@
|
||||
SUBDIR += py-httplib2
|
||||
SUBDIR += py-httptools
|
||||
SUBDIR += py-httpx
|
||||
SUBDIR += py-httpx013
|
||||
SUBDIR += py-hyper
|
||||
SUBDIR += py-hyperframe
|
||||
SUBDIR += py-hyperlink
|
||||
|
32
www/py-httpx013/Makefile
Normal file
32
www/py-httpx013/Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= httpx
|
||||
PORTVERSION= 0.13.3
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
PKGNAMESUFFIX= 013
|
||||
|
||||
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}hstspreload>=0:www/py-hstspreload@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}httpcore>=0.9: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}
|
||||
|
||||
USES= python:3.7+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
PORTSCOUT= limit:^0\.13\.
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-httpx013/distinfo
Normal file
3
www/py-httpx013/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1591186800
|
||||
SHA256 (httpx-0.13.3.tar.gz) = 3642bd13e90b80ba8a243a730275eb10a4c26ec96f5fc16b87e458d4ab21efae
|
||||
SIZE (httpx-0.13.3.tar.gz) = 59369
|
11
www/py-httpx013/files/patch-setup.py
Normal file
11
www/py-httpx013/files/patch-setup.py
Normal file
@ -0,0 +1,11 @@
|
||||
--- setup.py.orig 2020-05-29 10:29:22 UTC
|
||||
+++ setup.py
|
||||
@@ -61,7 +61,7 @@ setup(
|
||||
"chardet==3.*",
|
||||
"idna==2.*",
|
||||
"rfc3986>=1.3,<2",
|
||||
- "httpcore==0.9.*",
|
||||
+ "httpcore>=0.9",
|
||||
],
|
||||
classifiers=[
|
||||
"Development Status :: 4 - Beta",
|
4
www/py-httpx013/pkg-descr
Normal file
4
www/py-httpx013/pkg-descr
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user