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

24 lines
793 B
Ruby

require 'buildsystems/python'
class Py3_pep517 < Python
description 'Python PEP517 is an API to call PEP 517 hooks for building Python packages '
homepage 'https://pep517.readthedocs.io/'
@_ver = '1.0.0'
version "#{@_ver}-py3.12"
license 'MIT'
compatibility 'all'
source_url 'https://github.com/pypa/pyproject-hooks.git'
git_hashtag "v#{@_ver}"
binary_compression 'tar.zst'
binary_sha256({
aarch64: '62cf60f52ab472c3818994551df107cacf3ed117385bc6424a1b983284db92fb',
armv7l: '62cf60f52ab472c3818994551df107cacf3ed117385bc6424a1b983284db92fb',
i686: '4b405040cd88a26963f2593471afeec33b84549c66e019ef824ffe9995baf497',
x86_64: 'de410a43722cbac887a4a4a0b5f7a6bb311b059ff6462930cb795da07f0217c3'
})
depends_on 'python3'
depends_on 'py3_tomli'
end