diff options
-rw-r--r-- | var/spack/repos/builtin/packages/py-rdflib/package.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-rdflib/package.py b/var/spack/repos/builtin/packages/py-rdflib/package.py index ae79ffa481..4820a359af 100644 --- a/var/spack/repos/builtin/packages/py-rdflib/package.py +++ b/var/spack/repos/builtin/packages/py-rdflib/package.py @@ -18,9 +18,12 @@ class PyRdflib(PythonPackage): homepage = "https://github.com/RDFLib/rdflib" pypi = "rdflib/rdflib-5.0.0.tar.gz" + version('6.0.2', sha256='6136ae056001474ee2aff5fc5b956e62a11c3a9c66bb0f3d9c0aaa5fbb56854e') version('5.0.0', sha256='78149dd49d385efec3b3adfbd61c87afaf1281c30d3fcaf1b323b34f603fb155') - depends_on('py-setuptools', type='build') - depends_on('py-six', type=('build', 'run')) + depends_on('python@3.7:', when='@6:', type='build') + depends_on('py-setuptools', when='@:5', type='build') + depends_on('py-setuptools', when='@6:', type=('build', 'run')) depends_on('py-pyparsing', type=('build', 'run')) depends_on('py-isodate', type=('build', 'run')) + depends_on('py-six', when='@:5', type=('build', 'run')) |