diff --git a/net-mail/mailmanclient/Manifest b/net-mail/mailmanclient/Manifest new file mode 100644 index 0000000..e6128c7 --- /dev/null +++ b/net-mail/mailmanclient/Manifest @@ -0,0 +1 @@ +DIST mailmanclient-3.3.5.tar.gz 89608 BLAKE2B 9797e1de76e7beda42d2d559bb496ad6d8c87b0118749539c2a48ef999668d62ea96db4941174b6a8639a44df2b7d1e9fdc436b20b19a1deba458f74190e6191 SHA512 42e1a30e7bbaeb57745cde116d441aafa4941e145429b1117993c24fd8fbd3e35d797e36f331e00a37e8c931fc44621c8103cc927b5bb1da0a273872c96c86c8 diff --git a/net-mail/mailmanclient/mailmanclient-3.3.5.ebuild b/net-mail/mailmanclient/mailmanclient-3.3.5.ebuild new file mode 100644 index 0000000..99e11e3 --- /dev/null +++ b/net-mail/mailmanclient/mailmanclient-3.3.5.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for the GNU Mailman 3 REST API" +HOMEPAGE="https://www.list.org" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/requests[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-services[${PYTHON_USEDEP}] + net-mail/mailman[${PYTHON_USEDEP}] + ) +" + +DOCS=( README.rst ) + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Needs network + src/mailmanclient/tests/test_client.py::TestFindUsers::test_find_user_page + src/mailmanclient/tests/test_client.py::TestFindUsers::test_find_users +) + +src_prepare() { + sed -e '/addopts/d' -i pytest.ini || die + distutils-r1_src_prepare +} diff --git a/net-mail/mailmanclient/metadata.xml b/net-mail/mailmanclient/metadata.xml new file mode 100644 index 0000000..e498aa8 --- /dev/null +++ b/net-mail/mailmanclient/metadata.xml @@ -0,0 +1,10 @@ + + + + + + + mailmanclient + mailman/mailmanclient + +