summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-python-editor/package.py
blob: be29ac7acdf34f2efd28743f26a7f62857046552 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright 2013-2022 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 PyPythonEditor(PythonPackage):
    """python-editor is a library that provides the editor module for
    programmatically interfacing with your system's EDITOR variable."""

    pypi = "python-editor/python-editor-1.0.4.tar.gz"

    version('1.0.4', sha256='51fda6bcc5ddbbb7063b2af7509e43bd84bfc32a4ff71349ec7847713882327b')

    depends_on('python@2.7.0:2.7,3.4:', type=('build', 'run'))
    depends_on('py-setuptools', type='build')