spack/var/spack/repos/builtin/packages/py-auxlib/package.py
Adam J. Stewart a4accff266
PythonPackage: url -> pypi (#20610)
* Convert all `url` attributes in `PythonPackage`s to `pypi` attributes
* add `pypi =` to flake8 exceptions
2020-12-29 16:44:04 -08:00

21 lines
763 B
Python

# Copyright 2013-2020 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 PyAuxlib(PythonPackage):
"""Auxlib is an auxiliary library to the python standard library."""
homepage = "https://github.com/kalefranz/auxlib"
pypi = "auxlib/auxlib-0.0.43.tar.gz"
version('0.0.43', sha256='0f175637e96a090a785767ce28483cf1aeec316a19afce9b2fbd113e1122786a')
depends_on('py-setuptools', type='build')
depends_on('py-enum34', type=('build', 'run'), when='^python@:3.3')
depends_on('py-ordereddict', type=('build', 'run'), when='^python@:2.6')
depends_on('py-wheel', type=('build', 'run'))