summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2021-05-14 03:06:39 -0500
committerGitHub <noreply@github.com>2021-05-14 10:06:39 +0200
commit14fc5604dd3ea4eed67ad79e195435262893bf33 (patch)
treec0ec050d1149881347d2501d63509b3a81d0f6ce /var
parentd64fd1238bcaaa02821a0bcabbda550ed258bc7a (diff)
downloadspack-14fc5604dd3ea4eed67ad79e195435262893bf33.tar.gz
spack-14fc5604dd3ea4eed67ad79e195435262893bf33.tar.bz2
spack-14fc5604dd3ea4eed67ad79e195435262893bf33.tar.xz
spack-14fc5604dd3ea4eed67ad79e195435262893bf33.zip
py-rarfile: add new package (#23622)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-rarfile/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-rarfile/package.py b/var/spack/repos/builtin/packages/py-rarfile/package.py
new file mode 100644
index 0000000000..b7d81e5499
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-rarfile/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2021 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 PyRarfile(PythonPackage):
+ """RAR archive reader for Python."""
+
+ homepage = "https://github.com/markokr/rarfile"
+ pypi = "rarfile/rarfile-4.0.tar.gz"
+
+ version('4.0', sha256='67548769229c5bda0827c1663dce3f54644f9dbfba4ae86d4da2b2afd3e602a1')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('unrar', type='run')