summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-07-16 04:53:23 +0200
committerMichał Górny <mgorny@gentoo.org>2023-07-16 04:53:23 +0200
commite396880c0f8a58e53c0eb1459e5e52d197547d15 (patch)
treea9d45030e0a3c3d15fca10a8bcf7f444e54a9730 /dev-python/pytest-localserver
parentwww-client/opera-beta: remove old (diff)
downloadgentoo-e396880c0f8a58e53c0eb1459e5e52d197547d15.tar.gz
gentoo-e396880c0f8a58e53c0eb1459e5e52d197547d15.tar.bz2
gentoo-e396880c0f8a58e53c0eb1459e5e52d197547d15.zip
dev-python/pytest-localserver: Bump to 0.8.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pytest-localserver')
-rw-r--r--dev-python/pytest-localserver/Manifest1
-rw-r--r--dev-python/pytest-localserver/pytest-localserver-0.8.0.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/pytest-localserver/Manifest b/dev-python/pytest-localserver/Manifest
index c081cb47aa69..dd4255827970 100644
--- a/dev-python/pytest-localserver/Manifest
+++ b/dev-python/pytest-localserver/Manifest
@@ -1 +1,2 @@
DIST pytest-localserver-0.7.1.tar.gz 185617 BLAKE2B 2ef2bb38c03c3ad05f9ef038f03e071e4d18bf256d76357c1a980f917228392a863bef088f46bd43acae23457a5141048f93d607d1b3e6757f238ce27b9e9584 SHA512 fd32ea020152a17fb1dcfe3f5cccd5c2a26eed18b711f51c5c7cb8534862706e6738651c275e88f3cbad54ecdb59e4b5588e67eed0ff3bbf20c3636e97990ed6
+DIST pytest-localserver-0.8.0.tar.gz 28368 BLAKE2B 87e5491f442c7bfbbdd219f9f559b775dca5272dc9f92c2f8155eaa192b3192331d4c0d08877cc149624173bb1b249fd9271fe193b1ba2ba28dcab7eda8eb99c SHA512 d4e34d8bde3470dbdd7cc3e40f2b88c4d21095c2c43a4bf7452934bc0afa273946282b732924b2fed34b3a9f25ecb170a28c771cbae4d44a0f707090fb7502f1
diff --git a/dev-python/pytest-localserver/pytest-localserver-0.8.0.ebuild b/dev-python/pytest-localserver/pytest-localserver-0.8.0.ebuild
new file mode 100644
index 000000000000..f7374f4e1937
--- /dev/null
+++ b/dev-python/pytest-localserver/pytest-localserver-0.8.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Pytest plugin to test server connections locally"
+HOMEPAGE="
+ https://github.com/pytest-dev/pytest-localserver/
+ https://pypi.org/project/pytest-localserver/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+ >=dev-python/werkzeug-0.10[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_IGNORE=(
+ # requires aiosmtpd that is dead and broken beyond repair
+ tests/test_smtp.py
+)
+
+src_prepare() {
+ # remove aiosmtpd dep
+ sed -e '/aiosmtpd/d' -i setup.py || die
+ distutils-r1_src_prepare
+}