Files
chromebrew/packages/py3_openpyxl.rb
saltedcoffii ad00d003ef csvkit
2021-07-21 07:40:29 -07:00

24 lines
590 B
Ruby

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