diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-01-30 07:51:22 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-01-30 07:58:55 +0100 |
commit | 5a3eac198be19081651519a8b7bfd9f0e317ca00 (patch) | |
tree | e04bf9b56a75b69b9ebd0441127a1a9f8a933d5b /dev-python/pytest-localserver | |
parent | dev-python/pdm-pep517: Bump to 1.1.0 (diff) | |
download | gentoo-5a3eac198be19081651519a8b7bfd9f0e317ca00.tar.gz gentoo-5a3eac198be19081651519a8b7bfd9f0e317ca00.tar.bz2 gentoo-5a3eac198be19081651519a8b7bfd9f0e317ca00.zip |
dev-python/pytest-localserver: Bump to 0.7.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pytest-localserver')
-rw-r--r-- | dev-python/pytest-localserver/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pytest-localserver/pytest-localserver-0.7.1.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/pytest-localserver/Manifest b/dev-python/pytest-localserver/Manifest index b0580899c66a..2fe23b9f975e 100644 --- a/dev-python/pytest-localserver/Manifest +++ b/dev-python/pytest-localserver/Manifest @@ -1 +1,2 @@ DIST pytest-localserver-0.7.0.tar.gz 184154 BLAKE2B 31f05dd4f156c8a547dacaf39c1aa1a576f2f84e625d64b96409212768a7d9967944931f85ab293d26f348e3a65eba1c5e341c6c08992271c10e65b2fa453cc4 SHA512 1fb1acaeb190d35ebd05cdd63ce15e4a9138802901cef8c25c1fa6dd177d8af2b6b2749f5a052942bf655ffd2ff6105de8a652d73faab369ce6dcf3219bb2394 +DIST pytest-localserver-0.7.1.tar.gz 185617 BLAKE2B 2ef2bb38c03c3ad05f9ef038f03e071e4d18bf256d76357c1a980f917228392a863bef088f46bd43acae23457a5141048f93d607d1b3e6757f238ce27b9e9584 SHA512 fd32ea020152a17fb1dcfe3f5cccd5c2a26eed18b711f51c5c7cb8534862706e6738651c275e88f3cbad54ecdb59e4b5588e67eed0ff3bbf20c3636e97990ed6 diff --git a/dev-python/pytest-localserver/pytest-localserver-0.7.1.ebuild b/dev-python/pytest-localserver/pytest-localserver-0.7.1.ebuild new file mode 100644 index 000000000000..66639fc7e118 --- /dev/null +++ b/dev-python/pytest-localserver/pytest-localserver-0.7.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..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 +} |