autopkg / hansen-m-recipes

My recipes for Autopkg - https://github.com/autopkg
27 stars 50 forks source link

Default the Python Major Version to 3 #209

Closed MLBZ521 closed 2 years ago

MLBZ521 commented 2 years ago

Updated to change the PYTHON_MAJOR_VERSION to 3.

Updated the SEARCH_PATTERN to be more correct.

Included a note regarding the current SEARCH_URL page being redirected to a new page. Since it currently works, I see no need to change it.

rustymyers commented 2 years ago

Thanks!

MLBZ521 commented 2 years ago

Looking at this again, this recipe would only work with PYTHON_MAJOR_VERSION == 3 since a v2 is no longer listed on the download page. To get a non-v3 download, the archive would have to be searched.

Just leaving this note here in case someone is still wanted to get a v2 download. If this was the case, a more involved recipe would need to be devised.