diff options
Diffstat (limited to 'dev-python/aiosmtpd')
| -rw-r--r-- | dev-python/aiosmtpd/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/aiosmtpd/aiosmtpd-1.4.5.ebuild | 41 | ||||
| -rw-r--r-- | dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild | 15 |
3 files changed, 15 insertions, 42 deletions
diff --git a/dev-python/aiosmtpd/Manifest b/dev-python/aiosmtpd/Manifest index bdc661d6a878..35215250bd96 100644 --- a/dev-python/aiosmtpd/Manifest +++ b/dev-python/aiosmtpd/Manifest @@ -1,2 +1 @@ -DIST aiosmtpd-1.4.5.tar.gz 152668 BLAKE2B 5f689e029afcc267b8b9f1863ce20d76bea16985d7fddac1e6cf0624d7bef6bbbe7089b4933bee8b5aaa74e63d996295e3684b3a7891b697608cbd311be92728 SHA512 c9507e25b5aeec442d299e13624ce00777ecf8089eee230b9cb9f92c18816cef890968c25144a56b95fd9b063b1440921841a16add624d717b8f6378d55c85a4 DIST aiosmtpd-1.4.6.tar.gz 152775 BLAKE2B 6432388c563bc9e8439f0e685130e103a855004443d24e004ab7bf740c0e93cb7601fc435104f7c1c450e1d6374fe9070ed4a91df58ca0f013e516cd9f40e748 SHA512 5aceaa03d6a00c3c99cd2d53b9320aa3a044d0ee09c22bd4fadf3ee56ea0e307120d1fe4cc798d7a04d53059da674f6dba816a6a6ed7326a510f6caf074e8f90 diff --git a/dev-python/aiosmtpd/aiosmtpd-1.4.5.ebuild b/dev-python/aiosmtpd/aiosmtpd-1.4.5.ebuild deleted file mode 100644 index 5a74c05c4353..000000000000 --- a/dev-python/aiosmtpd/aiosmtpd-1.4.5.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Reimplementation of the Python stdlib smtpd.py based on asyncio" -HOMEPAGE=" - https://aiosmtpd.aio-libs.org/ - https://github.com/aio-libs/aiosmtpd - https://pypi.org/project/aiosmtpd/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~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 -) - -distutils_enable_tests pytest - -python_prepare_all() { - sed -i -e '/--cov=/d' pytest.ini || die - - distutils-r1_python_prepare_all -} diff --git a/dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild b/dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild index 5a74c05c4353..84e44d758e76 100644 --- a/dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild +++ b/dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild @@ -39,3 +39,18 @@ python_prepare_all() { distutils-r1_python_prepare_all } + +python_test() { + local EPYTEST_DESELECT=() + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + # https://github.com/aio-libs/aiosmtpd/issues/403 + aiosmtpd/tests/test_server.py::TestUnthreaded::test_unixsocket + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock +} |
