summaryrefslogtreecommitdiff
path: root/dev-python/pytest-httpserver
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-04-11 06:43:20 +0200
committerMichał Górny <mgorny@gentoo.org>2025-04-11 06:44:00 +0200
commit4bffb986205e2f44977bdae1066ec5e21b73ff4c (patch)
treef1a71eb35d2f7a0506208cfceb1640ab1b53f270 /dev-python/pytest-httpserver
parent48fcc33520346e93fffb2e6bfa165aa353c6ef4d (diff)
downloadgentoo-4bffb986205e2f44977bdae1066ec5e21b73ff4c.tar.gz
gentoo-4bffb986205e2f44977bdae1066ec5e21b73ff4c.tar.bz2
gentoo-4bffb986205e2f44977bdae1066ec5e21b73ff4c.zip
dev-python/pytest-httpserver: Bump to 1.1.3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pytest-httpserver')
-rw-r--r--dev-python/pytest-httpserver/Manifest1
-rw-r--r--dev-python/pytest-httpserver/pytest-httpserver-1.1.3.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/pytest-httpserver/Manifest b/dev-python/pytest-httpserver/Manifest
index 2550574650b2..8f17ce3c15de 100644
--- a/dev-python/pytest-httpserver/Manifest
+++ b/dev-python/pytest-httpserver/Manifest
@@ -1 +1,2 @@
DIST pytest_httpserver-1.1.2.tar.gz 68602 BLAKE2B e828c4beb2d3b100d2d5e30ad9947a1376be6372d4b9663e9d7d0885aab133baea66d2be9d4549a0c738973e9e809674ebfa6544e059da8772a69428f07cac88 SHA512 18c02bec035c6ac01830c0450b0729f1cc6fe27741cb56c792094887183dc088328465bce8bf118661803b1f27154cc85d847abbecac67e41f8d11e44caf4a5b
+DIST pytest_httpserver-1.1.3.tar.gz 68870 BLAKE2B 44d4983f6845c76d4b5355e7dd070a542c040ef41501c96fd4812e180a807947d66cb43e4f38f4f7243d04c9080c03ec1ba3fc17e8d9af97b37cc622761f026f SHA512 502b7f0e3904746277ddd6007fea4f3920d402534855917a5d471ed7ce55c4aacdbb3c24d2cec349c29a128fc28e35f540373165c9de79c3ccb2ce7a9f28ba9b
diff --git a/dev-python/pytest-httpserver/pytest-httpserver-1.1.3.ebuild b/dev-python/pytest-httpserver/pytest-httpserver-1.1.3.ebuild
new file mode 100644
index 000000000000..86abdba48557
--- /dev/null
+++ b/dev-python/pytest-httpserver/pytest-httpserver-1.1.3.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
+}