From bb3fdd9409dbc4a66133e489be5243b3896b7cac Mon Sep 17 00:00:00 2001 From: Raphael Kubo da Costa Date: Wed, 14 Feb 2018 21:30:14 +0000 Subject: PyQt: Unconditionally install the .pyi files r460809 started installing .pyi with the %%PYTHON3%% substitution 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). PR: 225773 Reviewed by: tcberner Differential Revision: https://reviews.freebsd.org/D14361 --- print/py-qt5-printsupport/Makefile | 2 +- print/py-qt5-printsupport/pkg-plist | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'print/py-qt5-printsupport') diff --git a/print/py-qt5-printsupport/Makefile b/print/py-qt5-printsupport/Makefile index 730f77f2f4c4..7853aa6a3885 100644 --- a/print/py-qt5-printsupport/Makefile +++ b/print/py-qt5-printsupport/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= printsupport -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= print python MAINTAINER= kde@FreeBSD.org diff --git a/print/py-qt5-printsupport/pkg-plist b/print/py-qt5-printsupport/pkg-plist index 55b569c31fc0..5c9854802759 100644 --- a/print/py-qt5-printsupport/pkg-plist +++ b/print/py-qt5-printsupport/pkg-plist @@ -1,5 +1,5 @@ %%PYTHON_SITELIBDIR%%/PyQt5/QtPrintSupport.so -%%PYTHON3%%%%PYTHON_SITELIBDIR%%/PyQt5/QtPrintSupport.pyi +%%PYTHON_SITELIBDIR%%/PyQt5/QtPrintSupport.pyi %%PYQT_SIPDIR%%/QtPrintSupport/QtPrintSupportmod.sip %%PYQT_SIPDIR%%/QtPrintSupport/qabstractprintdialog.sip %%PYQT_SIPDIR%%/QtPrintSupport/qpagesetupdialog.sip -- cgit v1.2.3