Page MenuHomeFreeBSD

Use 2 digits for minor version of python in PYTHON_REL
ClosedPublic

Authored by antoine on May 24 2015, 2:59 PM.

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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

antoine updated this revision to Diff 5610.May 24 2015, 2:59 PM
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 accepted this revision.May 25 2015, 12:16 PM
mva added a reviewer: mva.
mva added a subscriber: mva.

lgtm

sunpoet accepted this revision.May 25 2015, 12:33 PM
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.