From 8d1cb739d5ef48cab9cab47a41d3bbad5c5a0e79 Mon Sep 17 00:00:00 2001 From: rakuco 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 --- lang/py-qt5-qml/Makefile | 2 +- lang/py-qt5-qml/pkg-plist | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lang/py-qt5-qml') diff --git a/lang/py-qt5-qml/Makefile b/lang/py-qt5-qml/Makefile index 380ffed63fb5..164a84a13831 100644 --- a/lang/py-qt5-qml/Makefile +++ b/lang/py-qt5-qml/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= qml -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang devel python MAINTAINER= kde@FreeBSD.org diff --git a/lang/py-qt5-qml/pkg-plist b/lang/py-qt5-qml/pkg-plist index 5514d7ba3a73..17d9aee3966b 100644 --- a/lang/py-qt5-qml/pkg-plist +++ b/lang/py-qt5-qml/pkg-plist @@ -1,5 +1,5 @@ %%PYTHON_SITELIBDIR%%/PyQt5/QtQml.so -%%PYTHON3%%%%PYTHON_SITELIBDIR%%/PyQt5/QtQml.pyi +%%PYTHON_SITELIBDIR%%/PyQt5/QtQml.pyi %%QT_PLUGINDIR%%/PyQt5/libpyqt5qmlplugin.so %%PYQT_SIPDIR%%/QtQml/QtQmlmod.sip %%PYQT_SIPDIR%%/QtQml/qjsengine.sip -- cgit