commit:     956d303f10db75d9da9547d4d4801813d555c4f2
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  1 19:20:24 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Sep  1 19:41:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=956d303f

dev-python/pytest-localserver: add 0.7.0

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/pytest-localserver/Manifest             |  1 +
 .../pytest-localserver-0.7.0.ebuild                | 41 ++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/pytest-localserver/Manifest 
b/dev-python/pytest-localserver/Manifest
index 3e408fc2d500..84e9d27fb3e7 100644
--- a/dev-python/pytest-localserver/Manifest
+++ b/dev-python/pytest-localserver/Manifest
@@ -1 +1,2 @@
 DIST pytest-localserver-0.6.0.tar.gz 182346 BLAKE2B 
b8f56c6db3bc9c260c747cdf707aac0de22152111d3a8f9c0ea8adb8e5e556edf4a1ffa0d4fd517bf95428c69ebc0c1629a103c3b8f44a57b939f696cb9240cd
 SHA512 
149796393af260fa5d69560852e9d11b569515b8486859302af2ed369a93bbb7cad11f54210851bd4030d8f7f5936a0306fe9599bc8477bdfc61d3d0a83cb205
+DIST pytest-localserver-0.7.0.tar.gz 184154 BLAKE2B 
31f05dd4f156c8a547dacaf39c1aa1a576f2f84e625d64b96409212768a7d9967944931f85ab293d26f348e3a65eba1c5e341c6c08992271c10e65b2fa453cc4
 SHA512 
1fb1acaeb190d35ebd05cdd63ce15e4a9138802901cef8c25c1fa6dd177d8af2b6b2749f5a052942bf655ffd2ff6105de8a652d73faab369ce6dcf3219bb2394

diff --git a/dev-python/pytest-localserver/pytest-localserver-0.7.0.ebuild 
b/dev-python/pytest-localserver/pytest-localserver-0.7.0.ebuild
new file mode 100644
index 000000000000..3233d26d2775
--- /dev/null
+++ b/dev-python/pytest-localserver/pytest-localserver-0.7.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Pytest plugin to test server connections locally"
+HOMEPAGE="https://pypi.org/project/pytest-localserver/";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+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
+}

Reply via email to