summaryrefslogtreecommitdiff
path: root/dev-python/pytest-httpserver
diff options
context:
space:
mode:
authormirror@stealer.net <mirror@stealer.net>2025-01-31 23:30:19 +0000
committermirror@stealer.net <mirror@stealer.net>2025-01-31 23:30:19 +0000
commit5c2c98b0a579c7434b70e2ee8f3c8a7499298dbb (patch)
treeaa0268f668eb35627871a28d13ea8bf04d29d03d /dev-python/pytest-httpserver
2025-01-31 23:11:16+00:00grafted
Diffstat (limited to 'dev-python/pytest-httpserver')
-rw-r--r--dev-python/pytest-httpserver/Manifest5
-rw-r--r--dev-python/pytest-httpserver/metadata.xml13
-rw-r--r--dev-python/pytest-httpserver/pytest-httpserver-1.1.0.ebuild39
-rw-r--r--dev-python/pytest-httpserver/pytest-httpserver-1.1.1.ebuild39
4 files changed, 96 insertions, 0 deletions
diff --git a/dev-python/pytest-httpserver/Manifest b/dev-python/pytest-httpserver/Manifest
new file mode 100644
index 0000000000000..dcb84b903e9ea
--- /dev/null
+++ b/dev-python/pytest-httpserver/Manifest
@@ -0,0 +1,5 @@
+DIST pytest_httpserver-1.1.0.tar.gz 67210 BLAKE2B 2965ad0f33a4312439b6af57cb4f53586e6707fbb9f55db1f766b147118a646aa3f0a338c2b693f44b9ae5a5184c94aea245f0af868d929770b54138edf7b70b SHA512 3e707be45d2e29ef213b42e7447ec35599ff1ca6ab7e193a9dee643979d2cd3d9a5a549cd8ff3c313eb2056845ca831c11492f8118e465ce98f0854042b37e27
+DIST pytest_httpserver-1.1.1.tar.gz 68190 BLAKE2B 80fec2aaa84f5625e6a67400153efc002f4586e0878745980fbb2f2c6bd82f5d6230284483a8ce7e501f51a5bd732dfd777d96183cfb83c793c347761e5eddb6 SHA512 3d212cb230ee5be5b1fb450944a9fa56396b692c8fd8a63fca71045640865657fd110a657ec0eb2e24c4d2fb43bfc5997fd056a107b7a6ce573dad4e914b7004
+EBUILD pytest-httpserver-1.1.0.ebuild 776 BLAKE2B 683a053813bd56c94c61f069ebe0229d283ac61c0744c297a3d256f8d2becf1daa95cad68adcda1873d6475f649fdbabf971f1c32008045a3c8371186a30c2aa SHA512 691a3a9d5350bc8e9b49c58eae7bcab5941c00d13b19f34a9453f23e964872e8d2d2aa809e83aee018243469aca30176c2f4623a6751bdbbc34e9fe579e81b5c
+EBUILD pytest-httpserver-1.1.1.ebuild 784 BLAKE2B 00e3a15053117bdd88a744d7e9d0378e720eb68248ada3d3e1005365548205864361324cdf799c8c988a191f47be8974a6e70fc6981dd13d2ea9d21228f91113 SHA512 d966746d4d4d6cdcc6fb8fa09cbfc5da6db325f75c30cdf0e2ace565b383390ecae1f88137ba518a65287db34c220ba0235cf9b28327a93ae94c21cbf0388aff
+MISC metadata.xml 411 BLAKE2B 330f12d8e60a13fe3f4872f3aac04a3d62ba0314adad555e02bb5467ac7a581d3352f308ac66c9aea8b704b5f25860594017bf10ee96f5df216f6e3c10329e07 SHA512 ea6f51163452653eaa1bc9c631f5838bd9461b7c11ef2a06dd52c3d45ca9a220836b4e5e01e52bb0dbadd9bcb10a46fbec905777d0f5d9034b2f6f3cb1d6c0e8
diff --git a/dev-python/pytest-httpserver/metadata.xml b/dev-python/pytest-httpserver/metadata.xml
new file mode 100644
index 0000000000000..36e3fb944f0e5
--- /dev/null
+++ b/dev-python/pytest-httpserver/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="pypi">pytest_httpserver</remote-id>
+ <remote-id type="github">csernazs/pytest-httpserver</remote-id>
+ </upstream>
+</pkgmetadata>
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 0000000000000..e5f8c2875460f
--- /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 ~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
+}
diff --git a/dev-python/pytest-httpserver/pytest-httpserver-1.1.1.ebuild b/dev-python/pytest-httpserver/pytest-httpserver-1.1.1.ebuild
new file mode 100644
index 0000000000000..07aedad04186b
--- /dev/null
+++ b/dev-python/pytest-httpserver/pytest-httpserver-1.1.1.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 )
+
+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
+}