Files
chromebrew/packages/py3_unsupported_python.rb
github-actions[bot] 8796d687f5 Fix method reporting in buildsystems, Fix Rust buildsystem, Rebuild uutils_coreutils. (#11930)
* Revamp rust buildsystem.

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

* Rebuild uutils_coreutils correctly.

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

* Add better method printing to buildsystems.

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

* Unify gem_name and gem_version variables.

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

* cleanup

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

* Add variable for packages to skip during install testing portion of unit tests.

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

* Avoid system override in python3 postinstall.

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

* Remove old pip 23.2.1 workaround.

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

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
2025-05-22 15:52:26 +00:00

17 lines
469 B
Ruby

require 'buildsystems/pip'
class Py3_unsupported_python < Pip
description 'This package can be used as a conditional dependency to indicate lack of support for particular versions of Python.'
homepage 'https://github.com/ntessore/unsupported-python'
version "1.0.0-#{CREW_PY_VER}"
license 'GPL-3+'
compatibility 'all'
source_url 'SKIP'
depends_on 'python3' => :build
no_compile_needed
pip_pre_configure_options 'ALLOW_UNSUPPORTED_PYTHON=3.12'
end