From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gU32H-0000uA-6A for guix-patches@gnu.org; Tue, 04 Dec 2018 00:14:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gU323-0000fX-FE for guix-patches@gnu.org; Tue, 04 Dec 2018 00:14:10 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:55428) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gU323-0000de-1C for guix-patches@gnu.org; Tue, 04 Dec 2018 00:14:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gU322-0006sO-Ax for guix-patches@gnu.org; Tue, 04 Dec 2018 00:14:02 -0500 Subject: [bug#33565] [PATCH] gnu: Add python-xmltodict. Resent-Message-ID: From: Oleg Pykhalov References: <20181201201832.6344-1-go.wigust@gmail.com> <87tvju7n1w.fsf@gnu.org> Date: Tue, 04 Dec 2018 08:13:44 +0300 In-Reply-To: <87tvju7n1w.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 03 Dec 2018 14:32:59 +0100") Message-ID: <87efaxri0n.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 33565@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludovic. Thank you for review. ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Oleg Pykhalov skribis: > >> * gnu/packages/xml.scm (python-xmltodict, python2-xmltodict): New variab= les. > > [...] > >> + (home-page "https://github.com/martinblech/xmltodict") >> + (synopsis "Work with XML like you are working with JSON") >> + (description "This package provides a Python library to work with X= ML like >> +you are working with JSON") > > Could you expound a bit on what this means (I=E2=80=99m curious!) and add= a > period? It's a quote from the home page. :-) But in reality this Python library converts input string which contains XML to an OrderedDict object which looks like a JSON. Queries for data inside OrderedDict feels (I guess) like you're working with JSON. Maybe we should change a description to =E2=80=9CThis package provides a Python library to convert XML to OrderedDi= ct.=E2=80=9D, WDYT? >> +(define-public python2-xmltodict >> + (package-with-python2 python-xmltodict)) > > Unless you really need it, you should omit the Python 2.x variant. Sure, I'll omit. Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAlwGDQgACgkQFn+OpQAa +pz1nw//TW475Odo1tKeXUOSm8imK0rAr+T41AuUxYcJ3BOKr9RirWAbnBAj/oi6 XgJ7+PWBsNeOR04xoY0ndjqW2as49R6ZD/xy2iL9LG5/9eyNxvvhaTKRwIwfGT64 +xEJ1vmDN7AmUKidu8syGo6hqMZyKAdaGxtYC/HNiH5NSOqCoVaXvcyYkwkt5nqf uHDIx+GV9OZ+nJ6fqH8GgA8VNXA9ja1Fd/9rJQ6uLJfUeUqssMcR4cARqDp1vabP Gs8yn4wHhGA92fh/+RH7eqoxd+kP3+9qY350qaosj48SV9AouVxNEapfbkt91jmJ 9FYi8kbtsdGzXq3X0zUhr9/WxOchNwTDdjWRCSyhz+J8uoGkPMMSI6JqIeR1GHVp aNmWzHGBuUZ962FLD1Ab2nGEkZ9uuSxkFt5OJFWiy1wDZ+BOhY2EZyra+/956LDd zgXciwq9AoiEs//1YfpI4HKMygVpP/Ou6Xpxi2sxQLaDnNyRnqoXOSFkJuVDiGI0 KFyXbFnPvNG2kfikaHLjQxzuIbCkqgmNMBAQwK0uS01epwGWIRgx2hMdAzBLbdia rYNVACjL9MFXsGTbAASos6dm7UfaHrrVM9M1zj6Hoj1wPm95asMmGKc76HHxPVFT 6hOf3UnTKEfpo/5Fy9RrBSMz9WQHN0jBN0k61q5focQh2ggor2I= =SmEj -----END PGP SIGNATURE----- --=-=-=--