
- [x] add `concretize.lp`, `spack.yaml`, etc. to licensed files - [x] update all licensed files to say 2013-2021 using `spack license update-copyright-year` - [x] appease mypy with some additions to package.py that needed for oneapi.py
28 lines
1.4 KiB
Python
28 lines
1.4 KiB
Python
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
|
#
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
from spack import *
|
|
|
|
|
|
class PyMoreItertools(PythonPackage):
|
|
"""Additions to the standard Python itertools package."""
|
|
|
|
homepage = "https://github.com/erikrose/more-itertools"
|
|
pypi = "more-itertools/more-itertools-7.2.0.tar.gz"
|
|
|
|
version('7.2.0', sha256='409cd48d4db7052af495b09dec721011634af3753ae1ef92d2b32f73a745f832')
|
|
version('7.0.0', sha256='c3e4748ba1aad8dba30a4886b0b1a2004f9a863837b8654e7059eebf727afa5a')
|
|
version('5.0.0', sha256='38a936c0a6d98a38bcc2d03fdaaedaba9f412879461dd2ceff8d37564d6522e4')
|
|
version('4.3.0', sha256='c476b5d3a34e12d40130bc2f935028b5f636df8f372dc2c1c01dc19681b2039e')
|
|
version('4.1.0', sha256='c9ce7eccdcb901a2c75d326ea134e0886abfbea5f93e91cc95de9507c0816c44')
|
|
version('2.2', sha256='93e62e05c7ad3da1a233def6731e8285156701e3419a5fe279017c429ec67ce0')
|
|
|
|
depends_on('python@3.5:', when='@7.1:', type=('build', 'run'))
|
|
depends_on('python@3.4:', when='@6:', type=('build', 'run'))
|
|
depends_on('python@2.7:2.8,3.2:', when='@2.3:', type=('build', 'run'))
|
|
depends_on('python@2.6:2.8,3.2:', type=('build', 'run'))
|
|
depends_on('py-setuptools', type='build')
|
|
depends_on('py-six@1.0.0:1.999', when='@:5', type=('build', 'run'))
|