diff options
Diffstat (limited to 'dev-python/aiosmtpd')
-rw-r--r-- | dev-python/aiosmtpd/Manifest | 3 | ||||
-rw-r--r-- | dev-python/aiosmtpd/aiosmtpd-1.4.2.ebuild | 31 | ||||
-rw-r--r-- | dev-python/aiosmtpd/aiosmtpd-1.4.5.ebuild | 41 | ||||
-rw-r--r-- | dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild | 41 | ||||
-rw-r--r-- | dev-python/aiosmtpd/metadata.xml | 22 |
5 files changed, 93 insertions, 45 deletions
diff --git a/dev-python/aiosmtpd/Manifest b/dev-python/aiosmtpd/Manifest index db127185fac4..bdc661d6a878 100644 --- a/dev-python/aiosmtpd/Manifest +++ b/dev-python/aiosmtpd/Manifest @@ -1 +1,2 @@ -DIST aiosmtpd-1.4.2.tar.gz 140630 BLAKE2B 9a725d3aa28943afbb14fb6792e0115cf4bc257250da815183c9c9e6b293cf71ac836cc811f50e48bc450d3f629f74d1948aaef78d44852bc96fb3daf0398605 SHA512 b910ae4c00b52f59b9f2199b296a1b76caa7567cbcd2e27c73d4ec894e9b48cd8190090083ce33b87dc924c4394a6425506355951208af65b89a6c1abe371114 +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.2.ebuild b/dev-python/aiosmtpd/aiosmtpd-1.4.2.ebuild deleted file mode 100644 index 18bcf0623277..000000000000 --- a/dev-python/aiosmtpd/aiosmtpd-1.4.2.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{7..10} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 - -DESCRIPTION="asyncio based SMTP server" -HOMEPAGE="https://aiosmtpd.readthedocs.io/en/latest/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/atpublic[${PYTHON_USEDEP}] - dev-python/attrs[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/typing-extensions[${PYTHON_USEDEP}] - ' python3_7)" -BDEPEND=" - test? ( - >=dev-python/pytest-6[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - )" - -# TODO: run doctests using sphinx? -distutils_enable_tests pytest 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..9ba4752f000d --- /dev/null +++ b/dev-python/aiosmtpd/aiosmtpd-1.4.5.ebuild @@ -0,0 +1,41 @@ +# 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 new file mode 100644 index 000000000000..9ba4752f000d --- /dev/null +++ b/dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild @@ -0,0 +1,41 @@ +# 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/metadata.xml b/dev-python/aiosmtpd/metadata.xml index 147b82dfad6e..850c71fdd27e 100644 --- a/dev-python/aiosmtpd/metadata.xml +++ b/dev-python/aiosmtpd/metadata.xml @@ -1,17 +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> - <maintainer type="person"> - <email>prometheanfire@gentoo.org</email> - <name>Matthew Thode</name> - </maintainer> - <stabilize-allarches/> - <upstream> - <remote-id type="github">aio-libs/aiosmtpd</remote-id> - <remote-id type="pypi">aiosmtpd</remote-id> - </upstream> + <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> |