summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLevi Baber <baberlevi@gmail.com>2019-02-07 03:09:20 -0600
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2019-02-07 10:09:20 +0100
commit07b5a6a5121c632fed25238da3e3c22b05c41815 (patch)
tree4fbea64a991f83420ec93b4305cc9a2c9380c10f
parent4679c1109875b39189f9058a27b9824b36f538a4 (diff)
downloadspack-07b5a6a5121c632fed25238da3e3c22b05c41815.tar.gz
spack-07b5a6a5121c632fed25238da3e3c22b05c41815.tar.bz2
spack-07b5a6a5121c632fed25238da3e3c22b05c41815.tar.xz
spack-07b5a6a5121c632fed25238da3e3c22b05c41815.zip
perl-file-homedir: new package (#10533)
-rw-r--r--var/spack/repos/builtin/packages/perl-file-homedir/package.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/perl-file-homedir/package.py b/var/spack/repos/builtin/packages/perl-file-homedir/package.py
new file mode 100644
index 0000000000..df87fae468
--- /dev/null
+++ b/var/spack/repos/builtin/packages/perl-file-homedir/package.py
@@ -0,0 +1,17 @@
+# 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 PerlFileHomedir(PerlPackage):
+ """Find your home and other directories on any platform"""
+
+ homepage = "https://metacpan.org/pod/File::HomeDir"
+ url = "https://cpan.metacpan.org/authors/id/R/RE/REHSACK/File-HomeDir-1.004.tar.gz"
+
+ version('1.004', sha256='45f67e2bb5e60a7970d080e8f02079732e5a8dfc0c7c3cbdb29abfb3f9f791ad')
+
+ depends_on('perl-file-which', type=('build', 'run'))