Merge pull request #144805 from fabaff/bump-rdflib

python3Packages.rdflib: 6.0.1 -> 6.0.2
This commit is contained in:
Fabian Affolter 2021-11-06 10:31:23 +01:00 committed by GitHub
commit 4ce91f3340
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 74 additions and 28 deletions

View File

@ -28,8 +28,15 @@ buildPythonPackage rec {
pydot
];
# Multiple tests are out-dated and failing
doCheck = false;
pythonImportsCheck = [
"prov"
];
meta = with lib; {
description = "A Python library for W3C Provenance Data Model (PROV)";
description = "Python library for W3C Provenance Data Model (PROV)";
homepage = "https://github.com/trungdong/prov";
license = licenses.mit;
maintainers = with maintainers; [ ashgillman ];

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; [ ];
};
}

View File

@ -1,11 +1,14 @@
{ lib
, python3Packages
, python3
, fetchFromGitHub
}:
python3Packages.buildPythonApplication rec {
pname = "pyLODE";
python3.pkgs.buildPythonApplication rec {
pname = "pylode";
version = "2.12.0";
format = "setuptools";
disabled = python3.pythonOlder "3.6";
src = fetchFromGitHub {
owner = "RDFLib";
@ -14,22 +17,32 @@ python3Packages.buildPythonApplication rec {
sha256 = "sha256-X/YiJduAJNiceIrlCFwD2PFiMn3HVlzr9NzyDvYcql8=";
};
propagatedBuildInputs = with python3Packages; [
python-dateutil
propagatedBuildInputs = with python3.pkgs; [
beautifulsoup4
falcon
gunicorn
isodate
jinja2
markdown
python-dateutil
rdflib
requests
six
beautifulsoup4
];
postPatch = ''
substituteInPlace requirements.txt \
--replace "rdflib==6.0.0" "rdflib"
'';
# Path issues with the tests
doCheck = false;
pythonImportsCheck = [
"pylode"
];
meta = with lib; {
description = "An OWL ontology documentation tool using Python and templating, based on LODE";
description = "OWL ontology documentation tool using Python and templating, based on LODE";
homepage = "https://github.com/RDFLib/pyLODE";
# Next release will move to BSD3
license = licenses.gpl3Only;
maintainers = with maintainers; [ koslambrou ];
};