python3Packages.rdflib: 6.0.1 -> 6.0.2

This commit is contained in:
Fabian Affolter 2021-11-05 16:14:30 +01:00
parent 9d7df9dcc3
commit b7fceb1fd9

View file

@ -1,36 +1,62 @@
{ buildPythonPackage
{ lib
, buildPythonPackage
, fetchPypi
, isodate
, html5lib
, SPARQLWrapper
, isodate
, networkx
, nose
, python
, pyparsing
, tabulate
, pandas
, pytestCheckHook
, pythonOlder
, SPARQLWrapper
}:
buildPythonPackage rec {
pname = "rdflib";
version = "6.0.1";
version = "6.0.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "f071caff0b68634e4a7bd1d66ea3416ac98f1cc3b915938147ea899c32608728";
sha256 = "sha256-YTauBWABR07ir/X8W5VuYqEcOpxmuw89nAqqX7tWhU4=";
};
propagatedBuildInputs = [isodate html5lib SPARQLWrapper ];
propagatedBuildInputs = [
isodate
html5lib
pyparsing
SPARQLWrapper
];
checkInputs = [ networkx nose ];
checkInputs = [
networkx
pandas
nose
tabulate
pytestCheckHook
];
# Python 2 syntax
# Failing doctest
doCheck = false;
disabledTests = [
# Requires network access
"api_key"
"BerkeleyDBTestCase"
"test_bad_password"
"test_service"
"testGuessFormatForParse"
];
checkPhase = ''
${python.interpreter} run_tests.py
'';
pythonImportsCheck = [
"rdflib"
];
meta = {
description = "A Python library for working with RDF, a simple yet powerful language for representing information";
homepage = "http://www.rdflib.net/";
meta = with lib; {
description = "Python library for working with RDF";
homepage = "https://rdflib.readthedocs.io";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}