dev-python/respx: re-add 0.21.1-r1 from main

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2025-02-19 11:06:52 +01:00
parent 94de56246c
commit 91847e097d
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 52 additions and 4 deletions

View File

@ -606,14 +606,14 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 2346 Ebuilds in total, 2332 of them have in total 2372 (43 different) licenses assigned.
There are 2347 Ebuilds in total, 2333 of them have in total 2373 (43 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1333|
|Apache-2.0|553|
|GPL-3|145|
|BSD|123|
|BSD|124|
|GPL-2|27|
|LGPL-3|23|
|BSD-2|19|

View File

@ -1,3 +1,5 @@
DIST respx-0.21.0.tar.gz 28133 BLAKE2B f32c8402632e6895b90e8d6564dcb57eb6d8f83ee081b0db6c3335433b00c9050b33e843bd1aee37cd5e90c2a6f5a07ea4f94fde6e801f2ab03e488ff65fc928 SHA512 3bafe34cf1ad674e0b565d0996d2656789b08c21a99f06d0bea395e5676e9be05ac3d517e1f2e01243c385783272687dacfcb6a29b3af42cbe66bb9678e76918
EBUILD respx-0.21.0.ebuild 564 BLAKE2B 52ebe2f563e56263517967d2aeec30983d2e6851ccf8ca90b7d04ffb847f0c12b150e77b1de1166d11e94c68734c69e998937edd2475570a7e16ed935ab2689b SHA512 a125935c2cd87c8eb74811ecdfc8357aacd963c991e63958a922f4b76ffa642f2f7b67962e868aff09c7c83d17fc4d118964f22ec951e647ecca11c7b0c0329b
DIST respx-0.21.1.gh.tar.gz 432341 BLAKE2B b375e8bc9370e13855197487e1e8139cf3fede0f03d7ad034ef2c78bce5ad95d3cb8cc7440c2566d188a98a52d0068c13288c7d4ec802e04d2f269a64e1ce326 SHA512 156f34f4635012230b68812f24978136f37f96dc0cf0ea9e80ed2d6a3e0639eb7591ed34933f75d5cda32993852aa034b22389af0fed341ab4ad1002482f2e9c
EBUILD respx-0.21.0.ebuild 564 BLAKE2B d4c959097718e68267aab4e36b7935c9bf5a45f09e181e54567604d961e66b36c45085d530a0c716dab3abd855215ebb476d216f6b88709c19854a0893c7a9e2 SHA512 d3487857bdf2eddc6f443db82f8488fed2f23625e673946de8181d738bb1cebe3a6c91b83505954c474d90b53baa20d60d6fa1c5c01109ceee83fdce61778e27
EBUILD respx-0.21.1-r1.ebuild 1032 BLAKE2B 818c72b4433bec830c08357d00f6a8da28bbab95c203b3f4601c64429c56c94fc54a4bb07eaa64ec50a1ebe5bb1e2f21362a019d7e6a849bcd316b6775a35303 SHA512 506b388cc86a88f29e88bb548f015e071e7de692b0ed6f58f6415779757993c9cd5a3a0cb7cb97b7b17dd7e92be3ccdd5820d6d33f44fb974be50591feffef22
MISC metadata.xml 505 BLAKE2B aa6f8c72fb543b60cef233dc7554befef7d7bff367388fdbd8b2cb1626c61e492b5990f341ba2a9388ffed8c73c2dafc6c4b12277c5a8a3dde33650bf8039044 SHA512 1a88f2f5d95a5cd63920a9bba3072af463fb15edb8ce6eac93c2fc06dd1ff4283ae320f319f6982e1ad4b6d63e7e8d29daa967911d3b62326246c2d6fd4a79e9

View File

@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{11..12} )
PYTHON_COMPAT=( python3_{11..13} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi

View File

@ -0,0 +1,46 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
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 arm arm64 x86"
# https://bugs.gentoo.org/945735
# https://github.com/lundberg/respx/issues/277
RDEPEND="
<dev-python/httpx-0.28.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/flask[${PYTHON_USEDEP}]
dev-python/httpcore[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/starlette[${PYTHON_USEDEP}]
dev-python/trio[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_test() {
epytest -p 'no:*' -p asyncio -o addopts=
}