spack/var/spack/repos/builtin/packages/py-agate/package.py
Glenn Johnson 8b1bf2d613 Update py-csvkit (#14525)
* Update py-csvkit

This PR updates the py-csvkit package. This version requires a python
stack based on agate and this PR includes the new dependency packages.

- py-agate-dbf
- py-agate-excel
- py-agate-sql
- py-agate
- py-dbfread
- py-isodate
- py-leather
- py-parsedatetime
- py-python-slugify
- py-pytimeparse
- py-text-unidecode

* Replace the copy/pasted apostrophes

Python 2 can not process the copy/pasted apostrophes so replace them
with standard single quote character.

* Add version constraints on dependencies
2020-01-15 22:45:04 -06:00

27 lines
1.2 KiB
Python

# Copyright 2013-2020 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 PyAgate(PythonPackage):
"""agate is a Python data analysis library that is optimized for humans
instead of machines. It is an alternative to numpy and pandas that solves
real-world problems with readable code."""
homepage = "https://agate.readthedocs.io/en/latest/"
url = "https://pypi.io/packages/source/a/agate/agate-1.6.1.tar.gz"
version('1.6.1', sha256='c93aaa500b439d71e4a5cf088d0006d2ce2c76f1950960c8843114e5f361dfd3')
depends_on('py-setuptools', type='build')
depends_on('py-six@1.9.0:', type=('build', 'run'))
depends_on('py-pytimeparse@1.1.5:', type=('build', 'run'))
depends_on('py-parsedatetime@2.1:', type=('build', 'run'))
depends_on('py-babel@2.0:', type=('build', 'run'))
depends_on('py-isodate@0.5.4:', type=('build', 'run'))
depends_on('py-python-slugify@1.2.1:', type=('build', 'run'))
depends_on('py-leather@0.3.2:', type=('build', 'run'))