summaryrefslogtreecommitdiff
path: root/dev-python/pytest-httpx
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pytest-httpx')
-rw-r--r--dev-python/pytest-httpx/Manifest2
-rw-r--r--dev-python/pytest-httpx/metadata.xml13
-rw-r--r--dev-python/pytest-httpx/pytest-httpx-0.36.2.ebuild40
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/pytest-httpx/Manifest b/dev-python/pytest-httpx/Manifest
new file mode 100644
index 000000000000..a3909f5faa09
--- /dev/null
+++ b/dev-python/pytest-httpx/Manifest
@@ -0,0 +1,2 @@
+DIST pytest_httpx-0.36.2.tar.gz 57683 BLAKE2B fe583d1e1cccb158ef760e969fb366b59baaa215d6679c784830b2acab3e91f196f3212f06d1cf824bf6fd85dbefc1d62fbc8f8150745dcc158d6d4dbf05c973 SHA512 545d0a7052d4ff01d5464d31fdefce903124ba383db814b170a1e6cb02b26450f01de2d9fa66b997315b66d33ce41f6ead5365c20c98141fd49f7430156713af
+DIST pytest_httpx-0.36.2.tar.gz.provenance 9780 BLAKE2B e88f79ed7245b3cee7ca3c17468405af55afe61bd4b4c6cc976b82d673a619e738b997fa9b5625f2af95fc2f788d67338a2e6e9bf43977d3dfb4afec5933fb77 SHA512 3af404436082fb5eef1f63d17daaa6f8dc73536775626080f5794137439fdf65329844dd6a6c47c05a64a1b5ec558303405d0dfe2a1fe5cd6ce7d8e888f956ce
diff --git a/dev-python/pytest-httpx/metadata.xml b/dev-python/pytest-httpx/metadata.xml
new file mode 100644
index 000000000000..5e4b12f325b3
--- /dev/null
+++ b/dev-python/pytest-httpx/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches />
+ <upstream>
+ <bugs-to>https://github.com/Colin-b/pytest_httpx/issues</bugs-to>
+ </upstream>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
diff --git a/dev-python/pytest-httpx/pytest-httpx-0.36.2.ebuild b/dev-python/pytest-httpx/pytest-httpx-0.36.2.ebuild
new file mode 100644
index 000000000000..b95ce283d201
--- /dev/null
+++ b/dev-python/pytest-httpx/pytest-httpx-0.36.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2022-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_VERIFY_REPO=https://github.com/Colin-b/pytest_httpx
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Send responses to HTTPX using pytest"
+HOMEPAGE="
+ https://colin-b.github.io/pytest_httpx/
+ https://github.com/Colin-b/pytest_httpx/
+ https://pypi.org/project/pytest-httpx/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
+
+RDEPEND="
+ >=dev-python/httpx-0.28[${PYTHON_USEDEP}]
+ >=dev-python/pytest-8[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+"
+
+EPYTEST_PLUGINS=( "${PN}" pytest-asyncio )
+EPYTEST_PLUGIN_LOAD_VIA_ENV=1
+distutils_enable_tests pytest
+
+src_prepare() {
+ distutils-r1_src_prepare
+
+ # unpin dependencies
+ sed -i -e '/==/{s:==:>=:;s:\.\*::}' pyproject.toml || die
+}