Files
chromebrew/packages/py3_pip.rb
Satadru Pramanik, DO, MPH, MEng 0dca95e928 Updates (#11873)
* Switch ruby_psych to gem_compile_needed

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Rust adjustments.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update ruby_psych version

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add some binaries, update install.sh to fix i686 install.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add rust to buildessential

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* set LIBRARY_PATH for tools/build_updated_packages script

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust build script further.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add i686 binaries

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add source bashrc to Build workflow.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add some x86_64 binaries

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add x86_64 binary for ruby_psych

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add x86_64 binaries

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
2025-05-05 19:10:44 +00:00

28 lines
947 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.1.1-#{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: '23e5b17d24f4dde73235507c00c38a6437e74463d674cd8c080d92e84c23939d',
armv7l: '23e5b17d24f4dde73235507c00c38a6437e74463d674cd8c080d92e84c23939d',
i686: 'e95bd1eb8c6dd5a13d480a8d7b1a2aadb495698f2d5f19ef7ad3a7903e232609',
x86_64: '5219dc705b2cf79ecb5c52ab6116f643b6fa03d9778c6b18d6e705c8e434e7b9'
})
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