GNU bug report logs - #25812
[PATCH 5/8] gnu: Add python-automat.

Previous Next

Package: guix-patches;

Reported by: Troy Sankey <sankeytms <at> gmail.com>

Date: Mon, 20 Feb 2017 06:38:07 UTC

Severity: normal

Tags: patch

Done: Troy Sankey <sankeytms <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Marius Bakke <mbakke <at> fastmail.com>
To: Troy Sankey <sankeytms <at> gmail.com>, 25812 <at> debbugs.gnu.org
Subject: bug#25812: [PATCH 5/8] gnu: Add python-automat.
Date: Mon, 06 Mar 2017 14:04:23 +0100
[Message part 1 (text/plain, inline)]
Troy Sankey <sankeytms <at> gmail.com> writes:

> * gnu/packages/python.scm (python-automat, python2-automat): New
> variables.

LGTM (again, with indentation fix).

> ---
>  gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++
>  1 file changed, 29 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 5e2da0b27..e91beff18 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -12709,6 +12709,35 @@ Python.  It is based on Parsing Expression Grammars, PEG.  With pyPEG you can
>  parse many formal languages.")
>      (license license:gpl2)))
>  
> +(define-public python-automat
> +  (package
> +    (name "python-automat")
> +    (version "0.5.0")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (pypi-uri "Automat" version))
> +        (sha256
> +          (base32
> +            "1hnpknkqnc2m900kkzrzx9l6g5dy5dassrdj9pn34x1pcdkyr2a8"))))
> +    (build-system python-build-system)
> +    (native-inputs
> +     `(("python-m2r" ,python-m2r)
> +       ("python-setuptools-scm" ,python-setuptools-scm)))
> +    (propagated-inputs
> +     `(("python-six" ,python-six)
> +       ("python-attrs" ,python-attrs)))
> +    (home-page "https://github.com/glyph/Automat")
> +    (synopsis
> +      "Self-service finite-state machines for the programmer on the go")
> +    (description "Automat is a library for concise, idiomatic Python expression
> +of finite-state automata (particularly deterministic finite-state
> +transducers).")
> +    (license license:expat)))
> +
> +(define-public python2-automat
> +  (package-with-python2 python-automat))
> +
>  (define-public python-m2r
>    (package
>      (name "python-m2r")
> -- 
> 2.11.1
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 8 years and 78 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.