HomeFreeBSD

Mk/Uses/python.mk: Fix PLIST issue for USE_PYTHON=pep517

Description

Mk/Uses/python.mk: Fix PLIST issue for USE_PYTHON=pep517

Currently "USE_PYTHON=autoplist pep517" generates the PLIST as follows:

  • Extract the list of installed files from the RECORD file to the intermediate PLIST (_PYTHONPKGLIST)
  • Manipulate the intermediate PLIST
  • Add list of pycache files to the intermediate PLIST

When the RECORD file contains foo.pyc entry, that file will be counted twice in
the PLIST at the end. It will cause check-plist error. This fix removes *.pyc
entries while manipulating the intermediate PLIST to ensure all pycache files
are only counted once.

Details

Provenance
sunpoetAuthored on May 7 2023, 4:05 PM
Parents
R11:2ee3452db15b: textproc/p5-XML-Schematron: Update to 1.12
Branches
Unknown
Tags
Unknown