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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E877D15813A for ; Fri, 10 Jan 2025 20:44:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 360C7E0815; Fri, 10 Jan 2025 20:44:01 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 162ACE0815 for ; Fri, 10 Jan 2025 20:44:01 +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 2AB31340BE0 for ; Fri, 10 Jan 2025 20:44:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 469BD1FC0 for ; Fri, 10 Jan 2025 20:43:57 +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: <1736541825.fbbf6aa45defc36dff595f8432c60e9cdbd8683b.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/responses/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/responses/Manifest dev-python/responses/responses-0.25.5.ebuild X-VCS-Directories: dev-python/responses/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: fbbf6aa45defc36dff595f8432c60e9cdbd8683b X-VCS-Branch: master Date: Fri, 10 Jan 2025 20:43:57 +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: 06f46062-1a8f-4b43-9189-df585b079265 X-Archives-Hash: 0f4d1b298a70d13359b1d7a0e8c71072 commit: fbbf6aa45defc36dff595f8432c60e9cdbd8683b Author: Michał Górny gentoo org> AuthorDate: Fri Jan 10 19:55:20 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jan 10 20:43:45 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbbf6aa4 dev-python/responses: Bump to 0.25.5 Signed-off-by: Michał Górny gentoo.org> dev-python/responses/Manifest | 1 + dev-python/responses/responses-0.25.5.ebuild | 47 ++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/dev-python/responses/Manifest b/dev-python/responses/Manifest index caee0becbef5..fa6b85386c7c 100644 --- a/dev-python/responses/Manifest +++ b/dev-python/responses/Manifest @@ -1 +1,2 @@ DIST responses-0.25.3.tar.gz 77798 BLAKE2B c85ccca93bf24e392e33bffc697d657e1bdb1d733c36ba035dffb0e1185ad579e35b44c9342d257c3eec735ea789961ea37e739884511b0c5ef9ef88f344dd77 SHA512 f5691cb603174a06a8efebde3e64091a8b21005adc841dcfa83f2bb9aea0c0b8bd8a3d490cc579d77fd4a1106bbdd2f140da1d3c04cbcfd42a6d49c900618f47 +DIST responses-0.25.5.tar.gz 79099 BLAKE2B f945ac9ce60a46a598e675daab0cdffcf72edce0aa43e90082a2054f2978a1bafdf18cd9c5b6b7b3b7e2609eacb78ca0fba0e2152fd8101f1d6086c684b3a101 SHA512 327d2c7a6bafd9054e0450add98023e16a8f58a8c7a1c44b0493804e125813912a4f6ac613f6beb7e81983a0e9820609edfec2b62829d4cf65c86f7e95068a12 diff --git a/dev-python/responses/responses-0.25.5.ebuild b/dev-python/responses/responses-0.25.5.ebuild new file mode 100644 index 000000000000..20c4714b14ad --- /dev/null +++ b/dev-python/responses/responses-0.25.5.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Utility for mocking out the Python Requests library" +HOMEPAGE=" + https://pypi.org/project/responses/ + https://github.com/getsentry/responses/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# tomli backend is optional now, with pyyaml being the new default. +# However, keeping it unconditional here for backwards compatibility. +RDEPEND=" + dev-python/pyyaml[${PYTHON_USEDEP}] + =dev-python/requests-2.30.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) + dev-python/tomli-w[${PYTHON_USEDEP}] + =dev-python/urllib3-1.25.10[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-httpserver[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o asyncio_mode=auto -p asyncio -p pytest_httpserver +}