Created attachment 218202 [details] sysutils/xen-tools: unbreak package with python!=3.7 unbreak package with python!=3.7 switch to use py3.6+ only use binary_alias for python3
(In reply to Dima Panov from comment #0) LGTM, isn't it fine to just pick whatever alias there's in the system for python3? I guess it's possible there's no alias for python3 at all, even when a python 3+ package has been installed?
(In reply to Roger Pau Monné from comment #1) by default ports not provided symlink for python3 name, so binary_alias is the best and simply way to point scripts to required versioned binary
(In reply to Dima Panov from comment #2) OK, when installing a binary package will then the python package used for compilation also be installed when xen-tools is installed if the user has a different phython 3 package than the one used during build?
(In reply to Roger Pau Monné from comment #3) package will pull same python3.x dependency which was used to build, co-exist is allowed by versioned suffixes of any python tools binary_alias helps to build only, allows skip patch everything which not required in runtime. runtime scripts should be patched via shebang hook anyway
(In reply to Dima Panov from comment #4) Thanks for the explanation, please got ahead and commit it.
A commit references this bug: Author: fluffy Date: Wed Sep 23 15:06:46 UTC 2020 New revision: 549738 URL: https://svnweb.freebsd.org/changeset/ports/549738 Log: sysutils/xen-tools: unbreak packaging Unbreak package with python!=3.7 Switch to use py3.6+ only Use BINARY_ALIAS for python3 Bump PORTREVISION PR: 249541 Submitted by: fluffy Approved by: maintainer (royger) Changes: head/sysutils/xen-tools/Makefile head/sysutils/xen-tools/pkg-plist