summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2021-12-24 11:47:44 -0500
committerGitHub <noreply@github.com>2021-12-24 10:47:44 -0600
commite028ee0d5903045e1cdeb57550cbff61f2ffb2fa (patch)
treefc291e833daa95842fb08d415eceee5942ae9045 /var
parent7fa31911fe43175da1597adefcfc4b4494ac05f3 (diff)
downloadspack-e028ee0d5903045e1cdeb57550cbff61f2ffb2fa.tar.gz
spack-e028ee0d5903045e1cdeb57550cbff61f2ffb2fa.tar.bz2
spack-e028ee0d5903045e1cdeb57550cbff61f2ffb2fa.tar.xz
spack-e028ee0d5903045e1cdeb57550cbff61f2ffb2fa.zip
New package: py-kaggle (#28152)
* new package * changed py-six dependency Co-authored-by: Sid Pendelberry <sid@rit.edu>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-kaggle/package.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-kaggle/package.py b/var/spack/repos/builtin/packages/py-kaggle/package.py
new file mode 100644
index 0000000000..ba1a60d85c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-kaggle/package.py
@@ -0,0 +1,26 @@
+# 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 PyKaggle(PythonPackage):
+ """Official API for https://www.kaggle.com, accessible using a command line
+ tool implemented in Python. Beta release - Kaggle reserves the right to
+ modify the API functionality currently offered."""
+
+ homepage = "https://github.com/Kaggle/kaggle-api"
+ pypi = "kaggle/kaggle-1.5.12.tar.gz"
+
+ version('1.5.12', sha256='b4d87d107bff743aaa805c2b382c3661c4c175cdb159656d4972be2a9cef42cb')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-six@1.10:', type=('build', 'run'))
+ depends_on('py-certifi', type=('build', 'run'))
+ depends_on('py-python-dateutil', type=('build', 'run'))
+ depends_on('py-requests', type=('build', 'run'))
+ depends_on('py-tqdm', type=('build', 'run'))
+ depends_on('py-python-slugify', type=('build', 'run'))
+ depends_on('py-urllib3', type=('build', 'run'))