From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42010) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eliBJ-0004eQ-HI for guix-patches@gnu.org; Tue, 13 Feb 2018 16:32:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eliBG-0004Yh-Bg for guix-patches@gnu.org; Tue, 13 Feb 2018 16:32:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:33975) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eliBG-0004Yc-6W for guix-patches@gnu.org; Tue, 13 Feb 2018 16:32:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eliBG-0002Xc-0Q for guix-patches@gnu.org; Tue, 13 Feb 2018 16:32:02 -0500 Subject: [bug#30446] [PATCH 3/3] gnu: Add me-cleaner. Resent-Message-ID: Date: Tue, 13 Feb 2018 22:29:35 +0100 From: Danny Milosavljevic Message-ID: <20180213222935.4332e0f9@scratchpost.org> In-Reply-To: <20180213192150.GC31517@jasmine.lan> References: <20180213180001.4339-1-dannym@scratchpost.org> <20180213180145.4412-1-dannym@scratchpost.org> <20180213180145.4412-3-dannym@scratchpost.org> <20180213192150.GC31517@jasmine.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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" Cc: 30446@debbugs.gnu.org On Tue, 13 Feb 2018 14:21:50 -0500 Leo Famulari wrote: > On Tue, Feb 13, 2018 at 07:01:45PM +0100, Danny Milosavljevic wrote: > > * gnu/packages/flashing-tools.scm (me-cleaner): New variable. > > > + (build-system python-build-system) > > + (arguments > > + `(#:phases > > + (modify-phases %standard-phases > > + (add-after 'unpack 'create-setup.py > > + (lambda _ > > + (call-with-output-file "setup.py" > > + (lambda (port) > > + (format port "\ > > +from setuptools import setup > > +setup(name='me_cleaner', version='~a', scripts=['me_cleaner.py']) > > +" ,version)))))))) Note to self: forgot the #t.