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,15 @@
from spack import *
class PyJdcal(Package):
"""
Julian dates from proleptic Gregorian and Julian calendars
"""
homepage = 'http://github.com/phn/jdcal'
url = "https://pypi.python.org/packages/source/j/jdcal/jdcal-1.2.tar.gz"
version('1.2', 'ab8d5ba300fd1eb01514f363d19b1eb9')
extends('python')
def install(self, spec, prefix):
python('setup.py', 'install', '--prefix=%s' % prefix)