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

25 lines
829 B
Ruby

require 'buildsystems/python'
class Py3_attrs < Python
description 'Attrs removes the need to implement object protocols in classes.'
homepage 'https://www.attrs.org/'
@_ver = '23.1.0'
version "#{@_ver}-py3.12"
license 'MIT'
compatibility 'all'
source_url 'https://github.com/python-attrs/attrs.git'
git_hashtag @_ver
binary_compression 'tar.zst'
binary_sha256({
aarch64: '57e52146352bafb1bb479df276c66bca71793054ed0bb0628fc2b54a1b982b07',
armv7l: '57e52146352bafb1bb479df276c66bca71793054ed0bb0628fc2b54a1b982b07',
i686: '4a7de667ea62ac4dd2ac687ba8a4015aa7a08a9c9499edabd4c5526dc01916eb',
x86_64: 'd48c4cde2273bdc89b0dd17422605f25d99577cbf3e51d4df05b3fc864ff6828'
})
depends_on 'python3' => :build
depends_on 'py3_hatchling' => :build
depends_on 'py3_hatch_vcs' => :build
end