Files
chromebrew/packages/py3_pytimeparse.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
793 B
Ruby

require 'buildsystems/python'
class Py3_pytimeparse < Python
description 'Pytimeparse is a small Python module to parse various kinds of time expressions. '
homepage 'https://github.com/wroberts/pytimeparse/'
@_ver = '1.1.8'
version "#{@_ver}-py3.12"
license 'MIT'
compatibility 'all'
source_url 'https://github.com/wroberts/pytimeparse.git'
git_hashtag @_ver
binary_compression 'tar.zst'
binary_sha256({
aarch64: '7ede975fd8f1a3fa7ac34ac16cc91d3117aae0b96ca14e6f1947e9c722a68593',
armv7l: '7ede975fd8f1a3fa7ac34ac16cc91d3117aae0b96ca14e6f1947e9c722a68593',
i686: '7969a3f238baf0f6c3608ce394e21d40278b69792a1fb2d1d88c556a80b6d09b',
x86_64: '961a68770821a6670e86fbbb50670219e866b1a23c7bf11d1fea4023e3c4444f'
})
depends_on 'python3' => :build
end