diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2018-02-14 21:30:14 +0000 |
---|---|---|
committer | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2018-02-14 21:30:14 +0000 |
commit | bb3fdd9409dbc4a66133e489be5243b3896b7cac (patch) | |
tree | 1fc8112b93ec40c8d54601cbd10b3b884210472d /net/py-qt5-network | |
parent | 3abde62a43851a238a4fcb5d41ccf83437d7073e (diff) | |
download | ports-bb3fdd9409dbc4a66133e489be5243b3896b7cac.tar.gz ports-bb3fdd9409dbc4a66133e489be5243b3896b7cac.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
Notes
Notes:
svn path=/head/; revision=461841
Diffstat (limited to 'net/py-qt5-network')
-rw-r--r-- | net/py-qt5-network/Makefile | 2 | ||||
-rw-r--r-- | net/py-qt5-network/pkg-plist | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/py-qt5-network/Makefile b/net/py-qt5-network/Makefile index 116711c9d074..2f1e2f6d1c01 100644 --- a/net/py-qt5-network/Makefile +++ b/net/py-qt5-network/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= network -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net devel python MAINTAINER= kde@FreeBSD.org diff --git a/net/py-qt5-network/pkg-plist b/net/py-qt5-network/pkg-plist index 37071bf2cf9d..72000fa0bcba 100644 --- a/net/py-qt5-network/pkg-plist +++ b/net/py-qt5-network/pkg-plist @@ -1,5 +1,5 @@ %%PYTHON_SITELIBDIR%%/PyQt5/QtNetwork.so -%%PYTHON3%%%%PYTHON_SITELIBDIR%%/PyQt5/QtNetwork.pyi +%%PYTHON_SITELIBDIR%%/PyQt5/QtNetwork.pyi %%PYQT_SIPDIR%%/QtNetwork/QtNetworkmod.sip %%PYQT_SIPDIR%%/QtNetwork/qabstractnetworkcache.sip %%PYQT_SIPDIR%%/QtNetwork/qabstractsocket.sip |