mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 03:53:22 -04:00
dev-python/aiosmtplib: add 1.1.6 + docs + tests
Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
36
dev-python/aiosmtplib/aiosmtplib-1.1.6.ebuild
Normal file
36
dev-python/aiosmtplib/aiosmtplib-1.1.6.ebuild
Normal file
@@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=pyproject.toml
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Asynchronous SMTP client for use with asyncio"
|
||||
HOMEPAGE="https://pypi.org/project/aiosmtplib/ https://github.com/cole/aiosmtplib"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
test? (
|
||||
dev-python/aiosmtpd
|
||||
dev-python/atpublic
|
||||
dev-python/hypothesis
|
||||
dev-python/pytest-asyncio
|
||||
)
|
||||
"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs "dev-python/sphinx-autodoc-typehints"
|
||||
|
||||
python_test() {
|
||||
epytest --event-loop=asyncio \
|
||||
--deselect tests/test_connect.py::test_connect_via_socket_path
|
||||
}
|
||||
Reference in New Issue
Block a user