mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
python buildsystem, second PR (#7106)
* 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>
This commit is contained in:
committed by
GitHub
parent
0383cbee54
commit
5cd230bf1a
@@ -4,23 +4,23 @@ class Py3_flit < Package
|
||||
description 'Flit provides simplified packaging of Python modules.'
|
||||
homepage 'https://flit.pypa.io/'
|
||||
@_ver = '3.7.1'
|
||||
version @_ver
|
||||
version "#{@_ver}-1"
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/pypa/flit.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_flit/3.7.1_armv7l/py3_flit-3.7.1-chromeos-armv7l.tar.zst',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_flit/3.7.1_armv7l/py3_flit-3.7.1-chromeos-armv7l.tar.zst',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_flit/3.7.1_i686/py3_flit-3.7.1-chromeos-i686.tar.zst',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_flit/3.7.1_x86_64/py3_flit-3.7.1-chromeos-x86_64.tar.zst'
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_flit/3.7.1-1_armv7l/py3_flit-3.7.1-1-chromeos-armv7l.tar.zst',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_flit/3.7.1-1_armv7l/py3_flit-3.7.1-1-chromeos-armv7l.tar.zst',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_flit/3.7.1-1_i686/py3_flit-3.7.1-1-chromeos-i686.tar.zst',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/py3_flit/3.7.1-1_x86_64/py3_flit-3.7.1-1-chromeos-x86_64.tar.zst'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '0d3d6d84c6086b31bd4e1aadcb507c5492ab87e64dc866e1064343c6fa1e82ec',
|
||||
armv7l: '0d3d6d84c6086b31bd4e1aadcb507c5492ab87e64dc866e1064343c6fa1e82ec',
|
||||
i686: '33b26c11c228eea59b6723633f057171930731b3cc653f864eea093ebd79732f',
|
||||
x86_64: 'ca2b38b085a2bb35d5a42daa20209c15cf94b613eea6ecadd2f4c78afc1ee655'
|
||||
aarch64: '3455725f378233c10d8ff31cb5cb3a471546365245d07804ca663b5f4f51a844',
|
||||
armv7l: '3455725f378233c10d8ff31cb5cb3a471546365245d07804ca663b5f4f51a844',
|
||||
i686: 'a6b6a9ba748228b961f04537528a8383715de29937f25530d0066988f665caea',
|
||||
x86_64: '27bcb645fc59ae1b026d4326bc11b243fa20d5ccdad5bba23d0a1d6dd713304a'
|
||||
})
|
||||
|
||||
depends_on 'py3_docutils'
|
||||
@@ -29,7 +29,7 @@ class Py3_flit < Package
|
||||
depends_on 'py3_tomli_w'
|
||||
|
||||
def self.build
|
||||
system "python3 -m build #{PY3_BUILD_OPTIONS}"
|
||||
system "SETUPTOOLS_SCM_PRETEND_VERSION=#{@_ver} python3 -m build #{PY3_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
|
||||
Reference in New Issue
Block a user