[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25808: [PATCH 1/8] gnu: Add python-attrs.
From: |
Troy Sankey |
Subject: |
bug#25808: [PATCH 1/8] gnu: Add python-attrs. |
Date: |
Mon, 20 Feb 2017 01:37:35 -0500 |
* 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"))))
+ (build-system python-build-system)
+ (home-page "https://github.com/python-attrs/attrs/")
+ (synopsis "Attributes Without Boilerplate")
+ (description "@code{attrs} is an MIT-licensed Python package with class
+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
- bug#25808: Updating alot (and other collateral updates), Troy Sankey, 2017/02/20
- bug#25811: [PATCH 3/8] gnu: Add python-m2r., Troy Sankey, 2017/02/20
- bug#25808: [PATCH 1/8] gnu: Add python-attrs.,
Troy Sankey <=
- bug#25809: [PATCH 4/8] gnu: python-setuptools-scm: Update to 1.15.0., Troy Sankey, 2017/02/20
- bug#25810: [PATCH 2/8] gnu: Add python-constantly., Troy Sankey, 2017/02/20
- bug#25812: [PATCH 5/8] gnu: Add python-automat., Troy Sankey, 2017/02/20
- bug#25808: [PATCH 8/8] gnu: alot: Update to 0.5.1., Troy Sankey, 2017/02/20
- bug#25808: [PATCH 7/8] gnu: python-twisted: Update to 17.1.0., Troy Sankey, 2017/02/20
- bug#25808: [PATCH 6/8] gnu: Add python-incremental., Troy Sankey, 2017/02/20
- bug#25808: Updating alot (and other collateral updates), Troy Sankey, 2017/02/20
- bug#25808: (no subject), Troy Sankey, 2017/02/21
- bug#25808: [PATCH 2/8] gnu: Add python-constantly., Troy Sankey, 2017/02/21
- bug#25808: [PATCH 3/8] gnu: Add python-m2r., Troy Sankey, 2017/02/21