maintainer-feedback requested: [Bug 263218] math/py-pandas: 'make install' breaks with py37

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 11 Apr 2022 12:01:10 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-python (Nobody)
<python@FreeBSD.org> for maintainer-feedback:
Bug 263218: math/py-pandas: 'make install' breaks with py37
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263218



--- Description ---
If the default python version is set to 3.7, 'make install' breaks after ports
e9d61783dccb63ff578fe7d71bac543b399b5fb8 (Mar 8, 2022).  'make check-plist'
also breaks for the same reason, which is that pkg-plist uses PYTHON_EXT_SUFFIX

The issue is that the .pyc files are created as *.cpython-37.*.pyc (similar to
*.cpython-38.*.pyc for py38 builds) and PYTHON_EXT_SUFFIX is empty for < py38. 
And pkg-plist now uses PYTHON_EXT_SUFFIX for the .pyc files.



===>   Registering installation for py37-pandas-1.3.5,1
pkg-static: Unable to access file
/wrkdirs/usr/ports/math/py-pandas/work-py37/stage/usr/local/lib/python3.7/site-
packages/pandas/__pycache__/__init__.opt-1.pyc:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/math/py-pandas/work-py37/stage/usr/local/lib/python3.7/site-
packages/pandas/__pycache__/__init__.pyc:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/math/py-pandas/work-py37/stage/usr/local/lib/python3.7/site-
packages/pandas/__pycache__/_typing.opt-1.pyc:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/math/py-pandas/work-py37/stage/usr/local/lib/python3.7/site-
packages/pandas/__pycache__/_typing.pyc:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/math/py-pandas/work-py37/stage/usr/local/lib/python3.7/site-
packages/pandas/__pycache__/_version.opt-1.pyc:No
such file or directory
 .
 .