diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-python/aiosmtpd | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-python/aiosmtpd')
| -rw-r--r-- | dev-python/aiosmtpd/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild | 58 | ||||
| -rw-r--r-- | dev-python/aiosmtpd/metadata.xml | 13 |
3 files changed, 72 insertions, 0 deletions
diff --git a/dev-python/aiosmtpd/Manifest b/dev-python/aiosmtpd/Manifest new file mode 100644 index 000000000000..35215250bd96 --- /dev/null +++ b/dev-python/aiosmtpd/Manifest @@ -0,0 +1 @@ +DIST aiosmtpd-1.4.6.tar.gz 152775 BLAKE2B 6432388c563bc9e8439f0e685130e103a855004443d24e004ab7bf740c0e93cb7601fc435104f7c1c450e1d6374fe9070ed4a91df58ca0f013e516cd9f40e748 SHA512 5aceaa03d6a00c3c99cd2d53b9320aa3a044d0ee09c22bd4fadf3ee56ea0e307120d1fe4cc798d7a04d53059da674f6dba816a6a6ed7326a510f6caf074e8f90 diff --git a/dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild b/dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild new file mode 100644 index 000000000000..37e64dcf3598 --- /dev/null +++ b/dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild @@ -0,0 +1,58 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +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="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/pkg-resources[${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() { + sed -i -e '/--cov=/d' pytest.ini || die + + distutils-r1_python_prepare_all +} + +python_test() { + local EPYTEST_DESELECT=() + case ${EPYTHON} in + python3.1[34]) + EPYTEST_DESELECT+=( + # https://github.com/aio-libs/aiosmtpd/issues/403 + aiosmtpd/tests/test_server.py::TestUnthreaded::test_unixsocket + ) + ;; + esac + + epytest +} diff --git a/dev-python/aiosmtpd/metadata.xml b/dev-python/aiosmtpd/metadata.xml new file mode 100644 index 000000000000..850c71fdd27e --- /dev/null +++ b/dev-python/aiosmtpd/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">aiosmtpd</remote-id> + <remote-id type="github">aio-libs/aiosmtpd</remote-id> + </upstream> +</pkgmetadata> |
