diff options
author | Glenn Johnson <glenn-johnson@uiowa.edu> | 2020-01-15 22:45:04 -0600 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2020-01-15 22:45:04 -0600 |
commit | 8b1bf2d6134060898bc3758b41927be1aa82a9b2 (patch) | |
tree | b1fdcb1a04563c0b0921f0b045e472486b4cd196 /var/spack/repos/builtin/packages/py-parsedatetime/package.py | |
parent | a48fb69601340a9f9db65be04d5f62a0092eb631 (diff) | |
download | spack-8b1bf2d6134060898bc3758b41927be1aa82a9b2.tar.gz spack-8b1bf2d6134060898bc3758b41927be1aa82a9b2.tar.bz2 spack-8b1bf2d6134060898bc3758b41927be1aa82a9b2.tar.xz spack-8b1bf2d6134060898bc3758b41927be1aa82a9b2.zip |
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
Diffstat (limited to 'var/spack/repos/builtin/packages/py-parsedatetime/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/py-parsedatetime/package.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-parsedatetime/package.py b/var/spack/repos/builtin/packages/py-parsedatetime/package.py new file mode 100644 index 0000000000..afb8db85bb --- /dev/null +++ b/var/spack/repos/builtin/packages/py-parsedatetime/package.py @@ -0,0 +1,17 @@ +# 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 PyParsedatetime(PythonPackage): + """Parse human-readable date/time strings.""" + + homepage = "https://github.com/bear/parsedatetime" + url = "https://pypi.io/packages/source/p/parsedatetime/parsedatetime-2.5.tar.gz" + + version('2.5', sha256='d2e9ddb1e463de871d32088a3f3cea3dc8282b1b2800e081bd0ef86900451667') + + depends_on('py-setuptools', type='build') |