mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
24 lines
590 B
Ruby
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
|