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 B0ECB158003 for ; Sat, 26 Feb 2022 18:00:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D8872E0788; Sat, 26 Feb 2022 18:00:04 +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 B1BBAE0788 for ; Sat, 26 Feb 2022 18:00:04 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ADFA2335C47 for ; Sat, 26 Feb 2022 18:00:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 26071315 for ; Sat, 26 Feb 2022 17:59:58 +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: <1645898393.e0a5eb36b651a52f482f43c362f811b795534087.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/aioresponses/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/aioresponses/aioresponses-0.7.3-r1.ebuild X-VCS-Directories: dev-python/aioresponses/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e0a5eb36b651a52f482f43c362f811b795534087 X-VCS-Branch: master Date: Sat, 26 Feb 2022 17:59:58 +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: 73df4368-1474-436a-b9fc-23e446d4c6d1 X-Archives-Hash: 9cc433ac1bc2885620f1a9e96be1b75d commit: e0a5eb36b651a52f482f43c362f811b795534087 Author: Michał Górny gentoo org> AuthorDate: Sat Feb 26 17:58:15 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Feb 26 17:59:53 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0a5eb36 dev-python/aioresponses: Migrate to PEP517 build Signed-off-by: Michał Górny gentoo.org> .../aioresponses/aioresponses-0.7.3-r1.ebuild | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/dev-python/aioresponses/aioresponses-0.7.3-r1.ebuild b/dev-python/aioresponses/aioresponses-0.7.3-r1.ebuild new file mode 100644 index 000000000000..be27317991b0 --- /dev/null +++ b/dev-python/aioresponses/aioresponses-0.7.3-r1.ebuild @@ -0,0 +1,36 @@ +# 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="Helper to mock/fake web requests in Python's aiohttp package" +HOMEPAGE="https://github.com/pnuckowski/aioresponses" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/aiohttp[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/pbr[${PYTHON_USEDEP}] + test? ( + dev-python/ddt[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # These tests require Internet access + tests/test_aioresponses.py::AIOResponsesTestCase::test_address_as_instance_of_url_combined_with_pass_through + tests/test_aioresponses.py::AIOResponsesTestCase::test_pass_through_with_origin_params +)