mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
* Revert d3038e0805
* upgrade ca_certificates
* upgrade py3_cryptography
* upgrade py3_semantic_version
* upgrade py3_setuptools
* upgrade py3_setuptools_rust
* upgrade py3_typing_extensions
* upgrade py3_wheel
* new package py3_setuptools_scm
* enable git_clone_deep on py3_setuptools_scm
* new package py3_pycparser
* fix setuptools_scm (super secret environment variable)
* fix python -m versioning with envvar
* ca_certificates should be in different PR
* git_no_recursive -> git_no_submodules (better name)
* bump crew version
* add x86_64 and i686 binaries
* git_no_submodules => no_git_submodules
* add missed binaries
* add arm binaries
Co-authored-by: Ed Reel <edreel@gmail.com>
34 lines
1.4 KiB
Ruby
34 lines
1.4 KiB
Ruby
require 'package'
|
|
|
|
class Py3_tomli < Package
|
|
description "Tomli is a lil' TOML parser."
|
|
homepage 'https://github.com/hukkin/tomli/'
|
|
@_ver = '2.0.1'
|
|
version "#{@_ver}-1"
|
|
license 'MIT'
|
|
compatibility 'all'
|
|
source_url 'https://github.com/hukkin/tomli.git'
|
|
git_hashtag @_ver
|
|
|
|
binary_url({
|
|
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_tomli/2.0.1-1_armv7l/py3_tomli-2.0.1-1-chromeos-armv7l.tar.zst',
|
|
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_tomli/2.0.1-1_armv7l/py3_tomli-2.0.1-1-chromeos-armv7l.tar.zst',
|
|
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_tomli/2.0.1-1_i686/py3_tomli-2.0.1-1-chromeos-i686.tar.zst',
|
|
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_tomli/2.0.1-1_x86_64/py3_tomli-2.0.1-1-chromeos-x86_64.tar.zst'
|
|
})
|
|
binary_sha256({
|
|
aarch64: 'b86ab227e2d853331676a8a63fd83cd5d0a3f70a778a306141e7325c07229830',
|
|
armv7l: 'b86ab227e2d853331676a8a63fd83cd5d0a3f70a778a306141e7325c07229830',
|
|
i686: '15e531254af315f86062535ae7d2433af741fad5d68dd311d5b1a40e6cf0b228',
|
|
x86_64: '32cee6d866aae1faa4442c9a424f1a54cfac8d123350c66b0ef1eb10fb727f8a'
|
|
})
|
|
|
|
def self.build
|
|
system "SETUPTOOLS_SCM_PRETEND_VERSION=#{@_ver} python3 -m build #{PY3_BUILD_OPTIONS}"
|
|
end
|
|
|
|
def self.install
|
|
system "python3 -m installer #{PY3_INSTALLER_OPTIONS}"
|
|
end
|
|
end
|