GNU bug report logs - #25810
[PATCH 2/8] gnu: Add python-constantly.

Previous Next

Package: guix-patches;

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

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

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


Message #10 received at 25810 <at> debbugs.gnu.org (full text, mbox):

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

> * gnu/packages/python.scm (python-constantly, python2-constantly): New
> variables.
> ---
>  gnu/packages/python.scm | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index e3904624c..9d2b977a7 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -12709,6 +12709,29 @@ Python.  It is based on Parsing Expression Grammars, PEG.  With pyPEG you can
>  parse many formal languages.")
>      (license license:gpl2)))
>  
> +(define-public python-constantly
> +  (package
> +    (name "python-constantly")
> +    (version "15.1.0")
> +    (source
> +      (origin
> +        (method url-fetch)
> +          (uri (pypi-uri "constantly" version))
> +        (sha256
> +          (base32
> +            "0dgwdla5kfpqz83hfril716inm41hgn9skxskvi77605jbmp4qsq"))))
> +    (build-system python-build-system)
> +    (home-page
> +      "https://github.com/twisted/constantly")
> +    (synopsis "Symbolic constants in Python")
> +    (description "A library that provides symbolic constant support.  It
> +includes collections and constants with text, numeric, and bit flag values.
> +Originally @code{twisted.python.constants} from the Twisted project.")
> +    (license license:expat)))
> +
> +(define-public python2-constantly
> +  (package-with-python2 python-constantly))

Indentation is off some places, and home-page should be a single line,
but LGTM otherwise.

> +
>  (define-public python-attrs
>    (package
>      (name "python-attrs")
> -- 
> 2.11.1
[signature.asc (application/pgp-signature, inline)]

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

Previous Next


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