From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0ZE5-00052H-Lv for guix-patches@gnu.org; Fri, 06 Oct 2017 16:28:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0ZE2-0008Js-HP for guix-patches@gnu.org; Fri, 06 Oct 2017 16:28:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:44937) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e0ZE2-0008JT-Dc for guix-patches@gnu.org; Fri, 06 Oct 2017 16:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e0ZE2-0005Pd-3q for guix-patches@gnu.org; Fri, 06 Oct 2017 16:28:02 -0400 Subject: [bug#28726] [PATCH 3/5] gnu: django: Fix building python2-django-mailman3. Resent-Message-ID: From: Christopher Baines Date: Fri, 6 Oct 2017 21:27:00 +0100 Message-Id: <20171006202702.1511-3-mail@cbaines.net> In-Reply-To: <20171006202702.1511-1-mail@cbaines.net> References: <20171006202702.1511-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/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