summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-07-29 16:02:06 -0500
committerPeter Scheibel <scheibel1@llnl.gov>2019-07-29 14:02:06 -0700
commitc3dc63ce8f6b2dbc21751572d498f8affefe7320 (patch)
tree226076c921ce8a8068b397a82443973c369d9257 /var
parent3e02dc258bd6e9f4d4e604f21c482bf2005ab662 (diff)
downloadspack-c3dc63ce8f6b2dbc21751572d498f8affefe7320.tar.gz
spack-c3dc63ce8f6b2dbc21751572d498f8affefe7320.tar.bz2
spack-c3dc63ce8f6b2dbc21751572d498f8affefe7320.tar.xz
spack-c3dc63ce8f6b2dbc21751572d498f8affefe7320.zip
New package: py-pytest-isort (#12160)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-isort/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pytest-isort/package.py b/var/spack/repos/builtin/packages/py-pytest-isort/package.py
new file mode 100644
index 0000000000..e07fd1b80f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pytest-isort/package.py
@@ -0,0 +1,19 @@
+# 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 PyPytestIsort(PythonPackage):
+ """py.test plugin to check import ordering using isort"""
+
+ homepage = "http://github.com/moccu/pytest-isort/"
+ url = "https://pypi.io/packages/source/p/pytest-isort/pytest-isort-0.3.1.tar.gz"
+ import_modules = ['pytest_isort']
+
+ version('0.3.1', sha256='4bfee60dad1870b51700d55a85f5ceda766bd9d3d2878c1bbabee80e61b1be1a')
+
+ depends_on('py-pytest@3.5:', type=('build', 'run'))
+ depends_on('py-isort@4.0:', type=('build', 'run'))