diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2019-08-02 23:33:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-02 23:33:37 -0500 |
commit | 958d385e0925d8d79ddc1df233540508de4b0cfc (patch) | |
tree | 0fefe2690df1d5c10385d4b14156510227fc99da | |
parent | 0de42519cf227d2ad2a2ad2594d86d6e9171abf0 (diff) | |
download | spack-958d385e0925d8d79ddc1df233540508de4b0cfc.tar.gz spack-958d385e0925d8d79ddc1df233540508de4b0cfc.tar.bz2 spack-958d385e0925d8d79ddc1df233540508de4b0cfc.tar.xz spack-958d385e0925d8d79ddc1df233540508de4b0cfc.zip |
Add py-pyasn1-modules package (#12258)
-rw-r--r-- | var/spack/repos/tutorial/packages/py-pyasn1-modules/package.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/tutorial/packages/py-pyasn1-modules/package.py b/var/spack/repos/tutorial/packages/py-pyasn1-modules/package.py new file mode 100644 index 0000000000..33b1cc145b --- /dev/null +++ b/var/spack/repos/tutorial/packages/py-pyasn1-modules/package.py @@ -0,0 +1,21 @@ +# 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 PyPyasn1Modules(PythonPackage): + """A collection of ASN.1 modules expressed in form of pyasn1 classes. + Includes protocols PDUs definition (SNMP, LDAP etc.) and various data + structures (X.509, PKCS etc.).""" + + homepage = "https://github.com/etingof/pyasn1-modules" + url = "https://pypi.io/packages/source/p/pyasn1-modules/pyasn1-modules-0.2.6.tar.gz" + + version('0.2.6', sha256='43c17a83c155229839cc5c6b868e8d0c6041dba149789b6d6e28801c64821722') + + depends_on('python@2.4:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-pyasn1@0.4.6:0.4.999', type=('build', 'run')) |