
* 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
21 lines
801 B
Python
21 lines
801 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 PyDbfread(PythonPackage):
|
|
"""DBF is a file format used by databases such dBase, Visual FoxPro, and
|
|
FoxBase+. This library reads DBF files and returns the data as native
|
|
Python data types for further processing. It is primarily intended for
|
|
batch jobs and one-off scripts."""
|
|
|
|
homepage = "https://dbfread.readthedocs.io/en/latest/"
|
|
url = "https://pypi.io/packages/source/d/dbfread/dbfread-2.0.7.tar.gz"
|
|
|
|
version('2.0.7', sha256='07c8a9af06ffad3f6f03e8fe91ad7d2733e31a26d2b72c4dd4cfbae07ee3b73d')
|
|
|
|
depends_on('py-setuptools', type='build')
|