Add py-aenum package (#11716)
This commit is contained in:
parent
91ef079511
commit
954a36c499
20
var/spack/repos/builtin/packages/py-aenum/package.py
Normal file
20
var/spack/repos/builtin/packages/py-aenum/package.py
Normal file
@ -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')
|
Loading…
Reference in New Issue
Block a user