diff options
author | rakuco <rakuco@FreeBSD.org> | 2018-02-15 05:30:14 +0800 |
---|---|---|
committer | rakuco <rakuco@FreeBSD.org> | 2018-02-15 05:30:14 +0800 |
commit | 8d1cb739d5ef48cab9cab47a41d3bbad5c5a0e79 (patch) | |
tree | 1fc8112b93ec40c8d54601cbd10b3b884210472d /graphics | |
parent | 99017b28b21a4e67a8050d27aeb4dd11aa4652a0 (diff) | |
download | freebsd-ports-gnome-8d1cb739d5ef48cab9cab47a41d3bbad5c5a0e79.tar.gz freebsd-ports-gnome-8d1cb739d5ef48cab9cab47a41d3bbad5c5a0e79.tar.zst freebsd-ports-gnome-8d1cb739d5ef48cab9cab47a41d3bbad5c5a0e79.zip |
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
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/py-qt5-svg/Makefile | 2 | ||||
-rw-r--r-- | graphics/py-qt5-svg/pkg-plist | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/graphics/py-qt5-svg/Makefile b/graphics/py-qt5-svg/Makefile index 863e8de197c1..036d80c8743e 100644 --- a/graphics/py-qt5-svg/Makefile +++ b/graphics/py-qt5-svg/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= svg -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics devel python MAINTAINER= kde@FreeBSD.org diff --git a/graphics/py-qt5-svg/pkg-plist b/graphics/py-qt5-svg/pkg-plist index adb7fc0ff9ee..176cad3c2bd4 100644 --- a/graphics/py-qt5-svg/pkg-plist +++ b/graphics/py-qt5-svg/pkg-plist @@ -1,5 +1,5 @@ %%PYTHON_SITELIBDIR%%/PyQt5/QtSvg.so -%%PYTHON3%%%%PYTHON_SITELIBDIR%%/PyQt5/QtSvg.pyi +%%PYTHON_SITELIBDIR%%/PyQt5/QtSvg.pyi %%PYQT_SIPDIR%%/QtSvg/QtSvgmod.sip %%PYQT_SIPDIR%%/QtSvg/qgraphicssvgitem.sip %%PYQT_SIPDIR%%/QtSvg/qsvggenerator.sip |