From b590c8d7572b727d565cc0b8ff660d43569845de Mon Sep 17 00:00:00 2001 From: root Date: Fri, 12 Jun 2026 19:09:37 -0500 Subject: Adding metadata --- dev-python/respx/Manifest | 1 + dev-python/respx/metadata.xml | 17 ++++++++++++++ dev-python/respx/respx-0.23.1.ebuild | 44 ++++++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+) create mode 100644 dev-python/respx/Manifest create mode 100644 dev-python/respx/metadata.xml create mode 100644 dev-python/respx/respx-0.23.1.ebuild (limited to 'dev-python/respx') diff --git a/dev-python/respx/Manifest b/dev-python/respx/Manifest new file mode 100644 index 000000000000..ae3aadcc3182 --- /dev/null +++ b/dev-python/respx/Manifest @@ -0,0 +1 @@ +DIST respx-0.23.1.gh.tar.gz 433870 BLAKE2B 8f7985ed964ef397f10eb343c777c2b140d1df1e2cd4481309d7229c2f77e61506bb3d59c9dc050ce02fad2d1f2b59186d1681c8dabcf710f580acdfe55c73d0 SHA512 eff24c815b91c757435c211ec6c1ee5478729ddf21f03c88b19242ed3f70ea3ffe95fa1b07f6e5afed3eb36f5bf283ba2a875451257fa65a2b6a20eec220efe0 diff --git a/dev-python/respx/metadata.xml b/dev-python/respx/metadata.xml new file mode 100644 index 000000000000..186ce443d178 --- /dev/null +++ b/dev-python/respx/metadata.xml @@ -0,0 +1,17 @@ + + + + + python@gentoo.org + + + parona@protonmail.com + Alfred Wingate + + + proxy-maint@gentoo.org + Proxy Maintainers + + + baldeagleos-repo + diff --git a/dev-python/respx/respx-0.23.1.ebuild b/dev-python/respx/respx-0.23.1.ebuild new file mode 100644 index 000000000000..37f09389df99 --- /dev/null +++ b/dev-python/respx/respx-0.23.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="Mock HTTPX with awesome request patterns and response side effects" +HOMEPAGE=" + https://lundberg.github.io/respx/ + https://pypi.org/project/respx/ + https://github.com/lundberg/respx/ +" +# no tests in pypi sdist +SRC_URI=" + https://github.com/lundberg/respx/archive/refs/tags/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 arm64 x86" + +RDEPEND=" + >=dev-python/httpx-0.28.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/flask[${PYTHON_USEDEP}] + dev-python/httpcore[${PYTHON_USEDEP}] + dev-python/starlette[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest + +python_test() { + epytest -o addopts= +} -- cgit v1.3