mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
* Add unbuilt updated pip packages to updates-2025-02-10-00-19 * Add built packages for linux/386 to updates-2025-02-10-00-19 * Add built packages for linux/amd64 to updates-2025-02-10-00-19 * Add built packages for linux/arm/v7 to updates-2025-02-10-00-19 --------- Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
28 lines
947 B
Ruby
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.0.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: '2a47c685f6f62407fa9839888d5490a1b191455553e057da43aeb135421d5ada',
|
|
armv7l: '2a47c685f6f62407fa9839888d5490a1b191455553e057da43aeb135421d5ada',
|
|
i686: 'd58c437c62e8cd2f7e5091eb32fac4e153ba2f99991367ebe5686f5a4a0ae24d',
|
|
x86_64: '73d47d6d860db91e6f6d972d4fce3cd98b10eb9e16906bc7345825b101aebe80'
|
|
})
|
|
|
|
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
|