forked from Lainports/freebsd-ports
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
29 lines
690 B
Makefile
29 lines
690 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= sql
|
|
PORTREVISION= 2
|
|
CATEGORIES= databases devel python
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Python bindings for the Qt5 toolkit, QtSql module
|
|
|
|
CONFIGURE_ARGS= --enable QtSql
|
|
PYQT_DIST= yes
|
|
|
|
USES= python pyqt:5
|
|
USE_GL= gl
|
|
USE_PYQT= sip_build core_run widgets_run
|
|
USE_PYTHON= flavors
|
|
USE_QT5= core gui sql widgets buildtools_build qmake_build
|
|
|
|
OPTIONS_DEFINE= API DEBUG
|
|
OPTIONS_DEFAULT=API
|
|
OPTIONS_SUB= yes
|
|
|
|
API_DESC= Install QtSql API for QScintilla2
|
|
API_CONFIGURE_ON= --qsci-api --qsci-api-destdir=${QSCIDIR}
|
|
API_CONFIGURE_OFF= --no-qsci-api
|
|
API_LIB_DEPENDS= libqscintilla2-qt5.so:devel/qscintilla2-qt5
|
|
DEBUG_CONFIGURE_ON= --debug --trace
|
|
|
|
.include <bsd.port.mk>
|