mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
* 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)
27 lines
847 B
Ruby
27 lines
847 B
Ruby
require 'buildsystems/python'
|
|
|
|
class Py3_pycairo < Python
|
|
description 'Pycairo is a provides bindings for the cairo graphics library.'
|
|
homepage 'https://cairographics.org/pycairo/'
|
|
@_ver = '1.25.0'
|
|
version "#{@_ver}-py3.12"
|
|
license 'LGPL-2.1 or MPL-1.1'
|
|
compatibility 'x86_64 aarch64 armv7l'
|
|
source_url 'https://github.com/pygobject/pycairo.git'
|
|
git_hashtag "v#{@_ver}"
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: 'b7cc5576a9bd92b01209a26a582f539dad7b4efe375ac1aeeecc6da956e27bc9',
|
|
armv7l: 'b7cc5576a9bd92b01209a26a582f539dad7b4efe375ac1aeeecc6da956e27bc9',
|
|
x86_64: '697c5507743e106e677c9a3ed48802071a3a20a80cc40a62761e5e256bed0b49'
|
|
})
|
|
|
|
depends_on 'cairo'
|
|
depends_on 'libxxf86vm'
|
|
depends_on 'libxrender'
|
|
depends_on 'python3' => :build
|
|
depends_on 'glibc' # R
|
|
depends_on 'harfbuzz' # R
|
|
end
|