diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-10-01 20:54:53 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-10-01 20:54:53 +0100 |
commit | 391b5b359a346aff490103da7dddc85047f83830 (patch) | |
tree | 29eea460a0bd7e1ff21d43b9d6df9af4d8a175e1 /net-mail/postorius | |
parent | c719fdcee603a5a706a45d10cb598762d56a727d (diff) |
gentoo resync : 01.10.2021
Diffstat (limited to 'net-mail/postorius')
-rw-r--r-- | net-mail/postorius/Manifest | 6 | ||||
-rw-r--r-- | net-mail/postorius/metadata.xml | 2 | ||||
-rw-r--r-- | net-mail/postorius/postorius-1.3.5.ebuild (renamed from net-mail/postorius/postorius-1.3.3.ebuild) | 30 |
3 files changed, 28 insertions, 10 deletions
diff --git a/net-mail/postorius/Manifest b/net-mail/postorius/Manifest index 0406b9f51a67..410f7b1e2217 100644 --- a/net-mail/postorius/Manifest +++ b/net-mail/postorius/Manifest @@ -1,3 +1,3 @@ -DIST postorius-1.3.3.tar.gz 2704738 BLAKE2B 0ae5a7b3ace1ad7f64eae53156592d0c76a09e358d08edfe1b506717e87df67c669bfab356c203e28c03006f46461a67b4c7222e0e305100e15511a93e3e6a59 SHA512 31d6d6d0dbbe8a57251c81cf8f7d8b80d17dd4aab9f31be684fef26637a4ba81a196d4ab63e7389bd4173a60778a00c83ee440c24f83a1f60b094ccab8cf345a -EBUILD postorius-1.3.3.ebuild 806 BLAKE2B 4708e29250342e17c97568fcc7985a6d69afcdbd548c40f57b1752ebc11801865bfe4e39e3670536484426f90c3fc76c05c21059b13b7eb81a2f8f9d95c04503 SHA512 bad6e50fa8546faab701512f0663a48663b635dd5b7e4a35338ed67489402e38aaa05eb6a1de231874dd4ac34014c8724b28825148712f77fed1c3d065d92a51 -MISC metadata.xml 289 BLAKE2B e6f2593d86670e4f99b9a209d0601ad87f838e1489608e6b99835c8ed2a463597ba6328579d9ed48fc2284988b6d5308ea86d5e80070df406421ca38e91e5bff SHA512 b3a039cd32080f3b2dd26c0702ec3ca6f2dda49ad5abf3fcd8c11ad9a7cc5c8786923cb5f9b25349ff309b08679ed6b5c135804cc1f971c7624a96a6fc367cd9 +DIST postorius-1.3.5.tar.gz 2775722 BLAKE2B 85f3408b7205ce4f89c36906280ff7ccecca0752ae611f4631e16d43972d0b52321be0f533fdabe6bf7d503120ab7a3794ef25f64a72369dec782b60347e33bb SHA512 f5f90ade87ae028fe665918b0aef69ac6c79f8d45ee4d105825ed9113661f084f3a82db9ac6ee850fa0feb5fd5afe7b66e49040d22c2e0599a95c3aa8ad56a31 +EBUILD postorius-1.3.5.ebuild 1086 BLAKE2B 52717d8e94fa1c643e2c4d1d1571fa8a827d2b18cdde76e920bbc2fcd91f0f39a10cb478bdb84f1da033e193703091ea5f912bb0d6acc86367644526851d4e74 SHA512 78fd56488c66d493caaec4b8552615b7970fed90956233e9a95ea59a708f72ba70fb21f4fc50536a1a1f594be5a0b812669c935b94b7852a8d2b873bd23b3d19 +MISC metadata.xml 370 BLAKE2B 6266c0fc5f71b98c60d93b7bc9b9e06817c3f2f093f7033396ba16b52da0d1214a2346631358ec720624285ed984484ad9219ae6dec812954821d672e899c01a SHA512 c3212bab2847e52fb883940b502b14305ffa42fdee50314ba83f9d1a3a2edf2a004a3f77678f730c9d4378966ec4d26ea95a5a886e3a063e0a92ade2a31ce90a diff --git a/net-mail/postorius/metadata.xml b/net-mail/postorius/metadata.xml index f092b6905348..61bdb81d26ca 100644 --- a/net-mail/postorius/metadata.xml +++ b/net-mail/postorius/metadata.xml @@ -4,7 +4,9 @@ <maintainer type="person"> <email>hanno@gentoo.org</email> </maintainer> + <stabilize-allarches/> <upstream> <remote-id type="pypi">postorius</remote-id> + <remote-id type="gitlab">mailman/postorius</remote-id> </upstream> </pkgmetadata> diff --git a/net-mail/postorius/postorius-1.3.3.ebuild b/net-mail/postorius/postorius-1.3.5.ebuild index e78fe43d42ee..18b4965e46dd 100644 --- a/net-mail/postorius/postorius-1.3.3.ebuild +++ b/net-mail/postorius/postorius-1.3.5.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{8..9} ) inherit distutils-r1 @@ -14,19 +14,35 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64" -IUSE="test" -RESTRICT="!test? ( test )" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -RDEPEND="net-mail/django-mailman3[${PYTHON_USEDEP}] +RDEPEND=" dev-python/django[${PYTHON_USEDEP}] - net-mail/mailmanclient[${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 +} |