From 814c2bf2f4b9db13b2aef7e7e8b8aebc469bbc6d Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Tue, 16 Nov 2021 16:07:35 +0530 Subject: gn: python-sparqlwrapper: Remove package. python-sparqlwrapper has been upstreamed. * gn/packages/python.scm (python-sparqlwrapper): Delete variable. --- gn/packages/python.scm | 38 -------------------------------------- 1 file changed, 38 deletions(-) (limited to 'gn/packages') diff --git a/gn/packages/python.scm b/gn/packages/python.scm index 3793b01..76b4ec9 100644 --- a/gn/packages/python.scm +++ b/gn/packages/python.scm @@ -1245,44 +1245,6 @@ handles recursion and lists.") "A tool to create Python classes that represent JSON objects defined in JSG.") (license license:asl2.0))) -(define-public python-sparqlwrapper - (package - (name "python-sparqlwrapper") - (version "1.8.5") - (source - (origin - (method url-fetch) - (uri (pypi-uri "SPARQLWrapper" version)) - (sha256 - (base32 - "0g7va1l37iq96abqqn6b4a6sjxxh5m3h1svsw1h1c56siidnp9nn")))) - (build-system python-build-system) - (arguments - '(#:tests? #f ; 2to3 doesn't quite do it for the test suite. - #:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (if tests? - (begin ;; from run_tests_py3.sh - (invoke "2to3" "-wn" "--no-diffs" "test") - (substitute* "test/wrapper_test.py" - (("urllib2._opener") "urllib.request._opener")) - (setenv "PYTHONPATH" - (string-append "SPARQLWrapper:" - (getenv "PYTHONPATH"))) - (invoke "nosetests")) - #t)))))) - (propagated-inputs - `(("python-rdflib" ,python-rdflib))) - (native-inputs - `(("python-nose" ,python-nose))) - (home-page "https://rdflib.dev/sparqlwrapper/") - (synopsis "SPARQL Endpoint interface to Python") - (description - "THis package provides a SPARQL Endpoint interface to Python.") - (license license:w3c))) - (define-public python-sparql-slurper (package (name "python-sparql-slurper") -- cgit v1.2.3