diff options
author | Andreas Enge <andreas@enge.fr> | 2015-02-25 00:56:31 +0100 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2015-02-25 00:58:20 +0100 |
commit | da71f145c6bf1aab4e5e9378609f4d5d6eae1093 (patch) | |
tree | bd6df9ac5aa2523b8265c46d8121a9fbc02a5ce0 /gnu/packages/patches | |
parent | 3dd7547666250c56c43ed216a9e8a0ae9a694107 (diff) | |
download | guix-da71f145c6bf1aab4e5e9378609f4d5d6eae1093.tar.gz |
gnu: Add python2-rdflib.
* gnu/packages/rdf.scm (python2-rdflib): New variable. (python-rdflib): Add patch. * gnu/packages/patches/python2-rdflib-drop-sparqlwrapper.patch: New file. * gnu-system.am (dist_patch_DATA): Register patch.
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r-- | gnu/packages/patches/python2-rdflib-drop-sparqlwrapper.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/patches/python2-rdflib-drop-sparqlwrapper.patch b/gnu/packages/patches/python2-rdflib-drop-sparqlwrapper.patch new file mode 100644 index 0000000000..53f8fde9de --- /dev/null +++ b/gnu/packages/patches/python2-rdflib-drop-sparqlwrapper.patch @@ -0,0 +1,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') + |