unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Muriithi Frederick Muriuki <fredmanglis@gmail.com>
To: guix-devel@gnu.org
Cc: Muriithi Frederick Muriuki <fredmanglis@gmail.com>
Subject: [PATCH 5/6] gnu: Add python2-ruamel.ordereddict
Date: Thu,  9 Feb 2017 20:48:36 +0300	[thread overview]
Message-ID: <20170209174837.30914-5-fredmanglis@gmail.com> (raw)
In-Reply-To: <20170209174837.30914-1-fredmanglis@gmail.com>

* gnu/packages/python.scm (python2-ruamel.ordereddict): 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 e9df67c..ec9cbb7 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -12625,3 +12625,31 @@ faster ones are not available.")
  i.e. when importing pycosat, the @code{picosat} solver becomes part of the Python process
  itself.  @code{picosat} is a Boolean Satisfiability Problem (SAT) solver")
     (license license:expat)))
+
+(define-public python2-ruamel.ordereddict
+  (package
+    (name "python2-ruamel.ordereddict")
+    (version "0.4.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "ruamel.ordereddict" version))
+       (sha256
+        (base32
+         "1xmkl8v9l9inm2pyxgc1fm5005yxm7fkd5gv74q7lj1iy5qc8n3h"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:python ,python-2))
+    (home-page
+     "https://bitbucket.org/ruamel/ordereddict")
+    (synopsis
+     "Version of dict that keeps keys in insertion resp. sorted order")
+    (description
+     "This is an implementation of an ordered dictionary with Key Insertion Order (KIO:
+ updates of values do not affect the position of the key), Key Value Insertion Order
+ (KVIO, an existing key's position is removed and put at the back).  The standard library
+ module OrderedDict, implemented later, implements a subset of ordereddict functionality.
+Sorted dictionaries are also provided.  Currently only with Key Sorted Order (KSO, no
+ sorting function can be specified, but a transform can be specified to apply on the key
+ before comparison (e.g. string.lower)).")
+    (license license:expat)))
-- 
2.10.2

  parent reply	other threads:[~2017-02-09 17:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-09 17:48 [PATCH 1/6] gnu: Add python-rst2ansi Muriithi Frederick Muriuki
2017-02-09 17:48 ` [PATCH 2/6] gnu: Add python-flake8-polyfill Muriithi Frederick Muriuki
2017-02-09 22:54   ` Marius Bakke
2017-02-09 17:48 ` [PATCH 3/6] gnu: Add python-ddt Muriithi Frederick Muriuki
2017-02-09 22:54   ` Marius Bakke
2017-02-09 17:48 ` [PATCH 4/6] gnu: Add python-pycosat Muriithi Frederick Muriuki
2017-02-09 22:56   ` Marius Bakke
2017-02-09 17:48 ` Muriithi Frederick Muriuki [this message]
2017-02-09 22:57   ` [PATCH 5/6] gnu: Add python2-ruamel.ordereddict Marius Bakke
2017-02-09 17:48 ` [PATCH 6/6] gnu: Add python-2 variants of packages Muriithi Frederick Muriuki
2017-02-09 18:45   ` ng0
2017-02-09 22:51 ` [PATCH 1/6] gnu: Add python-rst2ansi Marius Bakke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170209174837.30914-5-fredmanglis@gmail.com \
    --to=fredmanglis@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).