summaryrefslogtreecommitdiff
path: root/databases/py-qt5-sql
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2018-02-14 21:30:14 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2018-02-14 21:30:14 +0000
commitbb3fdd9409dbc4a66133e489be5243b3896b7cac (patch)
tree1fc8112b93ec40c8d54601cbd10b3b884210472d /databases/py-qt5-sql
parentUpdate roda to 3.5.0 (diff)
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 'databases/py-qt5-sql')
-rw-r--r--databases/py-qt5-sql/Makefile2
-rw-r--r--databases/py-qt5-sql/pkg-plist2
2 files changed, 2 insertions, 2 deletions
diff --git a/databases/py-qt5-sql/Makefile b/databases/py-qt5-sql/Makefile
index 8eb60c7e7f80..d39a6a28458d 100644
--- a/databases/py-qt5-sql/Makefile
+++ b/databases/py-qt5-sql/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= sql
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= databases devel python
MAINTAINER= kde@FreeBSD.org
diff --git a/databases/py-qt5-sql/pkg-plist b/databases/py-qt5-sql/pkg-plist
index fe74c3995eaf..970c8d5f96d2 100644
--- a/databases/py-qt5-sql/pkg-plist
+++ b/databases/py-qt5-sql/pkg-plist
@@ -1,5 +1,5 @@
%%PYTHON_SITELIBDIR%%/PyQt5/QtSql.so
-%%PYTHON3%%%%PYTHON_SITELIBDIR%%/PyQt5/QtSql.pyi
+%%PYTHON_SITELIBDIR%%/PyQt5/QtSql.pyi
%%PYQT_SIPDIR%%/QtSql/QtSqlmod.sip
%%PYQT_SIPDIR%%/QtSql/qsql.sip
%%PYQT_SIPDIR%%/QtSql/qsqldatabase.sip