From nobody Wed Mar 30 22:24:30 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 64BBB1A40F52; Wed, 30 Mar 2022 22:24:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KTLZl33FQz4nmK; Wed, 30 Mar 2022 22:24:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648679071; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=35vhixH/ed652wyf8CX991c+xMCWqF/XjLaT7ccAvIE=; b=TtXBxU8lKVAJI0EJLgpGTsQqVcnf6bHcftELouaZV9uvXBDuJmlZAkbwK2yyAMjZCRypW9 7QIfL3S2uTos7s8db/0DMoR8bZtMl4rO7fNCsLuphE6mTaqTtzrYods9ru1Q79J/dIgrcL P29JxQ7iJfj0Pg+aXjN588LwRc4lV4awSvcke4aFAMIVF9+f+X2I22GIbF22LtBhxmMkRQ JhX1TBMtPj16sF1WIf7jRBtKe0MGbttAvfNgevzNjLVbQfrrkdj2N46oLan4r9FLvdpAC1 yiMlc9ZMuq9UgUGCKPVaszL8Ztzi+yMSkoKjOYma49dL+eOeQL5uwdd3pg/SPA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C086B1BAF6; Wed, 30 Mar 2022 22:24:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 22UMOUeK065495; Wed, 30 Mar 2022 22:24:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22UMOU4O065494; Wed, 30 Mar 2022 22:24:30 GMT (envelope-from git) Date: Wed, 30 Mar 2022 22:24:30 GMT Message-Id: <202203302224.22UMOU4O065494@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 7d35df119f11 - main - www/py-requests: Update to 2.27.1 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7d35df119f111cb4d74c8b29f9ce34541fc7feaa Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648679071; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=35vhixH/ed652wyf8CX991c+xMCWqF/XjLaT7ccAvIE=; b=dEQjmef7oUzMpWxzNqENJXNZ899dj16OhRKyVAsjBdslRolJy2o3tWW25QcyqiPTxph9aO S6EtqS46i7c184L57RnyRe0CTce52dObHMPmGRCyDbgEogwu9OwtKdKDhbXHBUkKoU3gPq XUlNANeq/iZHkCwIekE6i77ixK19AuCpdIG9XBeqoJiMuHcT3eZlVjtiox+5SNbH/cFdZu YfwJLeGx5A5mjCT/QwswQytHsald+szkRQ8ThRktswGQ7eIq0TFxR3Yc2XtwBoH6FwS3Sd Xz1cKTQWpnbwL/n98iPvDDoxS/oV+FLB5be0lTS5rlfptHy3kDub1jQTOJtE/w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648679071; a=rsa-sha256; cv=none; b=kqLHkxuh1EN30BtCxg1h/5f0z5xN8NFzpvwdQsXKKVpyTXAcRvlBs0V9H9Wjz2o4TvF5jH +ZTVOavy4d2QlPtYVEtOe/dgQXZEgzvMvINw7mVHOODGJp3skrbKHrbiApkv4VjC3JIUia P3qaXztgCifPCAthkS1RlwpNdMDGk9Xx7j5qY7mkoUsVRWmj0ir6T8rWNm9is7WRBbxSls d1LH3gbjwJP03zxtURE/DGfd/vCet/HRYobHR3nxmnYxpIp2CrvNDxcEp2MxeDVpXLdN7B HyJ7EXYopqw22zGrbSTltwME9k2IvUjKyE2sm7diuacvHKj+mBa9zO4aJDyKgQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=7d35df119f111cb4d74c8b29f9ce34541fc7feaa commit 7d35df119f111cb4d74c8b29f9ce34541fc7feaa Author: Po-Chuan Hsieh AuthorDate: 2022-03-30 22:07:22 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-03-30 22:21:21 +0000 www/py-requests: Update to 2.27.1 - Remove SECURITY option [1] - Upadte pkg-descr - Update WWW Changes: https://github.com/psf/requests/releases Reference: https://github.com/psf/requests/commit/f6c0619d892a41dcf84933810ffda89e9f6b10d4 [1] --- www/py-requests/Makefile | 12 +++---- www/py-requests/distinfo | 6 ++-- www/py-requests/files/patch-setup.py | 11 ------- .../files/patch-tests_test__requests.py | 12 ------- www/py-requests/pkg-descr | 37 +++++++++++----------- 5 files changed, 26 insertions(+), 52 deletions(-) diff --git a/www/py-requests/Makefile b/www/py-requests/Makefile index 0f240f59bbfa..53943c2e152c 100644 --- a/www/py-requests/Makefile +++ b/www/py-requests/Makefile @@ -1,8 +1,7 @@ # Created by: Olivier Duchateau PORTNAME= requests -PORTVERSION= 2.25.1 -PORTREVISION= 1 +PORTVERSION= 2.27.1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,7 +13,7 @@ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>=2017.4.17:security/py-certifi@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}chardet>=3.0.2,1<5,1:textproc/py-chardet@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}charset-normalizer>=2.0.0<2.1:textproc/py-charset-normalizer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}idna>=2.5<4:dns/py-idna@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}urllib3>=1.21.1,1<1.27,1:net/py-urllib3@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.6:net/py-pysocks@${PY_FLAVOR} \ @@ -31,13 +30,10 @@ NO_ARCH= yes CPE_VENDOR= python -OPTIONS_DEFINE= SECURITY SOCKS -OPTIONS_DEFAULT=SECURITY SOCKS -SECURITY_DESC= Extra security functionalities +OPTIONS_DEFINE= SOCKS +OPTIONS_DEFAULT=SOCKS SOCKS_DESC= Extra socks functionalities -SECURITY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=1.3.4:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}openssl>=0.14:security/py-openssl@${PY_FLAVOR} SOCKS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.6:net/py-pysocks@${PY_FLAVOR} do-test: diff --git a/www/py-requests/distinfo b/www/py-requests/distinfo index 7787211fb0ff..f4003e24d89f 100644 --- a/www/py-requests/distinfo +++ b/www/py-requests/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1609030585 -SHA256 (requests-2.25.1.tar.gz) = 27973dd4a904a4f13b263a19c866c13b92a39ed1c964655f025f3f8d3d75b804 -SIZE (requests-2.25.1.tar.gz) = 102161 +TIMESTAMP = 1648249002 +SHA256 (requests-2.27.1.tar.gz) = 68d7c56fd5a8999887728ef304a6d12edc7be74f1cfa47714fc8b414525c9a61 +SIZE (requests-2.27.1.tar.gz) = 106758 diff --git a/www/py-requests/files/patch-setup.py b/www/py-requests/files/patch-setup.py deleted file mode 100644 index 601ce557a7df..000000000000 --- a/www/py-requests/files/patch-setup.py +++ /dev/null @@ -1,11 +0,0 @@ ---- setup.py.orig 2020-12-16 17:43:25 UTC -+++ setup.py -@@ -43,7 +43,7 @@ packages = ['requests'] - - requires = [ - 'chardet>=3.0.2,<5', -- 'idna>=2.5,<3', -+ 'idna>=2.5,<4', - 'urllib3>=1.21.1,<1.27', - 'certifi>=2017.4.17' - diff --git a/www/py-requests/files/patch-tests_test__requests.py b/www/py-requests/files/patch-tests_test__requests.py deleted file mode 100644 index c29b374e559e..000000000000 --- a/www/py-requests/files/patch-tests_test__requests.py +++ /dev/null @@ -1,12 +0,0 @@ -# https://github.com/psf/requests/issues/5530 ---- tests/test_requests.py.orig 2020-12-16 17:43:25 UTC -+++ tests/test_requests.py -@@ -838,7 +838,7 @@ class TestRequests: - def test_https_warnings(self, httpbin_secure, httpbin_ca_bundle): - """warnings are emitted with requests.get""" - if HAS_MODERN_SSL or HAS_PYOPENSSL: -- warnings_expected = ('SubjectAltNameWarning', ) -+ warnings_expected = () - else: - warnings_expected = ('SNIMissingWarning', - 'InsecurePlatformWarning', diff --git a/www/py-requests/pkg-descr b/www/py-requests/pkg-descr index 38bd58eb30b8..f9c5e0c991b8 100644 --- a/www/py-requests/pkg-descr +++ b/www/py-requests/pkg-descr @@ -1,22 +1,23 @@ Requests is an elegant and simple HTTP library for Python, built for human beings. -Features: +Beloved Features: +- Requests is ready for today’s web. +- Keep-Alive & Connection Pooling +- International Domains and URLs +- Sessions with Cookie Persistence +- Browser-style SSL Verification +- Automatic Content Decoding +- Basic/Digest Authentication +- Elegant Key/Value Cookies +- Automatic Decompression +- Unicode Response Bodies +- HTTP(S) Proxy Support +- Multipart File Uploads +- Streaming Downloads +- Connection Timeouts +- Chunked Requests +- .netrc Support - * Keep-Alive & Connection Pooling - * International Domains and URLs - * Sessions with Cookie Persistence - * Browser-style SSL Verification - * Automatic Content Decoding - * Basic/Digest Authentication - * Elegant Key/Value Cookies - * Automatic Decompression - * Unicode Response Bodies - * HTTP(S) Proxy Support - * Multipart File Uploads - * Streaming Downloads - * Connection Timeouts - * Chunked Requests - * .netrc Support - -WWW: https://docs.python-requests.org/en/master/ +WWW: https://docs.python-requests.org/en/latest/ +WWW: https://github.com/psf/requests