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 2AB0513835A for ; Wed, 24 Feb 2021 00:06:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2A2A4E081E; Wed, 24 Feb 2021 00:06:58 +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 D69ECE0827 for ; Wed, 24 Feb 2021 00:06:57 +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 DE2ED335D3E for ; Wed, 24 Feb 2021 00:06:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3D373503 for ; Wed, 24 Feb 2021 00:06:55 +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: <1614125095.b2d614f1f8b5fc6ddb541e2cfe9319cc4b5ed34e.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-httpx/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pytest-httpx/Manifest dev-python/pytest-httpx/metadata.xml dev-python/pytest-httpx/pytest-httpx-0.10.1.ebuild X-VCS-Directories: dev-python/pytest-httpx/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: b2d614f1f8b5fc6ddb541e2cfe9319cc4b5ed34e X-VCS-Branch: master Date: Wed, 24 Feb 2021 00:06:55 +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: 24d7a75f-882b-45d8-b994-36b0dd58a348 X-Archives-Hash: 90a2e75e488b84d664de0ce801fa584f commit: b2d614f1f8b5fc6ddb541e2cfe9319cc4b5ed34e Author: Louis Sautier gentoo org> AuthorDate: Tue Feb 23 18:04:17 2021 +0000 Commit: Louis Sautier gentoo org> CommitDate: Wed Feb 24 00:04:55 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2d614f1 dev-python/pytest-httpx: new package, version 0.10.1 New test dependency of dev-python/denonavr. Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Louis Sautier gentoo.org> dev-python/pytest-httpx/Manifest | 1 + dev-python/pytest-httpx/metadata.xml | 13 ++++++++++ dev-python/pytest-httpx/pytest-httpx-0.10.1.ebuild | 30 ++++++++++++++++++++++ 3 files changed, 44 insertions(+) diff --git a/dev-python/pytest-httpx/Manifest b/dev-python/pytest-httpx/Manifest new file mode 100644 index 00000000000..9a409c04b65 --- /dev/null +++ b/dev-python/pytest-httpx/Manifest @@ -0,0 +1 @@ +DIST pytest-httpx-0.10.1.tar.gz 21117 BLAKE2B 372ecc8a132f28bf7016ed466c4f6974f51c3c2ab9decd68fd8e3c7a810030db9f169f5ab28662cfed006297ea200d3a157ba220f2156b44be03fbf49edc5415 SHA512 f306e57408924b653d3ab4dd28f266b066f202b98440b31769940bdab0be98d5c48817e22d68e2dcdf82426e26334242591d0ae630aa71812f81dd7866b81e0f diff --git a/dev-python/pytest-httpx/metadata.xml b/dev-python/pytest-httpx/metadata.xml new file mode 100644 index 00000000000..18982ca4344 --- /dev/null +++ b/dev-python/pytest-httpx/metadata.xml @@ -0,0 +1,13 @@ + + + + + python@gentoo.org + Python + + + pytest-httpx + Colin-b/pytest_httpx + https://github.com/Colin-b/pytest_httpx/issues + + diff --git a/dev-python/pytest-httpx/pytest-httpx-0.10.1.ebuild b/dev-python/pytest-httpx/pytest-httpx-0.10.1.ebuild new file mode 100644 index 00000000000..b2f04c25ff3 --- /dev/null +++ b/dev-python/pytest-httpx/pytest-httpx-0.10.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +inherit distutils-r1 + +MY_PN="${PN/-/_}" +DESCRIPTION="Send responses to HTTPX using pytest" +HOMEPAGE="https://colin-b.github.io/pytest_httpx/" +SRC_URI="https://github.com/Colin-b/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + =dev-python/httpx-0.16*[${PYTHON_USEDEP}] + =dev-python/pytest-6*[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests --install pytest