summaryrefslogtreecommitdiff
path: root/dev-python/aiosmtpd
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/aiosmtpd')
-rw-r--r--dev-python/aiosmtpd/Manifest4
-rw-r--r--dev-python/aiosmtpd/aiosmtpd-1.4.5.ebuild41
-rw-r--r--dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild17
3 files changed, 17 insertions, 45 deletions
diff --git a/dev-python/aiosmtpd/Manifest b/dev-python/aiosmtpd/Manifest
index 4be8148ca09d..8693d566c813 100644
--- a/dev-python/aiosmtpd/Manifest
+++ b/dev-python/aiosmtpd/Manifest
@@ -1,5 +1,3 @@
-DIST aiosmtpd-1.4.5.tar.gz 152668 BLAKE2B 5f689e029afcc267b8b9f1863ce20d76bea16985d7fddac1e6cf0624d7bef6bbbe7089b4933bee8b5aaa74e63d996295e3684b3a7891b697608cbd311be92728 SHA512 c9507e25b5aeec442d299e13624ce00777ecf8089eee230b9cb9f92c18816cef890968c25144a56b95fd9b063b1440921841a16add624d717b8f6378d55c85a4
DIST aiosmtpd-1.4.6.tar.gz 152775 BLAKE2B 6432388c563bc9e8439f0e685130e103a855004443d24e004ab7bf740c0e93cb7601fc435104f7c1c450e1d6374fe9070ed4a91df58ca0f013e516cd9f40e748 SHA512 5aceaa03d6a00c3c99cd2d53b9320aa3a044d0ee09c22bd4fadf3ee56ea0e307120d1fe4cc798d7a04d53059da674f6dba816a6a6ed7326a510f6caf074e8f90
-EBUILD aiosmtpd-1.4.5.ebuild 902 BLAKE2B 8513989b543d118fc4d3b3b52de2b5694614f4fc08d2a285beb9d72b7ee0a3f963540592cce665f3469558fb7af14f9fc0a8d82380d541c935d77f30b2418d5d SHA512 ade29ae887d075ca136bc930d3931337248b7c31f746aacde6dab0a6edcbfca0c8571257a7eeab19f5123cd0b759e4c7d8ade69926f43d0c9ac2e9787b6ff129
-EBUILD aiosmtpd-1.4.6.ebuild 902 BLAKE2B 8513989b543d118fc4d3b3b52de2b5694614f4fc08d2a285beb9d72b7ee0a3f963540592cce665f3469558fb7af14f9fc0a8d82380d541c935d77f30b2418d5d SHA512 ade29ae887d075ca136bc930d3931337248b7c31f746aacde6dab0a6edcbfca0c8571257a7eeab19f5123cd0b759e4c7d8ade69926f43d0c9ac2e9787b6ff129
+EBUILD aiosmtpd-1.4.6.ebuild 1211 BLAKE2B 10b9d1ab76d514a40145755a18ead00f072759a079f8dc5b1ab85a837d9a9a8106cac335a173502d73d0975e23a7d14b3b1fbfed9364d1e2b2cedcca3070a484 SHA512 a33c7b6445d7258fc72d1487f38340582dc361ea6707283dda22d7d2c75a7c07a99224b8b07e76cbc95e7238edca21f8b13e7afe5aef69394653d12028255509
MISC metadata.xml 406 BLAKE2B cd739d7ad278ddd958ea696ec4ed98c44a4a5cf719b93b09eeb7aae4af37e0bc755302d0c27b36645b291071d7ce16e45ef8e77275ef68cdc9f9cc759d2ffb1a SHA512 3f3459da7aa5b686f38b5554a64d0c8344bacab39429a19955b56b3b829f0aaf6fd5e6c337394134ba59c3b2d5b5be1fa1f917775b6827b56f055a8203339ed7
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 9ba4752f000d..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_{10..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 9ba4752f000d..b6cdd1ffb285 100644
--- a/dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild
+++ b/dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 pypi
@@ -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
+}