mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-14 17:43:11 -04:00
37 lines
798 B
Bash
37 lines
798 B
Bash
# 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
|
|
}
|