create bsd12 branch

This commit is contained in:
ziggi
2019-12-26 07:26:06 +00:00
commit 5cfdab6bfe
14432 changed files with 2272620 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
# Created by: Olivier Duchateau <duchateau.olivier@gmail.com>
# $FreeBSD: head/www/py-requests/Makefile 476584 2018-08-07 09:11:28Z koobs $
PORTNAME= requests
PORTVERSION= 2.18.4
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= HTTP library written in Python for human beings
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}chardet>=3.0.2:python/py-chardet@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}idna>=2.5:python/py-idna@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}urllib3>=1.21.1:python/py-urllib3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}certifi>=2017.4.17:python/py-certifi@${PY_FLAVOR}
# Actually 2.6-2.7,3.3+
USES= python
USE_PYTHON= autoplist distutils
CONFLICTS_INSTALL= py*-requests1-*
NO_ARCH= yes
# Automated tests failinng due to httpbin issue
# https://github.com/kennethreitz/httpbin/issues/403
.include <bsd.port.mk>

View File

@@ -0,0 +1,3 @@
TIMESTAMP = 1519435351
SHA256 (requests-2.18.4.tar.gz) = 9c443e7324ba5b85070c4a818ade28bfabedf16ea10206da1132edaa6dda237e
SIZE (requests-2.18.4.tar.gz) = 126224

View File

@@ -0,0 +1,21 @@
# 1: Backport bumping idna max version
# https://github.com/requests/requests/commit/991e8b76b7a9d21f698b24fa0058d3d5968721bc
# 2: pytest-cov and its dependencies are not compulsory
--- setup.py.orig 2017-08-15 13:19:39 UTC
+++ setup.py
@@ -43,12 +43,12 @@ packages = ['requests']
requires = [
'chardet>=3.0.2,<3.1.0',
- 'idna>=2.5,<2.7',
+ 'idna>=2.5,<2.8',
'urllib3>=1.21.1,<1.23',
'certifi>=2017.4.17'
]
-test_requirements = ['pytest-httpbin==0.0.7', 'pytest-cov', 'pytest-mock', 'pytest-xdist', 'PySocks>=1.5.6, !=1.5.7', 'pytest>=2.8.0']
+test_requirements = ['pytest-httpbin==0.0.7', 'pytest-mock', 'pytest-xdist', 'PySocks>=1.5.6, !=1.5.7', 'pytest>=2.8.0']
about = {}
with open(os.path.join(here, 'requests', '__version__.py'), 'r', 'utf-8') as f:

View File

@@ -0,0 +1,19 @@
Requests is an ISC Licensed HTTP library, written in Python, for human beings.
Features:
* International Domains and URLs
* Keep-Alive & Connection Pooling
* Sessions with Cookie Persistence
* Browser-style SSL Verification
* Basic/Digest Authentication
* Elegant Key/Value Cookies
* Automatic Decompression
* Unicode Response Bodies
* Multipart File Uploads
* Connection Timeouts
* .netrc support
* Python 2.6-3.4
* Thread-safe
WWW: http://python-requests.org