summaryrefslogtreecommitdiff
path: root/dev-python/pytest-httpserver
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-13 11:06:03 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-13 11:06:03 +0100
commitbe8708090362c01c6111c4b76f1e395c14d86e00 (patch)
treebb61ca73e867522450783849eb63c9e1f0ba1730 /dev-python/pytest-httpserver
parente93a38d535f2c29b55a5756d2de99425986b0bf3 (diff)
gentoo auto-resync : 13:08:2024 - 11:06:03
Diffstat (limited to 'dev-python/pytest-httpserver')
-rw-r--r--dev-python/pytest-httpserver/Manifest2
-rw-r--r--dev-python/pytest-httpserver/pytest-httpserver-1.1.0.ebuild39
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/pytest-httpserver/Manifest b/dev-python/pytest-httpserver/Manifest
index 97e870d00111..6fe0b7084d27 100644
--- a/dev-python/pytest-httpserver/Manifest
+++ b/dev-python/pytest-httpserver/Manifest
@@ -1,3 +1,5 @@
DIST pytest_httpserver-1.0.12.tar.gz 66948 BLAKE2B b50871038b1c313db76c456e86bfe82046bcb8207cb72126db18bde5dea4e3cabb6740a19d27eba672967078f60978c1b20946bf502837e0859d957d0318afeb SHA512 fd3d290b23137d0c2893672611e7087e86ed47ccda865779304d177ac2ef6e0068321eb42f42ec89db859fb66910ad68399d3a4aefde250bd207ab9ff4666e3e
+DIST pytest_httpserver-1.1.0.tar.gz 67210 BLAKE2B 2965ad0f33a4312439b6af57cb4f53586e6707fbb9f55db1f766b147118a646aa3f0a338c2b693f44b9ae5a5184c94aea245f0af868d929770b54138edf7b70b SHA512 3e707be45d2e29ef213b42e7447ec35599ff1ca6ab7e193a9dee643979d2cd3d9a5a549cd8ff3c313eb2056845ca831c11492f8118e465ce98f0854042b37e27
EBUILD pytest-httpserver-1.0.12.ebuild 782 BLAKE2B 554d44ac2c780f7dfb974e7e3cb2fd3637016247e1380d02dccfd3304bd4bc82c23a091bb416e117d46056a062d53b000389618d299f2b61f73f2e7a567cabd2 SHA512 24e4b94a047d8c15746475b1fd59bec71c8700f4eb9bdd02a855f42421eae6e63973dfe45c81c725a6b849c7484dc2e04c62146685e7ec5d24289c020f0deffd
+EBUILD pytest-httpserver-1.1.0.ebuild 790 BLAKE2B 2b91b5afa8c45d8a1de5f0237db1b4968366843d17b1c29cbc93b3e540c47d535be07773a27fcda53e8bf06c2d145a552d2c820a3fe872b0a2ea3692a3d66306 SHA512 f241470911543604372112da3c2acdc37b4d634f5ff4c9dbb58e5c009f742ad685e05f00091b228a4de4675e06da3d1f809713a2f8fcf6584ef3cccb2f966a45
MISC metadata.xml 411 BLAKE2B 330f12d8e60a13fe3f4872f3aac04a3d62ba0314adad555e02bb5467ac7a581d3352f308ac66c9aea8b704b5f25860594017bf10ee96f5df216f6e3c10329e07 SHA512 ea6f51163452653eaa1bc9c631f5838bd9461b7c11ef2a06dd52c3d45ca9a220836b4e5e01e52bb0dbadd9bcb10a46fbec905777d0f5d9034b2f6f3cb1d6c0e8
diff --git a/dev-python/pytest-httpserver/pytest-httpserver-1.1.0.ebuild b/dev-python/pytest-httpserver/pytest-httpserver-1.1.0.ebuild
new file mode 100644
index 000000000000..7c488288d502
--- /dev/null
+++ b/dev-python/pytest-httpserver/pytest-httpserver-1.1.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2024 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 )
+
+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 ~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
+}