mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-07 22:54:11 -05:00
libmbedtls => 4.0 — py3_jsonschema → 4.25.1,py3_jsonschema_specifications → 2025.9.1,py3_markdown_it_py → 4.0.0,py3_mdurl → 0.1.2,py3_referencing → 0.37.0,py3_rich → 14.2.0,py3_rpds_py → 0.28.0,py3_uc_micro_py → 1.0.3,libmbedtls → 4.0.0,librhash → 1.4.6-1,py3_pygments → 2.19.2,py3_requests → 2.32.5,py3_twine → 6.2.0 (#13295)
* libmbedtls => 4.0 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add librhash compatibility symlink to keep cmake from breaking. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add py3_jsonschema and add as dep to libmbedtls. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add py3_attrs build dep to libmbedtls. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add -Wno-dev to CMAKE_OPTIONS. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Do not cache git repos when in GitHub Actions. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add more python packages Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add py3_jsonschema_specifications. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add builds for py3_pygments Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add py3_jinja2 dep to mbedtls build Signed-off-by: Satadru Pramanik <satadru@gmail.com> * lint Signed-off-by: Satadru Pramanik <satadru@gmail.com> * lint Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Disable tests. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust rubocop reinstalls during builds. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update i686 manifest Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add armv7l manifest Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add x86_64 filelists. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Use array in superclass check. Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
committed by
GitHub
parent
3c9e9075d9
commit
d214c8e6eb
8
bin/crew
8
bin/crew
@@ -699,8 +699,10 @@ def download
|
||||
system 'git fetch --tags', exception: true if @pkg.git_fetchtags?
|
||||
puts 'Repository downloaded.'.lightgreen
|
||||
end
|
||||
# Stow file in cache if requested and cache is writable.
|
||||
if CREW_CACHE_ENABLED && File.writable?(CREW_CACHE_DIR)
|
||||
# Stow file in cache if requested and cache is writable, except if
|
||||
# in Github Actions, since the cached git archive isn't shared
|
||||
# between parallel runs.
|
||||
if CREW_CACHE_ENABLED && File.writable?(CREW_CACHE_DIR) && !ENV['NESTED_CI']
|
||||
puts 'Caching downloaded git repo...'
|
||||
Dir.chdir @extract_dir do
|
||||
# Do not use --exclude-vcs to exclude .git
|
||||
@@ -843,7 +845,7 @@ def build_and_preconfigure(target_dir)
|
||||
@pkg.in_build = false
|
||||
Signal.trap('INT', 'DEFAULT') if CREW_CACHE_BUILD || @pkg.cache_build?
|
||||
|
||||
cache_build if CREW_CACHE_BUILD || @pkg.cache_build?
|
||||
cache_build if (CREW_CACHE_BUILD || @pkg.cache_build?) && !%w[Pip RUBY].include?(@pkg.superclass.to_s)
|
||||
|
||||
# wipe crew destdir
|
||||
FileUtils.rm_rf Dir["#{CREW_DEST_DIR}/*"], verbose: CREW_VERBOSE unless @pkg.superclass.to_s == 'RUBY'
|
||||
|
||||
Reference in New Issue
Block a user