Files
chromebrew/packages/py3_pyyaml.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
724 B
Ruby

require 'buildsystems/python'
class Py3_pyyaml < Python
description 'PyYAML is a YAML parser and emitter for Python.'
homepage 'https://pyyaml.org/'
@_ver = '6.0.1'
version "#{@_ver}-py3.12"
license 'MIT'
compatibility 'all'
source_url 'https://github.com/yaml/pyyaml.git'
git_hashtag @_ver
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'bbc7b4b957aeface6608ead58485471925135277349e95b199c86af4c0a4b8a6',
armv7l: 'bbc7b4b957aeface6608ead58485471925135277349e95b199c86af4c0a4b8a6',
i686: 'd3aea082e6209a30b56ae96634d92db119daf8536a5a3f050219b90c5426264c',
x86_64: '3bedebe429f6ec3710043f45798815264c31b46325a79c3e96cfeb225ed7d0f1'
})
depends_on 'python3' => :build
end