diff options
author | Sam James <sam@gentoo.org> | 2024-03-14 04:45:40 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-03-14 04:49:32 +0000 |
commit | 39d0940f078bdc5b1108da1ee10bbc94aea73e2b (patch) | |
tree | 99a4798d5a94508938e30d3a6ad75d7e3cb4a63f /dev-python/aiosmtpd | |
parent | dev-python/pyasynchat: new package, add 1.0.4 (diff) | |
download | gentoo-39d0940f078bdc5b1108da1ee10bbc94aea73e2b.tar.gz gentoo-39d0940f078bdc5b1108da1ee10bbc94aea73e2b.tar.bz2 gentoo-39d0940f078bdc5b1108da1ee10bbc94aea73e2b.zip |
dev-python/aiosmtpd: new package, add 1.4.5
Bug: https://bugs.gentoo.org/909998
Signed-off-by: Sam James <sam@gentoo.org>
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 | 36 | ||||
-rw-r--r-- | dev-python/aiosmtpd/metadata.xml | 13 |
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/aiosmtpd/Manifest b/dev-python/aiosmtpd/Manifest new file mode 100644 index 000000000000..e5676bd746f4 --- /dev/null +++ b/dev-python/aiosmtpd/Manifest @@ -0,0 +1 @@ +DIST aiosmtpd-1.4.5.tar.gz 152668 BLAKE2B 5f689e029afcc267b8b9f1863ce20d76bea16985d7fddac1e6cf0624d7bef6bbbe7089b4933bee8b5aaa74e63d996295e3684b3a7891b697608cbd311be92728 SHA512 c9507e25b5aeec442d299e13624ce00777ecf8089eee230b9cb9f92c18816cef890968c25144a56b95fd9b063b1440921841a16add624d717b8f6378d55c85a4 diff --git a/dev-python/aiosmtpd/aiosmtpd-1.4.5.ebuild b/dev-python/aiosmtpd/aiosmtpd-1.4.5.ebuild new file mode 100644 index 000000000000..49dbf8d58d30 --- /dev/null +++ b/dev-python/aiosmtpd/aiosmtpd-1.4.5.ebuild @@ -0,0 +1,36 @@ +# 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="~amd64" + +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}] ) +" + +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/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> |