From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1E3h-00010o-8j for guix-patches@gnu.org; Sun, 08 Oct 2017 12:04:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1E3f-00077t-0n for guix-patches@gnu.org; Sun, 08 Oct 2017 12:04:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:47885) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e1E3e-00077l-Tc for guix-patches@gnu.org; Sun, 08 Oct 2017 12:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e1E3e-0005mT-MC for guix-patches@gnu.org; Sun, 08 Oct 2017 12:04:02 -0400 Subject: [bug#28726] [PATCH 3/6] gnu: mail: Fix building python2-django-mailman3. Resent-Message-ID: From: Christopher Baines Date: Sun, 8 Oct 2017 17:03:49 +0100 Message-Id: <20171008160352.10325-3-mail@cbaines.net> In-Reply-To: <20171008160352.10325-1-mail@cbaines.net> References: <20171008160352.10325-1-mail@cbaines.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28726@debbugs.gnu.org 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/mail.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 ddf583649..4d0e177e5 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