diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:47:34 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:47:34 -0500 |
| commit | dda948891d3731927b821ce31f9d9a2d03ba20c5 (patch) | |
| tree | 99cd40be4cbb0606260da212cd81b8ab2db9da9b /dev-python/respx | |
| parent | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (diff) | |
| download | baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.tar.gz baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.tar.xz baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.zip | |
Adding metadata
Diffstat (limited to 'dev-python/respx')
| -rw-r--r-- | dev-python/respx/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/respx/metadata.xml | 17 | ||||
| -rw-r--r-- | dev-python/respx/respx-0.23.1.ebuild | 44 |
3 files changed, 62 insertions, 0 deletions
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 @@ +<?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> + </maintainer> + <maintainer type="person"> + <email>parona@protonmail.com</email> + <name>Alfred Wingate</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <stabilize-allarches /> + <origin>baldeagleos-repo</origin> +</pkgmetadata> 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= +} |
