From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41923) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dakMa-00038n-95 for guix-patches@gnu.org; Thu, 27 Jul 2017 11:06:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dakMU-0005yx-FQ for guix-patches@gnu.org; Thu, 27 Jul 2017 11:06:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56125) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dakMU-0005yt-Ce for guix-patches@gnu.org; Thu, 27 Jul 2017 11:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dakMU-0005HF-4s for guix-patches@gnu.org; Thu, 27 Jul 2017 11:06:02 -0400 Subject: [bug#27851] Update eyed3. ([PATCH 1/2] gnu: Add python-grako) Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dakLk-00036m-Ik for guix-patches@gnu.org; Thu, 27 Jul 2017 11:05:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dakLh-0005Qj-C8 for guix-patches@gnu.org; Thu, 27 Jul 2017 11:05:16 -0400 Received: from s02-out.spamexperts.axc.nl ([185.175.200.125]:54351) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dakLh-0005K5-6I for guix-patches@gnu.org; Thu, 27 Jul 2017 11:05:13 -0400 Received: from vserver42.axc.nl ([185.182.56.92]) by s02.spamexperts.axc.nl with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1dakLR-00084l-6I for guix-patches@gnu.org; Thu, 27 Jul 2017 17:05:02 +0200 Received: from mail.axc.nl ([185.182.56.42]:60128) by vserver42.axc.nl with esmtp (Exim 4.89) (envelope-from ) id 1dakLJ-000807-F9 for guix-patches@gnu.org; Thu, 27 Jul 2017 17:04:54 +0200 Date: Thu, 27 Jul 2017 17:04:46 +0200 (CEST) Message-Id: <20170727.170446.688232707598375727.post@thomasdanckaert.be> From: Thomas Danckaert Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Thu_Jul_27_17_04_46_2017_860)--" 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" To: 27851@debbugs.gnu.org ----Next_Part(Thu_Jul_27_17_04_46_2017_860)-- Content-Type: Text/Plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi Guix, I'm sending two patches to update eyed3 to version 0.8 (and switch it over to python3). This patch adds grako, a new requirement for eyed3 0.8. Question: do we need a python2 variant for every python package? At the moment, eyed3 is the only package using grako, and I've switched eyed3 to python3. I think it's OK to leave out the python2 versio of grako then (we can always add it if a future package needs it)? For now I included it in the patch. Thomas ----Next_Part(Thu_Jul_27_17_04_46_2017_860)-- Content-Type: Text/X-Patch; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="0001-gnu-Add-python-grako.patch" >From 1916f4d665b55be7e1ed9dad087dc9a24f8cdace Mon Sep 17 00:00:00 2001 From: Thomas Danckaert Date: Thu, 27 Jul 2017 16:45:19 +0200 Subject: [PATCH 1/2] gnu: Add python-grako * gnu/packages/python.scm (python-grako): New variable. --- gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index d110a1cb3..466ff705a 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -4983,6 +4983,34 @@ Python language binding specification.") (define-public python2-drmaa (package-with-python2 python-drmaa)) +(define-public python-grako + (package + (name "python-grako") + (version "3.99.9") + (source + (origin + (method url-fetch) + (uri + (pypi-uri "grako" version ".zip")) + (sha256 + (base32 + "0r63i68wcnv63rfjkasq1ah81frz61a6mzbcnaxhrkdpx84p7hzw")))) + (build-system python-build-system) + (arguments '(#:tests? #f)) ; Test file 'grako.ebnf' is missing from archive. + (native-inputs + `(("unzip" ,unzip) + ("python-pytest" ,python-pytest-3.0) + ("python-pytest-runner" ,python-pytest-runner))) + (home-page "https://bitbucket.org/neogeny/grako") + (synopsis "EBNF parser generator") + (description + "Grako takes a grammar in a variation of EBNF as input, and outputs a +memoizing PEG/Packrat parser in Python.") + (license license:bsd-3))) + +(define-public python2-grako + (package-with-python2 python-grako)) + (define-public python-gridmap (package (name "python-gridmap") -- 2.13.2 ----Next_Part(Thu_Jul_27_17_04_46_2017_860)----