
- remove the old LGPL license headers from all files in Spack - add SPDX headers to all files - core and most packages are (Apache-2.0 OR MIT) - a very small number of remaining packages are LGPL-2.1-only
30 lines
1.0 KiB
Python
30 lines
1.0 KiB
Python
# Copyright 2013-2018 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 PyPackaging(PythonPackage):
|
|
"""Core utilities for Python packages."""
|
|
|
|
homepage = "https://github.com/pypa/packaging"
|
|
url = "https://pypi.io/packages/source/p/packaging/packaging-17.1.tar.gz"
|
|
|
|
import_modules = ['packaging']
|
|
|
|
version('17.1', '8baf8241d1b6b0a5fae9b00f359976a8')
|
|
version('16.8', '53895cdca04ecff80b54128e475b5d3b')
|
|
|
|
# Not needed for the installation, but used at runtime
|
|
depends_on('py-six', type='run')
|
|
depends_on('py-pyparsing', type='run')
|
|
|
|
# Newer versions of setuptools require packaging. Although setuptools is an
|
|
# optional dependency of packaging, if it is not found, setup.py will
|
|
# fallback on distutils.core instead. Don't add a setuptools dependency
|
|
# or we won't be able to bootstrap setuptools.
|
|
|
|
# depends_on('py-setuptools', type='build')
|