python310Packages.sparqlwrapper: normalize attr

This commit is contained in:
Sandro Jäckel 2022-03-31 11:50:51 +02:00 committed by Martin Weinelt
parent 544c77ba0f
commit f20d368f2f
4 changed files with 10 additions and 12 deletions

View file

@ -3,7 +3,7 @@
, fetchPypi
, isodate
, html5lib
, SPARQLWrapper
, sparqlwrapper
, networkx
, nose
, python
@ -18,7 +18,7 @@ buildPythonPackage rec {
sha256 = "d34493cee15029ff5db16157429585ff863ba5542675a4d8a94a0da1bc6e3a50";
};
propagatedBuildInputs = [ isodate html5lib SPARQLWrapper ];
propagatedBuildInputs = [ isodate html5lib sparqlwrapper ];
checkInputs = [ networkx nose ];

View file

@ -1,31 +1,28 @@
{ lib
, buildPythonPackage
, fetchPypi
, six
, isodate
, pyparsing
, html5lib
, keepalive
}:
buildPythonPackage rec {
pname = "SPARQLWrapper";
pname = "sparqlwrapper";
version = "2.0.0";
src = fetchPypi {
inherit pname version;
pname = "SPARQLWrapper";
inherit version;
sha256 = "sha256-P+0+vMd2F6SnTSZEuG/Yjg8y5/cAOseyszTAJiAXMfE=";
};
# break circular dependency loop
patchPhase = ''
sed -i '/rdflib/d' requirements.txt
sed -i '/rdflib/d' setup.cfg
'';
# Doesn't actually run tests
doCheck = false;
propagatedBuildInputs = [ six isodate pyparsing html5lib keepalive ];
propagatedBuildInputs = [ keepalive ];
meta = with lib; {
description = "This is a wrapper around a SPARQL service. It helps in creating the query URI and, possibly, convert the result into a more manageable format";

View file

@ -112,6 +112,7 @@ mapAliases ({
requests_oauthlib = requests-oauthlib; # added 2022-02-12
requests_toolbelt = requests-toolbelt; # added 2017-09-26
roboschool = throw "roboschool is deprecated in favor of PyBullet and has been removed"; # added 2022-01-15
ROPGadget = ropgadget; # added 2021-07-06
rotate-backups = throw "rotate-backups was removed in favor of the top-level rotate-backups"; # added 2021-07-01
ruamel_base = ruamel-base; # added 2021-11-01
ruamel_yaml = ruamel-yaml; # added 2021-11-01
@ -119,9 +120,9 @@ mapAliases ({
scikitlearn = scikit-learn; # added 2021-07-21
selectors34 = throw "selectors34 has been removed: functionality provided by Python itself; archived by upstream."; # added 2021-06-10
setuptools_scm = setuptools-scm; # added 2021-06-03
ROPGadget = ropgadget; # added 2021-07-06
smart_open = smart-open; # added 2021-03-14
smmap2 = throw "smmap2 has been deprecated, use smmap instead."; # added 2020-03-14
SPARQLWrapper = sparqlwrapper;
sphinxcontrib_plantuml = sphinxcontrib-plantuml; # added 2021-08-02
sqlalchemy_migrate = sqlalchemy-migrate; # added 2021-10-28
tensorflow-bin_2 = tensorflow-bin; # added 2021-11-25

View file

@ -9475,7 +9475,7 @@ in {
sparklines = callPackage ../development/python-modules/sparklines { };
SPARQLWrapper = callPackage ../development/python-modules/sparqlwrapper { };
sparqlwrapper = callPackage ../development/python-modules/sparqlwrapper { };
sparse = callPackage ../development/python-modules/sparse { };