commit: 293984f6e9a67ab2abb711be913af7b819c4d45c
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 25 06:35:39 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb 25 07:51:26 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=293984f6
dev-python/pytest-httpserver: Bump to 1.1.2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pytest-httpserver/Manifest | 1 +
.../pytest-httpserver-1.1.2.ebuild | 39 ++++++++++++++++++++++
2 files changed, 40 insertions(+)
diff --git a/dev-python/pytest-httpserver/Manifest
b/dev-python/pytest-httpserver/Manifest
index d5c22f5de3d7..f6413c561cff 100644
--- a/dev-python/pytest-httpserver/Manifest
+++ b/dev-python/pytest-httpserver/Manifest
@@ -1 +1,2 @@
DIST pytest_httpserver-1.1.1.tar.gz 68190 BLAKE2B
80fec2aaa84f5625e6a67400153efc002f4586e0878745980fbb2f2c6bd82f5d6230284483a8ce7e501f51a5bd732dfd777d96183cfb83c793c347761e5eddb6
SHA512
3d212cb230ee5be5b1fb450944a9fa56396b692c8fd8a63fca71045640865657fd110a657ec0eb2e24c4d2fb43bfc5997fd056a107b7a6ce573dad4e914b7004
+DIST pytest_httpserver-1.1.2.tar.gz 68602 BLAKE2B
e828c4beb2d3b100d2d5e30ad9947a1376be6372d4b9663e9d7d0885aab133baea66d2be9d4549a0c738973e9e809674ebfa6544e059da8772a69428f07cac88
SHA512
18c02bec035c6ac01830c0450b0729f1cc6fe27741cb56c792094887183dc088328465bce8bf118661803b1f27154cc85d847abbecac67e41f8d11e44caf4a5b
diff --git a/dev-python/pytest-httpserver/pytest-httpserver-1.1.2.ebuild
b/dev-python/pytest-httpserver/pytest-httpserver-1.1.2.ebuild
new file mode 100644
index 000000000000..86abdba48557
--- /dev/null
+++ b/dev-python/pytest-httpserver/pytest-httpserver-1.1.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="HTTP server for pytest to test HTTP clients"
+HOMEPAGE="
+ https://github.com/csernazs/pytest-httpserver/
+ https://pypi.org/project/pytest_httpserver/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ dev-python/werkzeug[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/requests[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_IGNORE=(
+ # tests from building release artifacts
+ tests/test_release.py
+ )
+
+ epytest -p no:localserver
+}