# Copyright 2013-2022 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)


class PyDistro(PythonPackage):
    """Distro - an OS platform information API."""

    homepage = "https://github.com/nir0s/distro"
    pypi = "distro/distro-1.5.0.tar.gz"

    version('1.6.0', sha256='83f5e5a09f9c5f68f60173de572930effbcc0287bb84fdc4426cb4168c088424')
    version('1.5.0', sha256='0e58756ae38fbd8fc3020d54badb8eae17c5b9dcbed388b17bb55b8a5928df92')

    depends_on('py-setuptools', type='build')
