Page MenuHomeFreeBSD

Use 2 digits for minor version of python in PYTHON_REL
ClosedPublic

Authored by antoine on May 24 2015, 2:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 10, 3:14 AM
Unknown Object (File)
Oct 22 2024, 2:16 AM
Unknown Object (File)
Oct 19 2024, 1:30 PM
Unknown Object (File)
Oct 15 2024, 11:25 PM
Unknown Object (File)
Oct 11 2024, 6:44 PM
Unknown Object (File)
Oct 11 2024, 6:44 PM
Unknown Object (File)
Oct 11 2024, 6:43 PM
Unknown Object (File)
Oct 11 2024, 6:30 PM
Subscribers

Details

Summary

Currently, PYTHON_REL is the version of python without the dots
2.7.9 -> 279
This is a problem with python 2.7.10 as 2710 is greater than 300, there is no more monotonic increasing.
The proposed patch uses 2 digits in PYTHON_REL for the minor version of python
2.7.9 -> 2709
2.7.10 -> 2710

Test Plan

Exp-run with the python 2.7.10 update

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

antoine retitled this revision from to Use 2 digits for minor version of python in PYTHON_REL.
antoine updated this object.
antoine edited the test plan for this revision. (Show Details)
antoine added a reviewer: Python.
mva added a reviewer: mva.
mva added a subscriber: mva.

lgtm

sunpoet added a reviewer: sunpoet.
sunpoet added a subscriber: sunpoet.

It looks great. Thanks.

devel/awscli/Makefile
23–29 ↗(On Diff #5610)

Change to ".include <bsd.port.mk>" since outdated PYTHON_REL check can be removed.

www/py-wikitools/Makefile
19–25 ↗(On Diff #5610)

Change to ".include <bsd.port.mk>" since outdated PYTHON_REL check can be removed.

This revision is now accepted and ready to land.May 25 2015, 12:33 PM
This revision was automatically updated to reflect the committed changes.