svn commit: r569588 - head/Mk/Uses

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Tue Mar 30 19:18:59 UTC 2021


Author: sunpoet
Date: Tue Mar 30 19:18:58 2021
New Revision: 569588
URL: https://svnweb.freebsd.org/changeset/ports/569588

Log:
  Clean up PYTHON_PYOEXTENSION (followup of r500018)
  
  PYTHON_PYOEXTENSION is only used by 2 ports (astro/weather and math/py-rpy2) now.

Modified:
  head/Mk/Uses/python.mk

Modified: head/Mk/Uses/python.mk
==============================================================================
--- head/Mk/Uses/python.mk	Tue Mar 30 19:16:56 2021	(r569587)
+++ head/Mk/Uses/python.mk	Tue Mar 30 19:18:58 2021	(r569588)
@@ -499,13 +499,6 @@ PYTHONPREFIX_SITELIBDIR=	${PYTHON_SITELIBDIR:S;${PYTHO
 # Used for recording the installed files.
 _PYTHONPKGLIST=	${WRKDIR}/.PLIST.pymodtmp
 
-# PEP 0488 (https://www.python.org/dev/peps/pep-0488/)
-.if ${PYTHON_REL} < 3500
-PYTHON_PYOEXTENSION=	pyo
-.else
-PYTHON_PYOEXTENSION=	opt-1.pyc
-.endif
-
 # Ports bound to a certain python version SHOULD
 # - use the PYTHON_PKGNAMEPREFIX
 # - use directories using the PYTHON_PKGNAMEPREFIX


More information about the svn-ports-head mailing list