Files
chromebrew/packages/py3_agate_excel.rb
Maximilian Downey Twiss f6dc1d8d4e Derive binary_url in package.rb (#7082)
* Add binary_compression value to each package

* Remove binary_url values and arrays

* Handle packages with empty binary_sha256 arrays (either missing binaries or not compiled by us)
2024-01-25 11:03:31 -05:00

27 lines
879 B
Ruby

require 'buildsystems/python'
class Py3_agate_excel < Python
description 'Agate-excel read support for Excel files (xls and xlsx) to agate.'
homepage 'https://agate-excel.readthedocs.io/'
@_ver = '0.2.5'
version "#{@_ver}-py3.12"
license 'MIT'
compatibility 'all'
source_url 'https://github.com/wireservice/agate-excel.git'
git_hashtag @_ver
binary_compression 'tar.zst'
binary_sha256({
aarch64: '4f804ad7c84de28dfad5c481c1dd132cc75e3b0b8e8278f67e9568864ffd4c0c',
armv7l: '4f804ad7c84de28dfad5c481c1dd132cc75e3b0b8e8278f67e9568864ffd4c0c',
i686: '6a342a02b18fe5d55a8d3e84ee1c56bfdf4f48b218966413f23b80919afd9c9e',
x86_64: '659068f5cfaaa2fb56a5cdaa06a49d7479e806a7c3a4420ab80fa6c78c3463e4'
})
depends_on 'py3_xlrd'
depends_on 'py3_openpyxl'
depends_on 'py3_olefile'
depends_on 'py3_agate'
depends_on 'python3' => :build
end