mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
* Python => 3.14.1 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add some binaries Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add more binaries Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update util_linux with manual build using CREW_KERNEL_VERSION=5.10 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Modify tools/build_updated_packages.rb to allow ignoring packages git marks as having changed. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add some package updates Signed-off-by: Satadru Pramanik <satadru@gmail.com> * More binaries. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add more binaries and update versions. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add gdb binaries Signed-off-by: Satadru Pramanik <satadru@gmail.com> * rebuild lilv Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update libcacaca Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add more binaries Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add more builds. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add more binaries. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add more binaries. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add more binaries & fix py3_twine. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add requests_toolbelt binaries. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Rebuild twine Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust twine erroring in crew. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * More Updates... Signed-off-by: Satadru Pramanik <satadru@gmail.com> * lint Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add meld builds Signed-off-by: Satadru Pramanik <satadru@gmail.com> * More updates Signed-off-by: Satadru Pramanik <satadru@gmail.com> * More updates. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add sphinx binaries Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add more builds and sync with master. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add more builds. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add another twine check. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add more builds Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add more builds Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update python packages, add builds. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add more builds Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add builds. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add py3_ruff builds. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add more builds and filelists. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add more filelists. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * lint Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Bump version. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust Generate PR workflow. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add libnghttp2 to CREW_ESSENTIAL_PACKAGES to keep curl from breaking. Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: chromebrew-actions[bot] <220035932+chromebrew-actions[bot]@users.noreply.github.com>
39 lines
1.2 KiB
Ruby
39 lines
1.2 KiB
Ruby
require 'buildsystems/pip'
|
|
require 'ptools'
|
|
|
|
class Py3_setuptools < Pip
|
|
description 'Setuptools is the python build system from the Python Packaging Authority.'
|
|
homepage 'https://setuptools.readthedocs.io/'
|
|
version "80.9.0-#{CREW_PY_VER}"
|
|
license 'MIT'
|
|
compatibility 'all'
|
|
source_url 'SKIP'
|
|
# source_url 'https://github.com/pypa/setuptools.git'
|
|
# git_hashtag "v#{version.split('-').first}"
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '9244496f10c86cd9ae6b3cda9d2a388fbc740733326bcd39ec2ae459aa9f5b5f',
|
|
armv7l: '9244496f10c86cd9ae6b3cda9d2a388fbc740733326bcd39ec2ae459aa9f5b5f',
|
|
i686: '92da77356bb2438d7c995396b9b5d9feb01d64723cc1e9c1f1b1071db6cf1663',
|
|
x86_64: '284250e9ff28390f1772ecfa3b64456e0d5fc5c35fb822ab568190a169ec6940'
|
|
})
|
|
|
|
depends_on 'python3'
|
|
depends_on 'py3_packaging'
|
|
|
|
conflicts_ok
|
|
no_source_build
|
|
|
|
def self.prebuild
|
|
if File.which('zstd')
|
|
system 'python3 -m pip uninstall setuptools -y', exception: false
|
|
system 'python3 -m pip install -I --force-reinstall --no-deps setuptools', exception: false
|
|
end
|
|
end
|
|
|
|
def self.postremove
|
|
system 'python3 -m pip uninstall setuptools -y', exception: false if Kernel.system('which zstd', %i[out err] => File::NULL)
|
|
end
|
|
end
|