diff --git a/net-mail/postorius/Manifest b/net-mail/postorius/Manifest index 0984f1d..24c289e 100644 --- a/net-mail/postorius/Manifest +++ b/net-mail/postorius/Manifest @@ -1 +1,2 @@ +DIST postorius-1.3.10.tar.gz 3491545 BLAKE2B e61bc4059b0fb84c3060f499b9e136ed1937fe979e680376dcd9fdc1b4f05b1f22a4176bc2eec9177e3a3c5446eb740f95c21ecf7ba3a5de08d1fa8d2189da3e SHA512 ede24cf6877182cb1f991136f13cb2cf6cc6abfd0cf5e8ae7ef2ea17b99bec312b26303a959cd2ed492027905425166f07333eec629b43bafa0ebea95411372e DIST postorius-1.3.8.tar.gz 3222195 BLAKE2B 83e48443feacf9b2adc2c231287c01e7753f12efce699fbb3e650ae929c2219129af7b090299bd7ee15584699a92725b6c7b778a29114abe88adc5f9330ea7d0 SHA512 49ea63687cf486f70d2e75935d3851df032727c4161334ff27042318f219670bce77726cb880512419cdedad67ffdaaea4517339e0c65854b0000086d3433aae diff --git a/net-mail/postorius/postorius-1.3.10.ebuild b/net-mail/postorius/postorius-1.3.10.ebuild new file mode 100644 index 0000000..f66be0f --- /dev/null +++ b/net-mail/postorius/postorius-1.3.10.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A web user interface for GNU Mailman 3" +HOMEPAGE="https://www.list.org" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/django[${PYTHON_USEDEP}] + dev-python/readme-renderer[${PYTHON_USEDEP}] + net-mail/django-mailman3[${PYTHON_USEDEP}] + net-mail/mailmanclient[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/vcrpy[${PYTHON_USEDEP}] + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + dev-python/isort[${PYTHON_USEDEP}] + net-mail/mailman[${PYTHON_USEDEP}] + ) +" + +DOCS=( README.rst ) + +distutils_enable_tests pytest + +src_prepare() { + sed -e 's/test_list_info/_&/' -i src/postorius/tests/mailman_api_tests/test_list_summary.py || die + distutils-r1_src_prepare +} + +python_test() { + local -x PYTHONPATH="${S}/src" + cd example_project || die + epytest ../src +}