Files
chromebrew/packages/py3_six.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

23 lines
731 B
Ruby

require 'buildsystems/python'
class Py3_six < Python
description 'Six is a Python 2 and 3 compatibility library.'
homepage 'https://six.readthedocs.io/'
@_ver = '1.16.0'
version "#{@_ver}-py3.12"
license 'MIT'
compatibility 'all'
source_url 'https://github.com/benjaminp/six.git'
git_hashtag @_ver
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'b5ef7eb707aaa94914ddb32ffeb0304e9748ad57e652caf6093a2c2e773e8de8',
armv7l: 'b5ef7eb707aaa94914ddb32ffeb0304e9748ad57e652caf6093a2c2e773e8de8',
i686: '9ae136763deaf287cb3f842024aa1a40051b81d58f6feb8f3d42c8ec4685e337',
x86_64: 'ddb7383ccc5f776481cce40336e2e34343b5d694a78722183d56ae0c58286f1d'
})
depends_on 'python3' => :build
end