mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
* 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>
28 lines
945 B
Ruby
28 lines
945 B
Ruby
require 'buildsystems/python'
|
|
|
|
class Py3_pip < Python
|
|
description 'Pip is the python package manager from the Python Packaging Authority.'
|
|
homepage 'https://pip.pypa.io/'
|
|
version "25.3-#{CREW_PY_VER}"
|
|
license 'MIT'
|
|
compatibility 'all'
|
|
source_url 'https://github.com/pypa/pip.git'
|
|
git_hashtag version.split('-').first
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '0fda99f7d732d18a6e35ed4f646fafc712e1f83ac1d5f49ba89612ff19a70d11',
|
|
armv7l: '0fda99f7d732d18a6e35ed4f646fafc712e1f83ac1d5f49ba89612ff19a70d11',
|
|
i686: 'c9e3e1efd297e6705c4dcf29ce71c99514372fba0625feb488066f9c1df538f7',
|
|
x86_64: 'febc4b731207ca89c0413a0c13e74b8eba3ffff9407498e790d3b0e506c58ae5'
|
|
})
|
|
|
|
depends_on 'python3'
|
|
conflicts_ok
|
|
|
|
def self.postinstall
|
|
puts 'Updating pip package...'.lightblue
|
|
system 'PIP_DISABLE_PIP_VERSION_CHECK=1 python3 -m pip install --upgrade --force-reinstall pip', exception: false
|
|
end
|
|
end
|