summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-flit/package.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-flit/package.py b/var/spack/repos/builtin/packages/py-flit/package.py
index 78a14fcb0a..59407cfc1c 100644
--- a/var/spack/repos/builtin/packages/py-flit/package.py
+++ b/var/spack/repos/builtin/packages/py-flit/package.py
@@ -9,13 +9,18 @@ from spack import *
class PyFlit(PythonPackage):
"""Flit is a simple way to put Python packages and modules on PyPI."""
+ homepage = "https://github.com/pypa/flit"
pypi = "flit/flit-3.3.0.tar.gz"
maintainers = ['takluyver']
+ version('3.6.0', sha256='b1464e006df4df4c8eeb37671c0e0ce66e1d04e4a36d91b702f180a25fde3c11')
version('3.3.0', sha256='65fbe22aaa7f880b776b20814bd80b0afbf91d1f95b17235b608aa256325ce57')
depends_on('python@3.6:', type=('build', 'run'))
- depends_on('py-flit-core@3.3.0:', type=('build', 'run'))
+ depends_on('py-flit-core@3.6.0:3', when='@3.6.0:3.6', type=('build', 'run'))
+ depends_on('py-flit-core@3.3.0:3', when='@3.3.0:3.3', type=('build', 'run'))
depends_on('py-requests', type=('build', 'run'))
depends_on('py-docutils', type=('build', 'run'))
- depends_on('py-toml', type=('build', 'run'))
+ depends_on('py-tomli', when='@3.4:', type=('build', 'run'))
+ depends_on('py-tomli-w', when='@3.4:', type=('build', 'run'))
+ depends_on('py-toml', when='@3.3.0:3.3', type=('build', 'run'))