summaryrefslogtreecommitdiff
path: root/dev-python/pytest-httpserver
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-30 15:10:23 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-30 15:10:23 +0100
commit27b0740bf48a0a181090a49d20f368ac8474e90b (patch)
treed715e035ea5c7dfe4a21b510e898913c33289cfa /dev-python/pytest-httpserver
parentad0412d0cafb8c04ce98024155cf99a4cc27db44 (diff)
gentoo auto-resync : 30:07:2022 - 15:10:23
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.0.5.ebuild39
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/pytest-httpserver/Manifest b/dev-python/pytest-httpserver/Manifest
index 5611174bf6cc..b775481987fc 100644
--- a/dev-python/pytest-httpserver/Manifest
+++ b/dev-python/pytest-httpserver/Manifest
@@ -1,3 +1,5 @@
DIST pytest-httpserver-1.0.4.gh.tar.gz 78911 BLAKE2B 425f72438797b55a84662f580dd9bfc1d6dd8a0513587e72b6e1de7e669eee75c777fdd6c2cfcbc92273737dd47568b48a22f12e8a40952f82a599f30705a604 SHA512 e80754910117736fd172d7bd5e5fc41721fab8adc705b72f0ee4cd866c878ed267ad3819645fd567e3af2c9e53deecb3749f1a873d72ff9e234c4fdd7f7cabea
+DIST pytest-httpserver-1.0.5.gh.tar.gz 80395 BLAKE2B 68c075032c57f25854d390f73bf61b7efbe18f78d7f0b2a2a3be10d586ca9cc3ce4a1b390a2ba0da1e88558513782388069c419dae4908a0581e8d583f452bee SHA512 8275475bb044d54769e906571520fafbb9f6fa32fc003f4a00f72b9ff9930e4b80ee84564df1521569cc2a15f5d371c6315129263bc167d0621141004d509a25
EBUILD pytest-httpserver-1.0.4-r2.ebuild 776 BLAKE2B 47322761db09937087458097a27ce0c1aa4eba77cd8b013d9e089c3f6ac548063d17f81b975c244b8a7386f89ec9a1339e426541b7c9fdb512372621cdc98d5c SHA512 0b4c28de701285c4084a54aefa43c44c45fc8f51607469f8fa1145e79dc9f338660388b743af251ce6f0e4d3ff4c0e217c9cc784ce4439a16c4fc9b4c4bd970a
+EBUILD pytest-httpserver-1.0.5.ebuild 773 BLAKE2B dc67bc66e43bf96032ba707467ccf5cc1d6b4887635086dc82fdae5590c7977d7670e89d44b592b48e4d732e4ab60782eeb5fac7132a595f265cca61ad0b1267 SHA512 ce78bb8f6e74b6f8e62db9a70176dafd46595e6719de79434700c4add3be6a7b3fc3385fe85553335af9cd362c97698d7aa5278099725e96408988b48bc8b22f
MISC metadata.xml 411 BLAKE2B f74c6327167acc706faa9d9e60e2f964e476f33cf33b525287850dcd46e1fd35d6a770d495c929b36bc288c6e2a08d32077bd5265c522598477bb61c4abdd367 SHA512 a536367a8872d3d722f7671d6824d05d1912e9ba53a25ade91bab5cfa4dca3cb2e3f669c7a70416c68a200f1272c5709509b37133886f0d64816b096918fb4f0
diff --git a/dev-python/pytest-httpserver/pytest-httpserver-1.0.5.ebuild b/dev-python/pytest-httpserver/pytest-httpserver-1.0.5.ebuild
new file mode 100644
index 000000000000..38988531c5f2
--- /dev/null
+++ b/dev-python/pytest-httpserver/pytest-httpserver-1.0.5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="HTTP server for pytest to test HTTP clients"
+HOMEPAGE="https://github.com/csernazs/pytest-httpserver"
+SRC_URI="
+ https://github.com/csernazs/pytest-httpserver/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/werkzeug[${PYTHON_USEDEP}]"
+BDEPEND="
+ test? (
+ dev-python/requests[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ sed -i -e '/^include = \[/,/\]/d' pyproject.toml || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ epytest -p no:localserver
+}