summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kuhn <michael.kuhn@informatik.uni-hamburg.de>2020-05-25 14:23:41 +0200
committerGitHub <noreply@github.com>2020-05-25 14:23:41 +0200
commit9f2fc521659c3ea059e39c94a8aa43acabbb6435 (patch)
tree8c634a2b76e4659f27e28bed7a5c99137a00e9d6
parentd0e4414bb66805b4526c2320080eed583e32c5b5 (diff)
downloadspack-9f2fc521659c3ea059e39c94a8aa43acabbb6435.tar.gz
spack-9f2fc521659c3ea059e39c94a8aa43acabbb6435.tar.bz2
spack-9f2fc521659c3ea059e39c94a8aa43acabbb6435.tar.xz
spack-9f2fc521659c3ea059e39c94a8aa43acabbb6435.zip
py-pygments: added v2.6.1 (#16776)
-rw-r--r--var/spack/repos/builtin/packages/py-pygments/package.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-pygments/package.py b/var/spack/repos/builtin/packages/py-pygments/package.py
index c5da704ac0..87476c64d6 100644
--- a/var/spack/repos/builtin/packages/py-pygments/package.py
+++ b/var/spack/repos/builtin/packages/py-pygments/package.py
@@ -17,6 +17,7 @@ class PyPygments(PythonPackage):
'pygments.lexers', 'pygments.styles'
]
+ version('2.6.1', sha256='647344a061c249a3b74e230c739f434d7ea4d8b1d5f3721bc0f3558049b38f44')
version('2.4.2', sha256='881c4c157e45f30af185c1ffe8d549d48ac9127433f2c380c24b84572ad66297')
version('2.3.1', sha256='5ffada19f6203563680669ee7f53b64dabbeb100eb51b61996085e99c03b284a')
version('2.2.0', sha256='dbae1046def0efb574852fab9e90209b23f556367b5a320c0bcb871c77c3e8cc')
@@ -24,8 +25,9 @@ class PyPygments(PythonPackage):
version('2.0.1', sha256='5e039e1d40d232981ed58914b6d1ac2e453a7e83ddea22ef9f3eeadd01de45cb')
version('2.0.2', sha256='7320919084e6dac8f4540638a46447a3bd730fca172afc17d2c03eed22cf4f51')
- depends_on('python@2.7:2.8,3.5:', type=('build', 'run'))
- depends_on('py-setuptools', type='build')
+ depends_on('python@2.7:2.8,3.5:', type=('build', 'run'), when='@:2.5')
+ depends_on('python@3.5:', type=('build', 'run'), when='@2.6:')
+ depends_on('py-setuptools', type=('build', 'run'))
def test(self):
# Unit tests require sphinx, but that creates a circular dependency