summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-hacking/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-hacking/package.py b/var/spack/repos/builtin/packages/py-hacking/package.py
new file mode 100644
index 0000000000..983753ceaa
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-hacking/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 PyHacking(PythonPackage):
+ """OpenStack Hacking Guideline Enforcement."""
+
+ homepage = "https://docs.openstack.org/hacking/latest/"
+ url = "https://pypi.io/packages/source/h/hacking/hacking-1.1.0.tar.gz"
+
+ import_modules = ['hacking']
+
+ version('1.1.0', sha256='23a306f3a1070a4469a603886ba709780f02ae7e0f1fc7061e5c6fb203828fee')
+
+ depends_on('py-setuptools', type='build')