GNU bug report logs -
#28726
[PATCH] Update python-sqlparse and fix some dependent packages
Previous Next
Reported by: Christopher Baines <mail <at> cbaines.net>
Date: Fri, 6 Oct 2017 20:21:01 UTC
Severity: normal
Tags: patch
Done: Christopher Baines <mail <at> cbaines.net>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 28726 <at> debbugs.gnu.org (full text, mbox):
The python-django-mailman3 build is still broken, as I don't think this
package is compatible with python3 yet. With this patch, the tests fail due to
the lack of urllib2 (which is just urllib in python3).
* gnu/packages/django.scm (python-django-mailman3)[arguments]: Modify the
phases to run the tests using django-admin.
---
gnu/packages/mail.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index cc3977e2c..62bcfef1a 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -2091,6 +2091,17 @@ installation on systems where resources are limited. Its features include:
(base32
"1adxyh8knw9knjlh73xq0jpn5adml0ck4alsv0swakm95wfyx46z"))))
(build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (zero?
+ (system*
+ "django-admin"
+ "test"
+ "--settings=django_mailman3.tests.settings_test"
+ "django_mailman3")))))))
(inputs
`(("python-django" ,python-django)))
(propagated-inputs
--
2.14.2
This bug report was last modified 7 years and 180 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.