[py-xonsh] added py-xonsh package (#28746)

* [py-xonsh] added py-xonsh package

* [py-xonsh] change dependency to python 3.6

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
Matthieu Dorier 2022-02-03 20:09:10 +00:00 committed by GitHub
parent 48b2cf54cf
commit 4a308d0d4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,21 @@
# 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)
from spack import *
class PyXonsh(PythonPackage):
"""Python-powered, cross-platform, Unix-gazing shell language and command prompt."""
homepage = "https://xon.sh/"
pypi = "xonsh/xonsh-0.11.0.tar.gz"
maintainers = ['mdorier']
version('0.11.0', sha256='0d9c3d9a4e8b8199ae697fbc9d1e0ae55085cdbdd4306d04813350996f9c15dc')
depends_on('python@3.6:', type=('build', 'run'))
depends_on('py-setuptools', type='build')