diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-21 06:30:52 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-21 06:30:52 +0000 |
commit | d2bcdab82e5f5f38a8ab54026e8aa94edb1b77a6 (patch) | |
tree | 0d75edaef0b7c0db490d25119f6b17b386d41c58 /dev-python/respx | |
parent | 9097a9c06c0b1e11c7f6579f03e3f32948be3f24 (diff) |
gentoo auto-resync : 21:12:2024 - 06:30:51
Diffstat (limited to 'dev-python/respx')
-rw-r--r-- | dev-python/respx/Manifest | 2 | ||||
-rw-r--r-- | dev-python/respx/respx-0.22.0-r1.ebuild | 44 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/respx/Manifest b/dev-python/respx/Manifest index 9a310c77444d..f9d2856cac5a 100644 --- a/dev-python/respx/Manifest +++ b/dev-python/respx/Manifest @@ -1,3 +1,5 @@ DIST respx-0.21.1.gh.tar.gz 432341 BLAKE2B b375e8bc9370e13855197487e1e8139cf3fede0f03d7ad034ef2c78bce5ad95d3cb8cc7440c2566d188a98a52d0068c13288c7d4ec802e04d2f269a64e1ce326 SHA512 156f34f4635012230b68812f24978136f37f96dc0cf0ea9e80ed2d6a3e0639eb7591ed34933f75d5cda32993852aa034b22389af0fed341ab4ad1002482f2e9c +DIST respx-0.22.0.gh.tar.gz 432547 BLAKE2B 60fb516b3793faeea8f236c3ccfae7dcf20087eb8af8f1fb8c128de454b9fa395f4c7ed6fc5c94c59eff225525de6bc7c2b89bedf882028076fa9fb668a46ac9 SHA512 3cc84edced79475764b00369b5926bb5a74627b3f0c966fdf4e96a1a5944b8ea2fccaa39f77ebde62324762cb4ff5e0b611c910093fc3010e8c8e1dbbbe678e3 EBUILD respx-0.21.1-r1.ebuild 1023 BLAKE2B fb83fb63217814f0554168327db064376a69ec99a417d4aaea0f64a8e0174c859238fb1ee433809e4c7857a0d19d1f9c99732830ef4dd092c9833a051f30702b SHA512 bf2138fc102c324a1b80364bc9f1afde9315f21afc4afa23eafc7dfdcc0a3f6098105ddc439fc6b09141fa3964d5f4f58efa8dc2d350ee6489e9cd03b7d12c82 +EBUILD respx-0.22.0-r1.ebuild 947 BLAKE2B fbb03b915931cec5af174841a586bb62ac2e7ba6c6989a452cfb7231021f5c5777d1f0e7ad15b5c49a560e2b070d51ab186977f9c72c2a4ae33596fffeb3ea98 SHA512 6d89cfea37f245d00df235027992395ba4107a9a3ee1ccf23fe322590ae85d6f497736d6f611f44e47da2bda2ee74bffb4ffa346d1ee34fc7c9211c7e6f47206 MISC metadata.xml 610 BLAKE2B 3e77efa934fcb00a190e062741e0233a1c9f99619c612efa02e797f133661523b408fec5bda914a6180808370faec6e8928c2c77aa71ed9d4124b8933f7a62e8 SHA512 9fdc4f2a5f0fd9e6095123729fc030ed2baeafd975094a0fc24baae33dcddc08cd59f8ece99196a0fb64a2cad4bbf898a4817a0126d08e3d2b5309fc13d9ca7e diff --git a/dev-python/respx/respx-0.22.0-r1.ebuild b/dev-python/respx/respx-0.22.0-r1.ebuild new file mode 100644 index 000000000000..0c70c55a4901 --- /dev/null +++ b/dev-python/respx/respx-0.22.0-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 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 ~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/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= +} |