kivy / kivy/python-for-android

macOS/prerequisites: brew boostrap missing.

Open
#2,777 0 comments 0 reactions 0 assignees View on GitHub
feature-request
Dominant language
Python
Stars
8.9k
Forks
2k
Avg merge
12h 20m
Merged PRs (30d)
9

Description

* As hinted by @misl6 the prerequisites is the place where whole build environment can be bootstrapped.
* On macOS `brew` is used to install packages, prerequisites depends on it, but cannot yet install it on its own.
* This can be trivially fixed by using script provided at HomeBrew website [1]:
```
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```
* When p4a.prerequisites bootstraps non existing brew on its own, a particular version may be selected (?) with particular packages, and this may result in more coherent build environment + far better automation.
* I am on the trip right now, not really familiar yet with the prerequisites, so this may be my first task in p4a, unless someone makes it faster / better :-)

[1] https://brew.sh/

Contributor guide

Open the contributing guide

Research direction

Start at the p4a.prerequisites entry point and trace how macOS checks for and uses brew. Verify the behavior when brew is absent, then confirm that prerequisite bootstrapping completes with the required package setup and preserves the existing path when brew is already installed.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, macos, python
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.