mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
csvkit
This commit is contained in:
@@ -2,32 +2,26 @@ require 'package'
|
||||
|
||||
class Csvkit < Package
|
||||
description 'A suite of utilities for converting to and working with CSV, the king of tabular file formats.'
|
||||
homepage 'http://csvkit.rtfd.org/'
|
||||
version '1.0.4'
|
||||
homepage 'https://csvkit.rtfd.org/'
|
||||
@_ver = '1.0.6'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/wireservice/csvkit/archive/1.0.4.tar.gz'
|
||||
source_sha256 'e19c609894c42e850c25af1ca9082753f76f231450f70a70c46344bec45c1a66'
|
||||
|
||||
binary_url ({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/csvkit/1.0.4_armv7l/csvkit-1.0.4-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/csvkit/1.0.4_armv7l/csvkit-1.0.4-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/csvkit/1.0.4_i686/csvkit-1.0.4-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/csvkit/1.0.4_x86_64/csvkit-1.0.4-chromeos-x86_64.tar.xz',
|
||||
})
|
||||
binary_sha256 ({
|
||||
aarch64: 'b6d48277e99c02a4ae4afffed955682def7326cc6e24be797d35719cefb9f086',
|
||||
armv7l: 'b6d48277e99c02a4ae4afffed955682def7326cc6e24be797d35719cefb9f086',
|
||||
i686: 'dd6f3a7878131e5b5801415ef96f3b8462b32d3df95c59255194b5bc09e2d4c7',
|
||||
x86_64: '01d05a5337a2aeb7488ad7129cc19ac342e6dac19fe07f7487a4ec3cd0751d78',
|
||||
})
|
||||
source_url 'https://github.com/wireservice/csvkit.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
depends_on 'py3_six'
|
||||
depends_on 'py3_agate_dbf'
|
||||
depends_on 'py3_agate'
|
||||
depends_on 'py3_agate_excel'
|
||||
depends_on 'py3_agate_sql'
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "pip install --prefix #{CREW_PREFIX} \
|
||||
--root #{CREW_DEST_DIR} \
|
||||
-r requirements-py2.txt \
|
||||
-r requirements-py3.txt csvkit"
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
|
||||
24
packages/py3_agate_dfb.rb
Normal file
24
packages/py3_agate_dfb.rb
Normal file
@@ -0,0 +1,24 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_agate_dfb < Package
|
||||
description 'Agate-dbf adds read support for DBF files to agate.'
|
||||
homepage 'https://agate-dbf.readthedocs.org/'
|
||||
@_ver = '0.2.2'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/wireservice/agate-dbf.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
depends_on 'py3_dbfread'
|
||||
depends_on 'py3_agate'
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
26
packages/py3_agate_excel.rb
Normal file
26
packages/py3_agate_excel.rb
Normal file
@@ -0,0 +1,26 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_agate_excel < Package
|
||||
description 'Agate-excel read support for Excel files (xls and xlsx) to agate.'
|
||||
homepage 'https://agate-excel.readthedocs.io/'
|
||||
@_ver = '0.2.4'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/wireservice/agate-excel.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
depends_on 'py3_xlrd'
|
||||
depends_on 'py3_openpyxl'
|
||||
depends_on 'py3_olefile'
|
||||
depends_on 'py3_agate'
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
24
packages/py3_agate_sql.rb
Normal file
24
packages/py3_agate_sql.rb
Normal file
@@ -0,0 +1,24 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_agate_sql < Package
|
||||
description 'Agate-sql adds SQL read/write support to agate.'
|
||||
homepage 'https://agate-sql.readthedocs.org/'
|
||||
@_ver = '0.5.7'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/wireservice/agate-sql.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
depends_on 'py3_agate'
|
||||
depends_on 'py3_sqlalchemy'
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
22
packages/py3_dbfread.rb
Normal file
22
packages/py3_dbfread.rb
Normal file
@@ -0,0 +1,22 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_dbfread < Package
|
||||
description 'DBFread reads DBF Files with Python.'
|
||||
homepage 'https://dbfread.readthedocs.io/'
|
||||
@_ver = '2.0.7'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/olemb/dbfread.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
22
packages/py3_et_xmlfile.rb
Normal file
22
packages/py3_et_xmlfile.rb
Normal file
@@ -0,0 +1,22 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_et_xmlfile < Package
|
||||
description 'Et-xmlfile is an implementation of lxml\'s xmlfile module for the standard library\'s ElementTree.'
|
||||
homepage 'https://openpyxl.readthedocs.io/'
|
||||
@_ver = '1.1'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://foss.heptapod.net/openpyxl/et_xmlfile.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
24
packages/py3_greenlet.rb
Normal file
24
packages/py3_greenlet.rb
Normal file
@@ -0,0 +1,24 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_greenlet < Package
|
||||
description 'Greenlet provides lightweight in-process concurrent programming.'
|
||||
homepage 'https://greenlet.readthedocs.io/'
|
||||
@_ver = '1.1.0'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/python-greenlet/greenlet.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
depends_on 'py3_agate'
|
||||
depends_on 'py3_sqlalchemy'
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
23
packages/py3_openpyxl.rb
Normal file
23
packages/py3_openpyxl.rb
Normal file
@@ -0,0 +1,23 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_openpyxl < Package
|
||||
description 'Openpyxl is a Python library to read/write Excel 2010 xlsx/xlsm files.'
|
||||
homepage 'https://openpyxl.readthedocs.io/'
|
||||
@_ver = '3.0.7'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://foss.heptapod.net/openpyxl/openpyxl.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
depends_on 'py3_et_xmlfile'
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
22
packages/py3_sqlalchemy.rb
Normal file
22
packages/py3_sqlalchemy.rb
Normal file
@@ -0,0 +1,22 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_sqlalchemy < Package
|
||||
description 'SQLalchemy is a database toolkit for Python.'
|
||||
homepage 'https://sqlalchemy.org'
|
||||
@_ver = '0.5.7'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/sqlalchemy/sqlalchemy.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user