summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-csvkit/package.py
blob: def30457be4ed5cc0018fe081dd2cc76f9b5a42a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from spack import *

class PyCsvkit(Package):
    """A library of utilities for working with CSV, the king of tabular file
    formats"""

    homepage = 'http://csvkit.rtfd.org/'
    url      = "https://pypi.python.org/packages/source/c/csvkit/csvkit-0.9.1.tar.gz"

    version('0.9.1', '48d78920019d18846933ee969502fff6')

    extends('python')

    depends_on('py-dateutil')
    depends_on('py-dbf')
    depends_on('py-xlrd')
    depends_on('py-SQLAlchemy')
    depends_on('py-six')
    depends_on('py-openpyxl')

    def install(self, spec, prefix):
        python('setup.py', 'install', '--prefix=%s' % prefix)