summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-05-10 01:29:08 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-05-10 01:29:08 -0700
commitb1da3664ec5de664f2bf4bf49ddcc083dd6037f1 (patch)
treea85b8b636182ee7c4561c27cf70120d25608dffd /var
parent87c772b1178f178c49001365f150b6c47d9f4496 (diff)
parent7255f6969bee64de99de81d3323261b50072f5ce (diff)
downloadspack-b1da3664ec5de664f2bf4bf49ddcc083dd6037f1.tar.gz
spack-b1da3664ec5de664f2bf4bf49ddcc083dd6037f1.tar.bz2
spack-b1da3664ec5de664f2bf4bf49ddcc083dd6037f1.tar.xz
spack-b1da3664ec5de664f2bf4bf49ddcc083dd6037f1.zip
Merge pull request #795 from adamjstewart/features/argcomplete
Add argcomplete python package
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-argcomplete/package.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-argcomplete/package.py b/var/spack/repos/builtin/packages/py-argcomplete/package.py
new file mode 100644
index 0000000000..c94ef7238b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-argcomplete/package.py
@@ -0,0 +1,14 @@
+from spack import *
+
+class PyArgcomplete(Package):
+ """Bash tab completion for argparse."""
+
+ homepage = "https://pypi.python.org/pypi/argcomplete"
+ url = "https://pypi.python.org/packages/source/a/argcomplete/argcomplete-1.1.1.tar.gz"
+
+ version('1.1.1', '89a3839096c9f991ad33828e72d21abf')
+
+ extends('python')
+
+ def install(self, spec, prefix):
+ python('setup.py', 'install', '--prefix=%s' % prefix)