Add py-csvkit package

This adds the py-csvkit package and needed dependencies for working with
csv files.
This commit is contained in:
Glenn Johnson
2016-04-24 17:39:49 -05:00
parent ed16bd133a
commit 797af2e80f
6 changed files with 104 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
from spack import *
class PyDbf(Package):
"""
Pure python package for reading/writing dBase, FoxPro, and Visual FoxPro
.dbf files (including memos).
"""
homepage = 'https://pypi.python.org/pypi/dbf'
url = "https://pypi.python.org/packages/source/d/dbf/dbf-0.96.005.tar.gz"
version('0.96.005', 'bce1a1ed8b454a30606e7e18dd2f8277')
extends('python')
def install(self, spec, prefix):
python('setup.py', 'install', '--prefix=%s' % prefix)