[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25808: [PATCH 1/8] gnu: Add python-attrs.
From: |
Marius Bakke |
Subject: |
bug#25808: [PATCH 1/8] gnu: Add python-attrs. |
Date: |
Mon, 06 Mar 2017 14:00:01 +0100 |
User-agent: |
Notmuch/0.23.7 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu) |
Troy Sankey <address@hidden> writes:
> * gnu/packages/python.scm (python-attrs, python2-attrs): New variables.
> ---
> gnu/packages/python.scm | 24 +++++++++++++++++++++++-
> 1 file changed, 23 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 3e59b5892..e3904624c 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -22,7 +22,7 @@
> ;;; Copyright © 2016 Hartmut Goebel <address@hidden>
> ;;; Copyright © 2016 Daniel Pimentel <address@hidden>
> ;;; Copyright © 2016 Sou Bunnbu <address@hidden>
> -;;; Copyright © 2016 Troy Sankey <address@hidden>
> +;;; Copyright © 2016, 2017 Troy Sankey <address@hidden>
> ;;; Copyright © 2016, 2017 ng0 <address@hidden>
> ;;; Copyright © 2016 Dylan Jeffers <address@hidden@openmailbox.org>
> ;;; Copyright © 2016 David Craven <address@hidden>
> @@ -12708,3 +12708,25 @@ specified to apply on the key before comparison
> (e.g. @code{string.lower})).")
> Python. It is based on Parsing Expression Grammars, PEG. With pyPEG you can
> parse many formal languages.")
> (license license:gpl2)))
> +
> +(define-public python-attrs
> + (package
> + (name "python-attrs")
> + (version "16.3.0")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (pypi-uri "attrs" version))
> + (sha256
> + (base32
> + "1k1w8xg7mbd9r8624irnwnzlf3g8lqymba2sw6xz6diyf9vk2840"))))
Indentation is off in this section.
> + (build-system python-build-system)
> + (home-page "https://github.com/python-attrs/attrs/")
> + (synopsis "Attributes Without Boilerplate")
^ ^
Lowercase here.
> + (description "@code{attrs} is an MIT-licensed Python package with class
s/MIT-licensed//
> +decorators that ease the chores of implementing the most common
> +attribute-related object protocols.")
> + (license license:expat)))
> +
> +(define-public python2-attrs
> + (package-with-python2 python-attrs))
> --
> 2.11.1
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#25808: [PATCH 1/8] gnu: Add python-attrs.,
Marius Bakke <=