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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CD81D1394FD for ; Sun, 15 Aug 2021 21:38:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A14AE0968; Sun, 15 Aug 2021 02:23:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3EBEBE0968 for ; Sun, 15 Aug 2021 02:23:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E2A123437B6 for ; Sun, 15 Aug 2021 02:23:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1BBFF7A2 for ; Sun, 15 Aug 2021 02:23:18 +0000 (UTC) From: "Louis Sautier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Louis Sautier" Message-ID: <1628994157.6a48083ab47f71d17bf0be313c6c1bbda17f8571.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/aioresponses/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/aioresponses/Manifest dev-python/aioresponses/aioresponses-0.7.2.ebuild dev-python/aioresponses/metadata.xml X-VCS-Directories: dev-python/aioresponses/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: 6a48083ab47f71d17bf0be313c6c1bbda17f8571 X-VCS-Branch: master Date: Sun, 15 Aug 2021 02:23:18 +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: 2358a394-d630-43d6-8ed2-d853e818c6cb X-Archives-Hash: bd7932c6544739b2e9ac725b90721f04 commit: 6a48083ab47f71d17bf0be313c6c1bbda17f8571 Author: Louis Sautier gentoo org> AuthorDate: Sun Aug 15 00:16:35 2021 +0000 Commit: Louis Sautier gentoo org> CommitDate: Sun Aug 15 02:22:37 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a48083a dev-python/aioresponses: new package, test dep. of zeep, v0.7.2 Signed-off-by: Louis Sautier gentoo.org> dev-python/aioresponses/Manifest | 1 + dev-python/aioresponses/aioresponses-0.7.2.ebuild | 36 +++++++++++++++++++++++ dev-python/aioresponses/metadata.xml | 14 +++++++++ 3 files changed, 51 insertions(+) diff --git a/dev-python/aioresponses/Manifest b/dev-python/aioresponses/Manifest new file mode 100644 index 00000000000..542a81edf4e --- /dev/null +++ b/dev-python/aioresponses/Manifest @@ -0,0 +1 @@ +DIST aioresponses-0.7.2.tar.gz 28135 BLAKE2B 300d06ed43ad81d61fe9cab4002b9e9bb062a48aabed8aed21e3a8e26d8e153546ed079e6dda6ef26c6df2e843663ed9e02b2855ac71e011b873da926923a72d SHA512 847c687990c38733c714cfd7b4f268406392aeea6764f084dae25f43246b7b5731f149067fb921864b1b22c9e7b2ca66254ff311d726333d0b23a5566ab18029 diff --git a/dev-python/aioresponses/aioresponses-0.7.2.ebuild b/dev-python/aioresponses/aioresponses-0.7.2.ebuild new file mode 100644 index 00000000000..c625c0e4446 --- /dev/null +++ b/dev-python/aioresponses/aioresponses-0.7.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 + +python_test() { + local 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 + ) + epytest ${deselect[@]/#/--deselect } +} diff --git a/dev-python/aioresponses/metadata.xml b/dev-python/aioresponses/metadata.xml new file mode 100644 index 00000000000..e69264d391f --- /dev/null +++ b/dev-python/aioresponses/metadata.xml @@ -0,0 +1,14 @@ + + + + + python@gentoo.org + Python + + + + aioresponses + pnuckowski/aioresponses + https://github.com/pnuckowski/aioresponses/issues + +