commit: 5b4da6cd1854b9922c44c341924dfe16936ed27d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 12 05:22:24 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Aug 12 05:38:55 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b4da6cd
dev-python/pytest-httpx: Bump to 0.12.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pytest-httpx/Manifest | 1 +
dev-python/pytest-httpx/pytest-httpx-0.12.1.ebuild | 29 ++++++++++++++++++++++
2 files changed, 30 insertions(+)
diff --git a/dev-python/pytest-httpx/Manifest b/dev-python/pytest-httpx/Manifest
index 3e2b3f64d07..bf6dc4cb4fd 100644
--- a/dev-python/pytest-httpx/Manifest
+++ b/dev-python/pytest-httpx/Manifest
@@ -1 +1,2 @@
DIST pytest-httpx-0.12.0.tar.gz 21319 BLAKE2B
59c3678937a7756f13971e3f1f8d312b227f56339b4234ac8e5544f4370622bcff401f76f68c2ee042fdc64deae6a7a9dd05ca8a54b60b14bfb74b2d2d724de4
SHA512
b5866ab0123755020fad679d27d4d113132b2a79da85c52a334904d19aea90ddc71088a6e0f27110498da2731be664c525f3cab256d447a37d9a507f9a508b43
+DIST pytest-httpx-0.12.1.tar.gz 21422 BLAKE2B
6336a79d3aedbba7ec32fdafc6ed6fd70a24354adcdd3803af73522f9eb2d5bb1ac51364c107d3ca663f2c627a29fa9d3b0c12ba1bcba94259932a36c7695ed4
SHA512
959906c366b3cfc4d3df46773888f1da0c65ca4a9d31de302c859a61a71f10df5712b058bf89132756028eda15c35241aa245bc708d69560a0d3a80f9fa1e814
diff --git a/dev-python/pytest-httpx/pytest-httpx-0.12.1.ebuild
b/dev-python/pytest-httpx/pytest-httpx-0.12.1.ebuild
new file mode 100644
index 00000000000..ce7fceeea82
--- /dev/null
+++ b/dev-python/pytest-httpx/pytest-httpx-0.12.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+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.18*[${PYTHON_USEDEP}]
+ =dev-python/pytest-6*[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests --install pytest