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 CDE5F15814C for ; Tue, 26 Sep 2023 04:42:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E2B1C2BC027; Tue, 26 Sep 2023 04:42:24 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 CC4562BC027 for ; Tue, 26 Sep 2023 04:42:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 smtp.gentoo.org (Postfix) with ESMTPS id 24F79335CEE for ; Tue, 26 Sep 2023 04:42:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6C728126B for ; Tue, 26 Sep 2023 04:42:21 +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: <1695703324.cbb2ce1d66bb8661c729b0fc3fe92fd4fb306528.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/elastic-transport/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/elastic-transport/Manifest dev-python/elastic-transport/elastic-transport-8.4.1.ebuild X-VCS-Directories: dev-python/elastic-transport/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: cbb2ce1d66bb8661c729b0fc3fe92fd4fb306528 X-VCS-Branch: master Date: Tue, 26 Sep 2023 04:42:21 +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: 936163bb-791a-4c9d-bda0-497a1fdfbf03 X-Archives-Hash: 4edfd39d98b3c2f6b1efbd2085dabed7 commit: cbb2ce1d66bb8661c729b0fc3fe92fd4fb306528 Author: Michał Górny gentoo org> AuthorDate: Tue Sep 26 03:55:12 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Sep 26 04:42:04 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbb2ce1d dev-python/elastic-transport: Bump to 8.4.1 Signed-off-by: Michał Górny gentoo.org> dev-python/elastic-transport/Manifest | 1 + .../elastic-transport-8.4.1.ebuild | 59 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/dev-python/elastic-transport/Manifest b/dev-python/elastic-transport/Manifest index e073f70eadc6..2075f7be01fb 100644 --- a/dev-python/elastic-transport/Manifest +++ b/dev-python/elastic-transport/Manifest @@ -1 +1,2 @@ DIST elastic-transport-8.4.0.gh.tar.gz 70975 BLAKE2B cec717606a55906da9157a0aaa3c656041201c2b62c77d42a67aabaad387c2e9f139dd1bd39e31b15f51fa2ac1b605d9f98b540000ee03d8aecf118cf972048a SHA512 82d0e0af3992335ce17bdc2a74f80fbf98bc9873d798be65f30d59fa55cb3bf50b55821133ea01d2ced9c27bf4019bac19e76e6853c29b87762ae0a9b593c3f5 +DIST elastic-transport-python-8.4.1.gh.tar.gz 71404 BLAKE2B 9d923362a6880685c6280aa9308089157c82ee570c2b608f2ed1398fec1e7946bad159a9bc74c1369a5042a30885948748014b0f5ee2362da83780b1a42d7f22 SHA512 50a3d60c00307659f51468e648a0c2cc7aa9be0b84df8fb2bbfea8c9f2d31fe568cbd9d4040c1aa174acc5d9902f45631a8a55e7950a7cf05fa26e0eef8bbd0e diff --git a/dev-python/elastic-transport/elastic-transport-8.4.1.ebuild b/dev-python/elastic-transport/elastic-transport-8.4.1.ebuild new file mode 100644 index 000000000000..4fc66262c545 --- /dev/null +++ b/dev-python/elastic-transport/elastic-transport-8.4.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 + +MY_P=elastic-transport-python-${PV} +DESCRIPTION="Transport classes and utilities shared among Python Elastic client libraries" +HOMEPAGE=" + https://github.com/elastic/elastic-transport-python/ + https://pypi.org/project/elastic-transport/ +" +SRC_URI=" + https://github.com/elastic/elastic-transport-python/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=" + dev-python/certifi[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.26.2[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND=" + test? ( + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-httpserver[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/sphinx \ + dev-python/furo \ + dev-python/sphinx-autodoc-typehints +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # fragile to random warnings + tests/node/test_http_aiohttp.py::TestAiohttpHttpNode::test_uses_https_if_verify_certs_is_off + tests/node/test_urllib3_chain_certs.py::test_assert_fingerprint_in_cert_chain + ) + + epytest -o addopts= +}