From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: [PATCH 5/6] gnu: Add python2-ruamel.ordereddict Date: Thu, 09 Feb 2017 23:57:31 +0100 Message-ID: <87tw83rmzo.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> References: <20170209174837.30914-1-fredmanglis@gmail.com> <20170209174837.30914-5-fredmanglis@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52477) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbxek-0003Th-SN for guix-devel@gnu.org; Thu, 09 Feb 2017 17:57:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbxeg-0006H4-Vi for guix-devel@gnu.org; Thu, 09 Feb 2017 17:57:38 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:47584) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cbxeg-0006Ge-Rb for guix-devel@gnu.org; Thu, 09 Feb 2017 17:57:34 -0500 In-Reply-To: <20170209174837.30914-5-fredmanglis@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Cc: Muriithi Frederick Muriuki --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Muriithi Frederick Muriuki writes: > * 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) solve= r") > (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 Insert= ion Order (KIO: > + updates of values do not affect the position of the key), Key Value Ins= ertion 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 ordereddi= ct functionality. > +Sorted dictionaries are also provided. Currently only with Key Sorted O= rder (KSO, no > + sorting function can be specified, but a transform can be specified to = apply on the key > + before comparison (e.g. string.lower)).") I shortened the lengths a bit and added @dfn{} wrappers around the various acronym definitions. Pushed! > + (license license:expat))) > --=20 > 2.10.2 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlic89wACgkQoqBt8qM6 VPrjWQgAqudUmuD2IWtlgy4H6rkskn2wX2mlPpHTDnLf61mmYevTadUrGq4Ero60 nd59tllFO6f8kKBp2WyZB18ZHrlLshV4do/zJU1LBdH29H+obqCVJqI697nsQVt6 3kIqcWf+FULya1oEtCwb8P4E+RyMfGQs3Mm5+SCtzZoUGXuSrETuL9iT+NL9rDl2 BgSMPwBrLvobj9/B+XS8/71qvfFqZpm84ACnCkuIgP1Xg81zYaiedAmmjvHPRb0X 6IThcQrR6Q2TidXZRRPK7P62dAKFa4EhZK4xIH65peCDa2to93sRS9YMh6XcJODU VbW4kMoF3C7jdlFzK7I8haRM5wGAmQ== =EC9o -----END PGP SIGNATURE----- --=-=-=--