Bug 256474 - lang/python{2,3}: use full version
Summary: lang/python{2,3}: use full version
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-python (Nobody)
URL:
Keywords: easy, needs-qa
Depends on:
Blocks:
 
Reported: 2021-06-08 02:27 UTC by Jan Beich
Modified: 2021-06-10 22:14 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (python)


Attachments
v1 (1.03 KB, patch)
2021-06-08 02:27 UTC, Jan Beich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2021-06-08 02:27:51 UTC
Created attachment 225627 [details]
v1

lang/python2 installs python2-2_3 and lang/python3 installs python3-3_3. Both can be confused with EOL'd python23 and python33. Record minor Python version for clarity.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2021-06-08 02:34:58 UTC
Thanks for this report so quick after the user conversation about it Jan :)

Seems fine. I wonder if there are there any considerations we need to think about, say when a default version changes (for packages) or if/when a user changes their default_version, or other situation.
Comment 2 Li-Wen Hsu freebsd_committer freebsd_triage 2021-06-10 22:14:16 UTC
I think this is fine, and looking at lang/python, I suspect it might be better to use PORTVERSION= ${PYTHON2_DEFAULT} and PORTVERSION= ${PYTHON3_DEFAULT}