summaryrefslogtreecommitdiff
path: root/dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild')
-rw-r--r--dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild b/dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild
index 874f89efd84c..13456b3d89d2 100644
--- a/dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild
+++ b/dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2024-2025 Gentoo Authors
+# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -17,21 +17,19 @@ HOMEPAGE="
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86"
RDEPEND="
>=dev-python/atpublic-4.0[${PYTHON_USEDEP}]
>=dev-python/attrs-23.2.0[${PYTHON_USEDEP}]
"
-BDEPEND="
- test? ( >=dev-python/pytest-mock-3.12.0[${PYTHON_USEDEP}] )
-"
EPYTEST_DESELECT=(
# Needs dev-vcs/git
aiosmtpd/qa/test_0packaging.py::TestVersion
)
+EPYTEST_PLUGINS=( pytest-mock )
distutils_enable_tests pytest
python_prepare_all() {
@@ -43,7 +41,7 @@ python_prepare_all() {
python_test() {
local EPYTEST_DESELECT=()
case ${EPYTHON} in
- python3.13)
+ python3.1[34])
EPYTEST_DESELECT+=(
# https://github.com/aio-libs/aiosmtpd/issues/403
aiosmtpd/tests/test_server.py::TestUnthreaded::test_unixsocket
@@ -51,6 +49,5 @@ python_test() {
;;
esac
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
- epytest -p pytest_mock
+ epytest
}