From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH 04/12] gnu: python: Add python-binaryornot. Date: Mon, 8 Aug 2016 16:37:35 -0400 Message-ID: <20160808203735.GB21736@jasmine> References: <20160805183730.19049-2-david@craven.ch> <20160805183730.19049-4-david@craven.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34540) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWrIy-00047R-FS for guix-devel@gnu.org; Mon, 08 Aug 2016 16:37:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWrIv-0008BI-3S for guix-devel@gnu.org; Mon, 08 Aug 2016 16:37:48 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:48905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWrIt-0008AA-To for guix-devel@gnu.org; Mon, 08 Aug 2016 16:37:45 -0400 Content-Disposition: inline In-Reply-To: <20160805183730.19049-4-david@craven.ch> 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" To: David Craven Cc: guix-devel@gnu.org On Fri, Aug 05, 2016 at 08:37:22PM +0200, David Craven wrote: > * gnu/packages/python.scm (python-binaryornot): New package. > (python2-binaryornot): New package. > +(define-public python2-binaryornot > + (let ((binaryornot (package-with-python2 python-binaryornot))) > + (package (inherit binaryornot) > + (propagated-inputs > + `(("python2-enum34" ,python2-enum34) > + ,@(package-propagated-inputs binaryornot)))))) I believe this will need to use the python2-variant system, as in python2-hypothesis.