summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-05-17 05:25:42 +0200
committerMichał Górny <mgorny@gentoo.org>2023-05-17 05:33:24 +0200
commitd4d154010344f880e912ff6a0b6668fe9d967fc6 (patch)
tree19b9596f1e50902ec5535012da34ccbe2b15c8c2 /dev-python/pytest-httpserver
parentdev-python/mkdocs-material: Bump to 9.1.13 (diff)
downloadgentoo-d4d154010344f880e912ff6a0b6668fe9d967fc6.tar.gz
gentoo-d4d154010344f880e912ff6a0b6668fe9d967fc6.tar.bz2
gentoo-d4d154010344f880e912ff6a0b6668fe9d967fc6.zip
dev-python/pytest-httpserver: Bump to 1.0.7
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.0.7.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/pytest-httpserver/Manifest b/dev-python/pytest-httpserver/Manifest
index 21a5b68886ac..02c9b7c46acc 100644
--- a/dev-python/pytest-httpserver/Manifest
+++ b/dev-python/pytest-httpserver/Manifest
@@ -1 +1,2 @@
DIST pytest-httpserver-1.0.6.gh.tar.gz 83737 BLAKE2B d0db97227bcb3336a4bd944cf26e2d3e96132baee5991cdff901a1f546174e977b6472458911fc6b92bb13b6d3dae499e0bf3507be265385601e838c4781f0a3 SHA512 5eacfbf159f3a09d73f54da8f3ff885b8d2138e430af27df6039a30e63d7ebcbcf088efe8e7fa56ed50b66ea5b7e3ad7a61c0e8a57d5cb100c2a063df7b6f5c4
+DIST pytest_httpserver-1.0.7.tar.gz 60065 BLAKE2B a3e523adfa5597b8d2a0850c0f3992fc829cf371fef812e7386f256acd4ae50925bc5c5d2ea2f77fdd4b8499357c060a64076fc8cca9d66bb689028715ac1422 SHA512 21fb81350ad24e0e59322d7530025e0859c59c62ef0eb6248dbd044ce893fd4c5fa0bc691741578a3d7fa6801dc5c80bc56b10baafff2c1abd480d4c994c93c7
diff --git a/dev-python/pytest-httpserver/pytest-httpserver-1.0.7.ebuild b/dev-python/pytest-httpserver/pytest-httpserver-1.0.7.ebuild
new file mode 100644
index 000000000000..842fa75ebaed
--- /dev/null
+++ b/dev-python/pytest-httpserver/pytest-httpserver-1.0.7.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{10..11} pypy3 )
+
+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 ~ia64 ~loong ~m68k ~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
+}