summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2021-09-27 16:58:42 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2021-09-27 16:58:42 +0300
commit84de2b484b191c5910a90a6c9883312f978306ef (patch)
tree0efbbecb448cab9da2c41ccc592388b3853a85ea /net-mail/django-mailman3
parentnet-mail/mailmanclient: mark ALLARCHES (diff)
downloadgentoo-84de2b484b191c5910a90a6c9883312f978306ef.tar.gz
gentoo-84de2b484b191c5910a90a6c9883312f978306ef.tar.bz2
gentoo-84de2b484b191c5910a90a6c9883312f978306ef.zip
net-mail/django-mailman3: add 1.3.7, enable py3.9, enable tests
Closes: https://bugs.gentoo.org/809164 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'net-mail/django-mailman3')
-rw-r--r--net-mail/django-mailman3/Manifest1
-rw-r--r--net-mail/django-mailman3/django-mailman3-1.3.7.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/net-mail/django-mailman3/Manifest b/net-mail/django-mailman3/Manifest
index 4d588160f007..4a5ba61edc41 100644
--- a/net-mail/django-mailman3/Manifest
+++ b/net-mail/django-mailman3/Manifest
@@ -1 +1,2 @@
DIST django-mailman3-1.3.4.tar.gz 390310 BLAKE2B 0f28e5191ddfec8196824362ffb6b406f8bbcc64e85f93ded37317502673140693c48c60a34713a90cd6651839edaa788f9f73ec8a1836a1597854316ffd3481 SHA512 0b28636caec452efeda2b1b44f1d5ad44740ab0c3ea7b03d7d2e6bf420b1a788d5858e5c827824ef6baf2a463232ec53f404d3de0c22cf6ee17065236f7fcd91
+DIST django-mailman3-1.3.7.tar.gz 404133 BLAKE2B cabaabd9514b28caf571af56b966b37893d582b3fc61b945096dd4b898635b321b239d88082c496f9b972a42bd773354e081e397418bc07c219596e7f9e0edda SHA512 923ca67cc813f59ee9e84b639c4a0b2cfe5b39b63a1a19c5b28c7727540a0ca1f1ee9ecfa12d91a314ee3d7cdb3535c939b9a240281ba277b9af276f18be28e8
diff --git a/net-mail/django-mailman3/django-mailman3-1.3.7.ebuild b/net-mail/django-mailman3/django-mailman3-1.3.7.ebuild
new file mode 100644
index 000000000000..f241f724a959
--- /dev/null
+++ b/net-mail/django-mailman3/django-mailman3-1.3.7.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Django-based interfaces interacting with Mailman 3"
+HOMEPAGE="https://www.list.org"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="dev-python/django[${PYTHON_USEDEP}]
+ net-mail/mailmanclient[${PYTHON_USEDEP}]
+ dev-python/django-allauth[${PYTHON_USEDEP}]
+ dev-python/django-gravatar2[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+"
+
+DOCS=( README.rst )
+
+python_test() {
+ local -x DJANGO_SETTINGS_MODULE=django_mailman3.tests.settings_test
+ local -x PYTHONPATH="${S}"
+ django-admin test -v 2 || die
+}