Subject: Re: [bug#33438] [PATCH] gnu: Add python-wikidata.
From: [email-masked] (Ludovic Courtès)
To: swedebugia <[email-masked]>
Cc: [email-masked], [email-masked]
Date: Wed, 21 Nov 2018 11:29:50 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

swedebugia <[email-masked]> skribis:

>>From 76c5e10a1a8f3657408a48170547becd9674898d Mon Sep 17 00:00:00 2001
> From: swedebugia <[email-masked]>
> Date: Tue, 20 Nov 2018 00:07:19 +0100
> Subject: [PATCH] gnu: Add python-wikidata.
>
> * gnu/packages/python.scm: New variable.

Applied with these changes:

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e13c1cad39..d87b1315e6 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14625,7 +14625,7 @@ RFC 8265 and RFC 8266.")
     (source
      (origin
        (method url-fetch)
-       (uri "https://files.pythonhosted.org/packages/8a/60/461dd0d04110bd55cea21bf5b3e58c3662955f5470e7ea0ea4a5542d1733/Wikidata-0.6.1.tar.gz")
+       (uri (pypi-uri "Wikidata" version))
        (sha256
         (base32
          "08nlnydddfp1jj0cdmshvld1irzngbp3dij928wqsg9ziklm6mw9"))))
@@ -14634,7 +14634,8 @@ RFC 8265 and RFC 8266.")
      `(("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
-
+    (description
+     "This package provides a Python interface to
+@url{https://www.wikidata.org/, Wikidata}.")
+    (properties '((upstream-name . "Wikidata")))
+    (license license:gpl3+)))

The ‘PKG-INFO’ file reads this:

  License: GPLv3 or later

and there are no source file headers contradicting it, so it’s
definitely GPLv3+.

Thank you!

Ludo’.