Page MenuHomeFreeBSD

PyQt: Unconditionally install the .pyi files
ClosedPublic

Authored by rakuco on Feb 13 2018, 9:05 PM.
Tags
None
Referenced Files
F89293125: D14361.id39281.diff
Fri, Jul 26, 6:31 AM
Unknown Object (File)
Sun, Jul 21, 3:39 PM
Unknown Object (File)
Wed, Jul 17, 3:28 AM
Unknown Object (File)
Mon, Jul 15, 12:17 AM
Unknown Object (File)
Wed, Jul 10, 7:58 AM
Unknown Object (File)
Mon, Jul 8, 4:09 AM
Unknown Object (File)
Sun, Jul 7, 4:43 PM
Unknown Object (File)
Thu, Jul 4, 6:02 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.