
* 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
20 lines
732 B
Python
20 lines
732 B
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 PyAgateSql(PythonPackage):
|
|
"""agate-sql adds SQL read/write support to agate."""
|
|
|
|
homepage = "https://agate-sql.readthedocs.io/en/latest/"
|
|
url = "https://pypi.io/packages/source/a/agate-sql/agate-sql-0.5.4.tar.gz"
|
|
|
|
version('0.5.4', sha256='9277490ba8b8e7c747a9ae3671f52fe486784b48d4a14e78ca197fb0e36f281b')
|
|
|
|
depends_on('py-setuptools', type='build')
|
|
depends_on('py-agate@1.5.0:', type=('build', 'run'))
|
|
depends_on('py-sqlalchemy@1.0.8:', type=('build', 'run'))
|