spack/var/spack/repos/builtin/packages/py-entrypoints/package.py
Michael Kuhn 2fed84058d py-flake8: Add missing dependencies for @3.7.7 (#10796)
* Update dependencies for py-flake8 when building version 3.7.7
* Add FIXME comment for an example dependency constraint which causes
  concretization to hang
* Add py-entrypoints version 0.3
* Add py-pycodestyle version 2.5.0
2019-03-07 12:50:30 -06:00

22 lines
784 B
Python

# Copyright 2013-2019 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 PyEntrypoints(PythonPackage):
"""Discover and load entry points from installed packages."""
homepage = "https://pypi.python.org/pypi/entrypoints"
url = "https://pypi.io/packages/source/e/entrypoints/entrypoints-0.2.3.tar.gz"
import_modules = ['entrypoints']
version('0.3', 'c70dd71abe5a8c85e55e12c19bd91ccfeec11a6e99044204511f9ed547d48451')
version('0.2.3', '0d3ad1b0130d91e3596ef3a59f25a56c')
depends_on('python@2.7:', type=('build', 'run'))
depends_on('py-configparser', when='^python@:2.8', type=('build', 'run'))