diff options
Diffstat (limited to 'dev-python/pytest-localserver')
-rw-r--r-- | dev-python/pytest-localserver/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pytest-localserver/pytest-localserver-0.8.0.ebuild | 44 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/pytest-localserver/Manifest b/dev-python/pytest-localserver/Manifest index 35676ea77838..46e7c1e29c8e 100644 --- a/dev-python/pytest-localserver/Manifest +++ b/dev-python/pytest-localserver/Manifest @@ -1,3 +1,5 @@ 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 EBUILD pytest-localserver-0.7.1.ebuild 907 BLAKE2B bd57591d752b422e53e7a6f21a3b59f669d694b9e7b143320e8a37a383d10e091272c767a58f061b93676b93eeac83cad03a3ab10f290b76c2a306bbaf19f1bb SHA512 fa976f0d53c98a1639d6c9429139d09f29e47d1e1e9bb8f57e6a9fbaf5ad9dc7b69ea569ff71a04699530418788cc09dea7791c2e3bbd5e917046253483d53f3 +EBUILD pytest-localserver-0.8.0.ebuild 969 BLAKE2B 9fc2bb0f19ecf8d64ab1dd7d00cc05a7dbbb3aae58de0a6e496e722871ef04f0d8a3e38b8dfa1abebe3c44c9b133ad52918798197e40bbd95b50ff9178d6f5d7 SHA512 34f7ccc55ff4ba85e3ffb577b6aea5c7a6b16e2bd1ba3886bdea479fdd3984705861a5ab5002e55f94a3892c89bff5723b2d473c5a55f17e40db4aa0cf124b3e MISC metadata.xml 415 BLAKE2B e9793de9ce60bde1549abb0983ca145f55261653324785d735c91785a20b61d949c228528faa742d669d52c1f456a36c65a93c1e9a692ec9297d4ffcfc0123fe SHA512 e0e7819a4b1bd41301824727b2204092986ba4d0c56fe1530b40543fcf7b90541933a7b8094f24a0573854b76b9ce11b7b42d2e38d135f61fed9b498f05f98e1 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 +} |