summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-kaggle/package.py
blob: 44b8abbdc8ce5c18dff80878a29fe3d2fdf28914 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 2013-2022 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'))