Page MenuHomeFreeBSD

PyQt: Unconditionally install the .pyi files
ClosedPublic

Authored by rakuco on Feb 13 2018, 9:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 30, 12:26 AM
Unknown Object (File)
Thu, Mar 28, 5:15 PM
Unknown Object (File)
Feb 21 2024, 6:53 PM
Unknown Object (File)
Feb 21 2024, 6:53 PM
Unknown Object (File)
Feb 21 2024, 6:53 PM
Unknown Object (File)
Feb 21 2024, 8:50 AM
Unknown Object (File)
Feb 15 2024, 1:53 AM
Unknown Object (File)
Feb 14 2024, 5:24 PM
Subscribers

Details

Summary

r460809 started installing .pyi with the %%PYTHON3%% substituion in the plists. Support for .pyi files was added in Python 3.5, and PyQt's configure.py only installs the files on Python >= 3.5.

This patch removes the version checks from configure.py (the files are just unused in earlier Python versions), as it is easier than checking Python 3's version in each PyQt port's Makefile (or to add the logic to Mk/Uses/pyqt.mk).

See also: bug 225773.

Test Plan

The ports built fine on Poudriere.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Feb 14 2018, 5:28 PM
This revision was automatically updated to reflect the committed changes.