mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Post-Python 3.14.1 cleanups & Python package updates (#13716)
* Adjust py3_readme_renderer to use CREW_PY_VER. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add Python 3.14 to install.sh, add more filelists. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add note in lib/const.rb about variable changes needing to go into install.sh Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update py3_pip, add more filelists. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Handle crew upload being passed multiple files properly, and keep no_compile_needed packages from having a binary block added. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Move yt_dlp to pip buildsystem. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * python_cleanup: Package File Update Run on linux/386 container. * Update py3_ldapdomaindump and mark as fixed. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust crew pip upload logic. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Gate verbose version.rb logging behind VERY_VERBOSE. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Do not let package_utils.clean_name change pkg.name, which affects using version.rb on py3_pygobject. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * pip package updates Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
1e56b08db2
commit
f43ba1d543
@@ -103,18 +103,19 @@ class PackageUtils
|
||||
# Remove our language-specific prefixes and any build splitting suffixes.
|
||||
# This is mostly for use when querying Anitya in tools/version.rb, and is not suitable for Repology.
|
||||
def self.get_clean_name(pkg_name)
|
||||
cleaned_name = pkg_name.dup
|
||||
# Delete language-specific prefixes.
|
||||
pkg_name.delete_prefix!('perl_')
|
||||
pkg_name.delete_prefix!('py3_')
|
||||
pkg_name.delete_prefix!('ruby_')
|
||||
cleaned_name.delete_prefix!('perl_')
|
||||
cleaned_name.delete_prefix!('py3_')
|
||||
cleaned_name.delete_prefix!('ruby_')
|
||||
# Delete suffixes for split packages.
|
||||
pkg_name.delete_suffix!('_build')
|
||||
pkg_name.delete_suffix!('_dev')
|
||||
pkg_name.delete_suffix!('_lib')
|
||||
cleaned_name.delete_suffix!('_build')
|
||||
cleaned_name.delete_suffix!('_dev')
|
||||
cleaned_name.delete_suffix!('_lib')
|
||||
# Delete the _static suffix for statically built packages.
|
||||
pkg_name.delete_suffix!('_static')
|
||||
cleaned_name.delete_suffix!('_static')
|
||||
|
||||
return pkg_name
|
||||
return cleaned_name
|
||||
end
|
||||
|
||||
def self.get_gitlab_pkginfo(pkg_name, pkg_version, pkg_arch, build = nil, verbose = nil)
|
||||
|
||||
Reference in New Issue
Block a user