HomeFreeBSD

Add more PLIST_SUB to Mk/Uses/python.mk

Description

Add more PLIST_SUB to Mk/Uses/python.mk

  • Add PYTHON_PYOEXTENSION and PYTHON_SUFFIX
  • Add PYTHON2 and PYTHON3
  • Respect PYTHON_VERSION
  • Rename PYOEXTENSION to PYTHON_PYOEXTENSION

This change would help:

  • Build databases/postgresql*-plpython with Python 3 (It has PLIST issue since bsd.python.mk to Uses/python.mk transition)
  • Simplify Makefile

PR: 205807
Differential Revision: https://reviews.FreeBSD.org/D4758
Exp-run by: antoine

Details

Provenance
sunpoetAuthored on
Differential Revision
D4758: Update Mk/Uses/python.mk
Parents
rP430838: devel/py-click: update 6.6 -> 6.7
Branches
Unknown
Tags
Unknown