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
28 lines
696 B
Makefile
28 lines
696 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= xmlpatterns
|
|
PORTREVISION= 2
|
|
CATEGORIES= textproc devel python
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Python bindings for the Qt5 toolkit, QtXmlPatterns module
|
|
|
|
CONFIGURE_ARGS= --enable QtXmlPatterns
|
|
PYQT_DIST= yes
|
|
|
|
USES= python pyqt:5
|
|
USE_PYQT= sip_build core_run network_run
|
|
USE_PYTHON= flavors
|
|
USE_QT5= core network xmlpatterns qmake_build
|
|
|
|
OPTIONS_DEFINE= API DEBUG
|
|
OPTIONS_DEFAULT=API
|
|
OPTIONS_SUB= yes
|
|
|
|
API_DESC= Install QtXmlPatterns 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>
|