spack/var/spack/repos/builtin/packages/entt/package.py
Todd Gamblin a8ccb8e116 copyrights: update all files with license headers for 2021
- [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
2021-01-02 12:12:00 -08:00

29 lines
1.1 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)
class Entt(CMakePackage):
"""EnTT is a header-only, tiny and easy to use library for game
programming and much more written in modern C++, mainly known for its
innovative entity-component-system (ECS) model.
"""
homepage = "https://entt.docsforge.com"
url = "https://github.com/skypjack/entt/archive/v3.5.2.tar.gz"
version('3.5.2', sha256='f9271293c44518386c402c9a2188627819748f66302df48af4f6d08e30661036')
depends_on('cmake@3.7.0:', type='build')
depends_on('doxygen@1.8.0:', type='build')
# TODO: This list is not comprehensive, we might want to extend it later
compiler_warning = 'EnTT requires a compiler with support for C++17'
conflicts('%apple-clang@:10.1', msg=compiler_warning)
conflicts('%clang@:6', msg=compiler_warning)
conflicts('%gcc@:7.1', msg=compiler_warning)
def cmake_args(self):
return [
'-DBUILD_DOCS=ON'
]