From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9D536158094 for ; Tue, 21 Jun 2022 06:00:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C568FE08AD; Tue, 21 Jun 2022 06:00:05 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 90384E08AD for ; Tue, 21 Jun 2022 06:00:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6633434123B for ; Tue, 21 Jun 2022 06:00:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A867A50E for ; Tue, 21 Jun 2022 06:00:01 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1655791198.5e9403e9364c5e91f61f5a557c39e11d2f9c6c43.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/geventhttpclient/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/geventhttpclient/Manifest dev-python/geventhttpclient/geventhttpclient-1.5.4.ebuild dev-python/geventhttpclient/metadata.xml X-VCS-Directories: dev-python/geventhttpclient/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 5e9403e9364c5e91f61f5a557c39e11d2f9c6c43 X-VCS-Branch: master Date: Tue, 21 Jun 2022 06:00:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bd7b18b3-3377-4a28-9bdb-318d954f9666 X-Archives-Hash: 85817c297c516fc633b4a6847a5fc654 commit: 5e9403e9364c5e91f61f5a557c39e11d2f9c6c43 Author: Michał Górny gentoo org> AuthorDate: Tue Jun 21 05:15:53 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Jun 21 05:59:58 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e9403e9 dev-python/geventhttpclient: Bump to 1.5.4 Signed-off-by: Michał Górny gentoo.org> dev-python/geventhttpclient/Manifest | 1 + .../geventhttpclient/geventhttpclient-1.5.4.ebuild | 52 ++++++++++++++++++++++ dev-python/geventhttpclient/metadata.xml | 4 +- 3 files changed, 55 insertions(+), 2 deletions(-) diff --git a/dev-python/geventhttpclient/Manifest b/dev-python/geventhttpclient/Manifest index 191fcf5dc10d..471a605c3854 100644 --- a/dev-python/geventhttpclient/Manifest +++ b/dev-python/geventhttpclient/Manifest @@ -1 +1,2 @@ DIST geventhttpclient-1.5.3.tar.gz 58447 BLAKE2B a1cf529c6d40ee81ebe17cb066f2d837cf3d5ce2511bb735c1a63503b612c98c17c91f08de99d604c9ff6ebfa7e6502c338e7fbbc86de954ae7e559966aa8006 SHA512 9a0ed907f73f7f5ff8675502ef6fc82bff7b543d0a2d22e1eca5aba3592675a87fe09c48981f496b7f63a660e7eab5f68801ae74da8c33ac9d9bf55a0425eed1 +DIST geventhttpclient-1.5.4.tar.gz 59551 BLAKE2B d1bda5315a92afeb408f33043c8ccf5911d6519dbe50266688f0b123fd92a95f1cb9cea449676117ea051af1400c656fe47d241b6e4e03803dc017806b5e0be4 SHA512 10d9ace4a555a5c39d8b737d96484041f9e704df41b8a3cca3b05b3c9ccb30d0490d154fa47a45edcad762a2e0807ca89425ed484275ee1b3098f0094fd6d166 diff --git a/dev-python/geventhttpclient/geventhttpclient-1.5.4.ebuild b/dev-python/geventhttpclient/geventhttpclient-1.5.4.ebuild new file mode 100644 index 000000000000..d4807ee44f57 --- /dev/null +++ b/dev-python/geventhttpclient/geventhttpclient-1.5.4.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="A high performance, concurrent HTTP client library for Python using gevent" +HOMEPAGE=" + https://github.com/geventhttpclient/geventhttpclient/ + https://pypi.org/project/geventhttpclient/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND=" + app-arch/brotli[python,${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] + dev-python/gevent[events(+),${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # Avoid ModuleNotFoundError for tests we skip later + sed -i '/^import dpkt.ssl/d' src/geventhttpclient/tests/test_ssl.py || die + distutils-r1_python_prepare_all +} + +python_test() { + local EPYTEST_DESELECT=( + # These SNI tests require dpkt which is not in the tree + src/geventhttpclient/tests/test_ssl.py::test_implicit_sni_from_host_in_ssl + src/geventhttpclient/tests/test_ssl.py::test_implicit_sni_from_header_in_ssl + src/geventhttpclient/tests/test_ssl.py::test_explicit_sni_in_ssl + ) + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # Skip tests which require internet access + epytest -m "not online" +} diff --git a/dev-python/geventhttpclient/metadata.xml b/dev-python/geventhttpclient/metadata.xml index e16d44999f05..f7551c444a51 100644 --- a/dev-python/geventhttpclient/metadata.xml +++ b/dev-python/geventhttpclient/metadata.xml @@ -11,7 +11,7 @@ geventhttpclient - gwik/geventhttpclient - https://github.com/gwik/geventhttpclient/issues + geventhttpclient/geventhttpclient + https://github.com/geventhttpclient/geventhttpclient/issues