diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2019-06-16 01:39:54 -0500 |
---|---|---|
committer | Greg Becker <becker33@llnl.gov> | 2019-06-16 08:39:54 +0200 |
commit | 954a36c499d653e290717618f15de400f3fbf28a (patch) | |
tree | c1c5290b28c1cdc54a697af25c32560723b0c613 | |
parent | 91ef079511bae6d14837d1fc38d5f061843d8b9f (diff) | |
download | spack-954a36c499d653e290717618f15de400f3fbf28a.tar.gz spack-954a36c499d653e290717618f15de400f3fbf28a.tar.bz2 spack-954a36c499d653e290717618f15de400f3fbf28a.tar.xz spack-954a36c499d653e290717618f15de400f3fbf28a.zip |
Add py-aenum package (#11716)
-rw-r--r-- | var/spack/repos/builtin/packages/py-aenum/package.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-aenum/package.py b/var/spack/repos/builtin/packages/py-aenum/package.py new file mode 100644 index 0000000000..cdeae51f60 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-aenum/package.py @@ -0,0 +1,20 @@ +# 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 PyAenum(PythonPackage): + """Advanced Enumerations (compatible with Python's stdlib Enum), + NamedTuples, and NamedConstants.""" + + homepage = "https://bitbucket.org/stoneleaf/aenum" + url = "https://pypi.io/packages/source/a/aenum/aenum-2.1.2.tar.gz" + + import_modules = ['aenum'] + + version('2.1.2', sha256='a3208e4b28db3a7b232ff69b934aef2ea1bf27286d9978e1e597d46f490e4687') + + depends_on('py-setuptools', type='build') |