summaryrefslogtreecommitdiff
path: root/dev-python/pytest-httpbin
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pytest-httpbin')
-rw-r--r--dev-python/pytest-httpbin/Manifest2
-rw-r--r--dev-python/pytest-httpbin/pytest-httpbin-1.0.1.ebuild30
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/pytest-httpbin/Manifest b/dev-python/pytest-httpbin/Manifest
index 9170802e56f5..6da6dc6edfc5 100644
--- a/dev-python/pytest-httpbin/Manifest
+++ b/dev-python/pytest-httpbin/Manifest
@@ -1,4 +1,6 @@
AUX pytest-httpbin-1.0.0-pypy3-hang.patch 1099 BLAKE2B 4bb8dd686aadc35aab144a6467d52e7de675bcc7d6de8f130bc5942c17fd19c0c914d9aef81af3ed0a815ce21caf40ad8e7c8f724710fe07290dcc8fb92d6a24 SHA512 b0f417e7fdf658783e9297a895f50587d7b997de5065f5322fb46644028caa7cd10cf6130c578f6dd1f8b6aefbd281342f6aa8f5477284de3d4037b799604f72
DIST pytest-httpbin-1.0.0.gh.tar.gz 17813 BLAKE2B b7e0ad9f131e4d236161b66b1d6d8e6087285a6d52df1accb044b30bcdac6c5f3350e9dbfe1cf33ab64b6d6aac6b463de81c31fd12dd950426b6ed8ef4eaf289 SHA512 2794134cc005cb969752e0c1119459d3f1e106f679942880a6b9ff507f2ee31c8ac4146a9c01b9a920368ea516443954b1b7044f7b1c270fe251f7d36adf7661
+DIST pytest-httpbin-1.0.1.gh.tar.gz 18036 BLAKE2B 1277118a83d059f23c06758d6a5e83b78f09ba3bd44458f18aebdad06b7266a3deb9ee00f10732c552fddb42673dfe3f5862195f44ce48a224961b5df81dcae7 SHA512 3a11073d85478e7b748cfae5a7f639b2cf6ebc396ebb9972f39ead3d869ab1abaf0afa90f113e2393652ed08621716e54c9c5dcb41c59ff67341f7b28445544d
EBUILD pytest-httpbin-1.0.0-r1.ebuild 823 BLAKE2B dd57355429fdea108b6ee53adad3bc979994130aabf0a596c0aa751e20b546f5bca6f5bd57fb559116b6cc7bdafbe3663e3018421f9f926e7d590e08919f5d7d SHA512 12a7f350556c6a75ce5b3de9046052e32fae6a4b7c6db87e113da6e2e9554f815cb439513264f317fc035a3fd75d227fa5f9e15be5f2b39dcfe665678cbd7dd5
+EBUILD pytest-httpbin-1.0.1.ebuild 830 BLAKE2B 46ffcbe47b26e1a7b2b2fbb9798eef8f8cd41d3d91e90412b749db10b736031f582e3af7176ca7860f8891b3841ae08196ca35090c6caf0fefa06955718cbcbc SHA512 c3f128a84946a143b975315efdc75c1f49bcf7807cb9c3460afc2adfa827064fc3706af9edba9b724040cb89931dc76a8f268d19b8d7152a14f8684b05e7839f
MISC metadata.xml 547 BLAKE2B d60e6b3e6c7d0c37dcc42dcffeed9e08fb7ad3dec5e4f5fdc0ffd1f7a2c46d89ef57a9576028457ee433d0ecbd100ae200ef507b22bb326838732751a7c644fc SHA512 4629dfe7e4cf27d5d52e7ce3e646f590b4d80a490c638cb035352416a587b494328d3f23e088d13ae1677c415080a7249301d9830be0cfbce7a44023302bf582
diff --git a/dev-python/pytest-httpbin/pytest-httpbin-1.0.1.ebuild b/dev-python/pytest-httpbin/pytest-httpbin-1.0.1.ebuild
new file mode 100644
index 000000000000..1413b57ca6d2
--- /dev/null
+++ b/dev-python/pytest-httpbin/pytest-httpbin-1.0.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="Easily test your HTTP library against a local copy of httpbin"
+HOMEPAGE="https://github.com/kevin1024/pytest-httpbin
+ https://pypi.org/project/pytest-httpbin/"
+SRC_URI="https://github.com/kevin1024/pytest-httpbin/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+
+RDEPEND="
+ dev-python/httpbin[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? ( dev-python/requests[${PYTHON_USEDEP}] )
+"
+
+PATCHES=(
+ "${FILESDIR}"/pytest-httpbin-1.0.0-pypy3-hang.patch
+)
+
+distutils_enable_tests pytest