~ruther/guix-local

ref: ad3c61fcd3d6e2e3eab41aae642467f5eaf64b57 guix-local/gnu/packages/patches/python2-rdflib-drop-sparqlwrapper.patch -rw-r--r-- 604 bytes
ad3c61fc — Ricardo Wurmus gnu: python-hy: Update to 0.13.0. 8 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Drop SPARQLWrapper from the required install inputs under Python 2, as it
creates a circular dependency.

diff -u rdflib-4.1.2.alt/setup.py rdflib-4.1.2/setup.py
--- rdflib-4.1.2.alt/setup.py	2014-03-04 12:40:26.000000000 +0100
+++ rdflib-4.1.2/setup.py	2015-01-23 21:52:59.000000000 +0100
@@ -52,7 +52,7 @@
         kwargs['test_suite'] = "nose.collector"
         kwargs['install_requires'] = [
             'isodate',
-            'pyparsing', 'SPARQLWrapper']
+            'pyparsing']
 
         if sys.version_info[1]<7:  # Python 2.6
             kwargs['install_requires'].append('ordereddict')