pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-qt5-qscintilla: Progress to building
Module Name: pkgsrc-wip
Committed By: Greg Troxel <gdt%lexort.com@localhost>
Pushed By: gdt
Date: Mon Nov 28 19:45:37 2022 -0500
Changeset: e062bbe3f0af75ce6370ef90fc094a13198c0083
Modified Files:
py-qt5-qscintilla/DESCR
py-qt5-qscintilla/Makefile
Log Message:
py-qt5-qscintilla: Progress to building
Restore BUILD_DIR vs WRKSRC so that patches apply.
Depend on py-qt-builder because sip-build expects that to be installed.
Ensure qmake in path (hacky).
Sync DESCR from pkgsrc.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e062bbe3f0af75ce6370ef90fc094a13198c0083
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-qt5-qscintilla/DESCR | 18 +++---------------
py-qt5-qscintilla/Makefile | 8 ++++++--
2 files changed, 9 insertions(+), 17 deletions(-)
diffs:
diff --git a/py-qt5-qscintilla/DESCR b/py-qt5-qscintilla/DESCR
index 9eceb46208..155fc4d0df 100644
--- a/py-qt5-qscintilla/DESCR
+++ b/py-qt5-qscintilla/DESCR
@@ -1,15 +1,3 @@
-These are the python-bindings for QScintilla2.
-
-Qt(TM) is a GUI software toolkit. Qt simplifies the task of writing and
-maintaining GUI (graphical user interface) applications.
-
-Qt is written in C++ and is fully object-oriented. It has everything you need
-to create professional GUI applications. And it enables you to create them
-quickly.
-
-Qt is a multi-platform toolkit. When developing software with Qt, you can run
-it on the X Window System (Unix/X11) or Microsoft Windows NT and Windows 95/98.
-Simply recompile your source code on the platform you want.
-
-Qt cuts down the complexity in implementing large and complex systems. Its
-ingenious signal-slot technology enables true component programming.
+This package contains python bindings for QScintilla
+(x11/qt5-qscintilla). (Qscintilla is a Qt port of Neil Hodgson's
+scintilla(devel/scintilla) C++ editor control.)
diff --git a/py-qt5-qscintilla/Makefile b/py-qt5-qscintilla/Makefile
index 16b4be56bf..5f414c33f8 100644
--- a/py-qt5-qscintilla/Makefile
+++ b/py-qt5-qscintilla/Makefile
@@ -5,7 +5,7 @@
PKGNAME= ${PYPKGPREFIX}-qt5-${DISTNAME:S/_src//:tl}
COMMENT= QScintilla -- Python bindings
-WRKSRC= ${WRKDIR}/${DISTNAME}/Python
+BUILD_DIRS= Python
PY_PATCHPLIST= yes
MAKE_FLAGS+= TARGET=Qsci.la TARGETD=Qsci.la TARGETL=Qsci.la
@@ -13,13 +13,17 @@ INSTALL_MAKE_FLAGS+= INSTALL_ROOT=${DESTDIR}
LIBS+= -lqscintilla2
MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q}\ ${LIBS:Q}
+# Mumble, "USE_TOOLS+=qmake".
pre-configure:
- cd ${WRKSRC} && ${CP} pyproject-qt5.toml pyproject.toml
+ ${LN} -sf ${QTDIR}/bin/qmake ${BUILDLINK_DIR}/bin/
do-build:
cd ${WRKSRC} && sip-install
+DEPENDS+= ${PYPKGPREFIX}-qt-builder-[0-9]*:../../x11/py-qt-builder
+
.include "../../lang/python/wheel.mk"
+.include "../../lang/python/pyversion.mk"
.include "../../x11/py-sip5/buildlink3.mk"
.include "../../x11/py-qt5/buildlink3.mk"
BUILDLINK_API_DEPENDS.qt5-qscintilla+= qt5-qscintilla>=${PKGVERSION_NOREV}
Home |
Main Index |
Thread Index |
Old Index