summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2021-02-26 03:30:18 -0600
committerGitHub <noreply@github.com>2021-02-26 10:30:18 +0100
commit229c6ae277d0e1cc4166c1c9e273c9f5d8c9f53b (patch)
tree2e8fc3682e095c1132b855f8579db8658de22232
parent46905bb4458fe6cca124f3e24261d70041aaf0f1 (diff)
downloadspack-229c6ae277d0e1cc4166c1c9e273c9f5d8c9f53b.tar.gz
spack-229c6ae277d0e1cc4166c1c9e273c9f5d8c9f53b.tar.bz2
spack-229c6ae277d0e1cc4166c1c9e273c9f5d8c9f53b.tar.xz
spack-229c6ae277d0e1cc4166c1c9e273c9f5d8c9f53b.zip
py-pooch: add new package (#21972)
-rw-r--r--var/spack/repos/builtin/packages/py-pooch/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pooch/package.py b/var/spack/repos/builtin/packages/py-pooch/package.py
new file mode 100644
index 0000000000..3bdb51c1b6
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pooch/package.py
@@ -0,0 +1,23 @@
+# 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 PyPooch(PythonPackage):
+ """Pooch manages your Python library's sample data files: it automatically
+ downloads and stores them in a local directory, with support for versioning
+ and corruption checks."""
+
+ homepage = "https://github.com/fatiando/pooch"
+ pypi = "pooch/pooch-1.3.0.tar.gz"
+
+ version('1.3.0', sha256='30d448e825904e2d763bbbe418831a788813c32f636b21c8d60ee5f474532898')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-requests', type=('build', 'run'))
+ depends_on('py-packaging', type=('build', 'run'))
+ depends_on('py-appdirs', type=('build', 'run'))