From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: New package: python-glances Date: Wed, 14 Sep 2016 16:46:06 -0400 Message-ID: <20160914204606.GB1913@jasmine> References: <87k2ef1sbm.fsf@xsteve.at> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42890) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkH4X-0005Ev-Lp for guix-devel@gnu.org; Wed, 14 Sep 2016 16:46:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkH4S-0006dd-KO for guix-devel@gnu.org; Wed, 14 Sep 2016 16:46:20 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:50919) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkH4R-0006bF-EV for guix-devel@gnu.org; Wed, 14 Sep 2016 16:46:16 -0400 Content-Disposition: inline In-Reply-To: <87k2ef1sbm.fsf@xsteve.at> 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: Stefan =?iso-8859-1?Q?Reich=F6r?= Cc: guix-devel@gnu.org On Tue, Sep 13, 2016 at 10:02:37PM +0200, Stefan Reichör wrote: > Subject: [PATCH] gnu: Add python-glances Thank you for this patch! For Python software, we like to add packages for both the Python 3 and Python 2 versions, if the software supports it. The PyPi page [0] suggests that Glances does work on both Python 2 and 3. > + (native-inputs > + `(("python-setuptools" ,python-setuptools))) I tried building without setuptools, and the build did succeed. However, setuptools is probably required for the Python 2 variant of the package. There is a recent example of how to do this in the commit "gnu: Add python-lit, python2-lit." (243db8245e6d8ee6aae80ce4606fb58cb8b23443). Can you send an updated patch that adds both python-glances and python2-glances using the method demonstrated there?