From patchwork Sat Dec 1 20:18:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleg Pykhalov X-Patchwork-Id: 363 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7CD8F1686D; Sat, 1 Dec 2018 20:20:16 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) by mira.cbaines.net (Postfix) with ESMTPS id 19D0416836 for ; Sat, 1 Dec 2018 20:20:16 +0000 (GMT) Received: from localhost ([::1]:42439 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gTBkN-0005k2-A4 for patchwork@mira.cbaines.net; Sat, 01 Dec 2018 15:20:15 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36981) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gTBkF-0005jY-VA for guix-patches@gnu.org; Sat, 01 Dec 2018 15:20:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gTBkB-0000Cu-1d for guix-patches@gnu.org; Sat, 01 Dec 2018 15:20:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:53029) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gTBkA-0000C6-V3 for guix-patches@gnu.org; Sat, 01 Dec 2018 15:20:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gTBkA-0004KC-Hy for guix-patches@gnu.org; Sat, 01 Dec 2018 15:20:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33565] [PATCH] gnu: Add python-xmltodict. Resent-From: Oleg Pykhalov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Dec 2018 20:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33565 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33565@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154369554516533 (code B ref -1); Sat, 01 Dec 2018 20:20:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Dec 2018 20:19:05 +0000 Received: from localhost ([127.0.0.1]:57284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gTBjE-0004Ib-SU for submit@debbugs.gnu.org; Sat, 01 Dec 2018 15:19:05 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55451) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gTBjD-0004I8-My for submit@debbugs.gnu.org; Sat, 01 Dec 2018 15:19:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gTBj7-0008Du-JV for submit@debbugs.gnu.org; Sat, 01 Dec 2018 15:18:58 -0500 Received: from lists.gnu.org ([2001:4830:134:3::11]:38940) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gTBj7-0008Dk-GG for submit@debbugs.gnu.org; Sat, 01 Dec 2018 15:18:57 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gTBj6-0005fc-Br for guix-patches@gnu.org; Sat, 01 Dec 2018 15:18:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gTBj1-0008Az-W6 for guix-patches@gnu.org; Sat, 01 Dec 2018 15:18:56 -0500 Received: from mail-lj1-x243.google.com ([2a00:1450:4864:20::243]:36388) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gTBj1-0008AM-OS for guix-patches@gnu.org; Sat, 01 Dec 2018 15:18:51 -0500 Received: by mail-lj1-x243.google.com with SMTP id g11-v6so7968599ljk.3 for ; Sat, 01 Dec 2018 12:18:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3eyFw4kasnV5zXVSlUnbCxTDaeV2JU9q3e3p4PPA/5w=; b=Bdm1GChe3O6qKqEzpkxjIsUdo7kYvUsOH5PekHUqpAPZCv1P+gueHB3KBEjB+XyT5c 6ekWEtR+LQh6keOtj3bKeD1pcI8HnYiKKujfmYLExErpw+M9KWO0xXUAHD7+IMhjz6q8 AbZwMz9hDpi1ieHruZsEAsU3pOo9MutYfgU+4j5GAPDkIE4MJGq1Xys9dNZH4fbyG1gL S2L214qFulUf7As0BVMs3lutailWuLWnyVSZ73f3PWWHfZMIbSpn5jVkn41eWmA0fGQR oF8o8E/gZIKLQy0P+KHodL+c8AEOAQMopjTCHmomlzV5TvUierq3xJVuBMwfC7ho5yqs qnZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3eyFw4kasnV5zXVSlUnbCxTDaeV2JU9q3e3p4PPA/5w=; b=VrDTkTRde2nqcvcDZvh0EqbRMCMeNm6O1SVPnlvBtGtFVczrgKaepdIZn5WU5Ka4sJ SY9q58u4waWHU1eWtDESJ/CO4FtB0DV60hIoty8jsOaXFfHMb+BPxbfX+fNdHO1xrzZB wo4Ru/ZJH1cRzb9uxTmLJx7WcX2TazO49f/QDIoOJW9cGIGkwZgrqgwiI2RacVYKyTA5 3LhTLP142B2huQKa6nkgtEMrWy5sXQPLOpp4OlojVgIDJrTXmqJJ1LvJ4aPU8N2SFpW9 y1da7UTeU2Ykgzi1nraEEL6S1+6b9bUBHiueka8sC5z2HdtVyP6Y4/jie9XcMbzVF1mF 4xwA== X-Gm-Message-State: AA+aEWY2ryEo9rNDqJ68lAvMqO6Q7hedN3E2ofRVD5X3AzR813IM1RsQ 4anm8nqyxS8sXJfnAen69uNC2n6IQsM= X-Google-Smtp-Source: AFSGD/VNKkem1KGLNh7jzaPYZUMwkX+r2oZMNz2/0LKlHctffA2JwT4RKKf0uoOrOa5UkBjETebCRA== X-Received: by 2002:a2e:2d11:: with SMTP id t17-v6mr6600452ljt.159.1543695529508; Sat, 01 Dec 2018 12:18:49 -0800 (PST) Received: from localhost.localdomain (ppp91-122-122-88.pppoe.avangarddsl.ru. [91.122.122.88]) by smtp.gmail.com with ESMTPSA id t19-v6sm1508960lje.23.2018.12.01.12.18.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 01 Dec 2018 12:18:48 -0800 (PST) From: Oleg Pykhalov Date: Sat, 1 Dec 2018 23:18:32 +0300 Message-Id: <20181201201832.6344-1-go.wigust@gmail.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/xml.scm (python-xmltodict, python2-xmltodict): New variables. --- gnu/packages/xml.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 347ac878a3..1bb6ba48aa 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -39,6 +39,7 @@ (define-module (gnu packages xml) #:use-module (gnu packages) #:use-module (gnu packages autotools) + #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages curl) #:use-module (gnu packages gnupg) @@ -2133,3 +2134,27 @@ It converts the procedure call into an XML document, sends it to a remote server using HTTP, and gets back the response as XML. This library provides a modular implementation of XML-RPC for C and C++.") (license (list license:psfl license:expat)))) + +(define-public python-xmltodict + (package + (name "python-xmltodict") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "xmltodict" version)) + (sha256 + (base32 + "1pxh4yjhvmxi1h6f92skv41g4kbsws3ams57150kzn18m907v3cg")))) + (build-system python-build-system) + (native-inputs + `(("python-coverage" ,python-coverage) + ("python-nose" ,python-nose))) + (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 XML like +you are working with JSON") + (license license:expat))) + +(define-public python2-xmltodict + (package-with-python2 python-xmltodict))