From patchwork Mon Nov 19 23:09:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: swedebugia X-Patchwork-Id: 247 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 4D24716811; Mon, 19 Nov 2018 23:11:20 +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,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 D92F21680E for ; Mon, 19 Nov 2018 23:11:19 +0000 (GMT) Received: from localhost ([::1]:59386 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOshK-0005sE-Uz for patchwork@mira.cbaines.net; Mon, 19 Nov 2018 18:11:18 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33737) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOshB-0005rB-Q1 for guix-patches@gnu.org; Mon, 19 Nov 2018 18:11:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gOsh5-0001Pe-Ux for guix-patches@gnu.org; Mon, 19 Nov 2018 18:11:09 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:57193) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gOsh4-0001P2-Jk for guix-patches@gnu.org; Mon, 19 Nov 2018 18:11:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gOsh4-0000xM-B7 for guix-patches@gnu.org; Mon, 19 Nov 2018 18:11:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33438] [PATCH] gnu: Add python-wikidata. Resent-From: swedebugia Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 19 Nov 2018 23:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33438 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33438@debbugs.gnu.org, pjotr.public12@thebird.nl X-Debbugs-Original-To: guix-patches@gnu.org, Pjotr Prins Received: via spool by submit@debbugs.gnu.org id=B.15426690043579 (code B ref -1); Mon, 19 Nov 2018 23:11:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Nov 2018 23:10:04 +0000 Received: from localhost ([127.0.0.1]:33218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gOsg4-0000vC-Ck for submit@debbugs.gnu.org; Mon, 19 Nov 2018 18:10:04 -0500 Received: from eggs.gnu.org ([208.118.235.92]:52095) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gOsg2-0000v0-TO for submit@debbugs.gnu.org; Mon, 19 Nov 2018 18:09:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gOsfw-0000rp-VC for submit@debbugs.gnu.org; Mon, 19 Nov 2018 18:09:53 -0500 Received: from lists.gnu.org ([2001:4830:134:3::11]:50107) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gOsfw-0000rY-RH for submit@debbugs.gnu.org; Mon, 19 Nov 2018 18:09:52 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33460) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOsfv-00059y-Rq for guix-patches@gnu.org; Mon, 19 Nov 2018 18:09:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gOsfs-0000p6-OZ for guix-patches@gnu.org; Mon, 19 Nov 2018 18:09:51 -0500 Received: from mx1.riseup.net ([198.252.153.129]:59288) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gOsfs-0000oY-Gm for guix-patches@gnu.org; Mon, 19 Nov 2018 18:09:48 -0500 Received: from cotinga.riseup.net (cotinga-pn.riseup.net [10.0.1.164]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 15B7C1A0C11; Mon, 19 Nov 2018 15:09:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1542668987; bh=IFVNX1UnD2DNZ7yRaFGmT5LE/Ep3dFLmxX5geBVUe7c=; h=To:From:Subject:Date:From; b=mDZ3ipfW016saLijz/pU/9WAxs78WI4R0MTeQZuONvBXX5GdpV1xbe5lkwwXLdjEE 4DeKEdb50/DJWOioRSKeaRmTBgNkRqhT6eO6/MZ6Oy98VpBqXAl+EzTJrk8BB78GlP wT7cJRvvfBNKH0lDyWzf0IIyZIqXHB5uuxSGU95Q= X-Riseup-User-ID: A602AF951A657539C2FA93CBD14A690C58E87D71C3CF8AC14A5865156AA9DD96 Received: from [127.0.0.1] (localhost [127.0.0.1]) by cotinga.riseup.net with ESMTPSA id A415910470F; Mon, 19 Nov 2018 15:09:45 -0800 (PST) From: swedebugia Message-ID: Date: Tue, 20 Nov 2018 00:09:43 +0100 MIME-Version: 1.0 Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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 First step towards integration between Guix<->Wikidata :D From 76c5e10a1a8f3657408a48170547becd9674898d Mon Sep 17 00:00:00 2001 From: swedebugia Date: Tue, 20 Nov 2018 00:07:19 +0100 Subject: [PATCH] gnu: Add python-wikidata. * gnu/packages/python.scm: New variable. --- gnu/packages/python.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 2b7482a3e..70cd9ee08 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -14630,3 +14630,24 @@ on regular expressions.") "This module implements the PRECIS Framework as described in RFC 8264, RFC 8265 and RFC 8266.") (license license:expat))) + +(define-public python-wikidata + (package + (name "python-wikidata") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri "https://files.pythonhosted.org/packages/8a/60/461dd0d04110bd55cea21bf5b3e58c3662955f5470e7ea0ea4a5542d1733/Wikidata-0.6.1.tar.gz") + (sha256 + (base32 + "08nlnydddfp1jj0cdmshvld1irzngbp3dij928wqsg9ziklm6mw9")))) + (build-system python-build-system) + (propagated-inputs + `(("python-babel" ,python-babel))) + (home-page "https://github.com/dahlia/wikidata") + (synopsis "Wikidata client library") + (description "Wikidata SPAQL client library which provides easy APIs to +use Wikidata.org for Python.") + (license license:gplv3))) ; unclear if "or later", bug filed + -- 2.18.0