From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: Re: [PATCH 1/2] gnu: Add python-paste. Date: Thu, 25 Feb 2016 11:03:56 -0800 Message-ID: <8737sgfw83.fsf@dustycloud.org> References: <87egc38ab7.fsf@dustycloud.org> <20160225012828.GC31607@jasmine> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ1Ch-0003b8-4d for guix-devel@gnu.org; Thu, 25 Feb 2016 14:04:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZ1Cg-0000ai-Es for guix-devel@gnu.org; Thu, 25 Feb 2016 14:03:59 -0500 Received: from dustycloud.org ([2600:3c02::f03c:91ff:feae:cb51]:60966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ1Cg-0000ae-7P for guix-devel@gnu.org; Thu, 25 Feb 2016 14:03:58 -0500 In-reply-to: <20160225012828.GC31607@jasmine> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Leo Famulari Cc: guix-devel@gnu.org Leo Famulari writes: >> * gnu/packages/patches/python-paste-remove-website-test.patch: New file. > > Indeed, a strange test. > > [...] Yup :) >> +(define-public python2-paste >> + (package >> + (inherit (strip-python2-variant >> + (package-with-python2 python-paste))) >> + (arguments >> + ;; Tests are back for Python 2! >> + `(#:python ,python-2 >> + #:tests? #t)))) > > Is it really necessary to specify python-2 here? How about re-using the > method you used in python2-anyjson? You're right. Did that, and pushed!