Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

256.24. python3-qscintilla-2.14.1

QScintilla for Python as PyQt6.Qsci, for QGIS's console and script editor

2.14.1-1 · GPL-3.0-only · 1.1 SBU · 2.4 MiB, 67 files · 43_toolkits, 296 of 344 · ports/core/qt-extra/python3-qscintilla

Homepage: https://www.riverbankcomputing.com/software/qscintilla/

Depends on: python3, python3-sip, python3-pyqt-builder, python3-pyqt6, python3-pyqt6-sip, qt6-qtbase, qscintilla.

Required by (1): qgis.

Sources: qscintilla-2.14.1.tar.gz (3.1 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install python3-qscintilla'

build.sh:

cd Python
cp pyproject-qt6.toml pyproject.toml
sip-build \
	--qmake /usr/lib/qt6/bin/qmake \
	--api-dir /usr/share/qt6/qsci/api/python \
	--build-dir build \
	--no-make \
	--qmake-setting "QMAKE_CFLAGS_RELEASE = $CFLAGS" \
	--qmake-setting "QMAKE_CXXFLAGS_RELEASE = $CXXFLAGS" \
	--qmake-setting "QMAKE_LFLAGS_RELEASE = $LDFLAGS" \
	--verbose
make -C build
make -C build -j1 INSTALL_ROOT="$PKG" install

site=$(find "$PKG"/usr/lib -maxdepth 2 -type d -name site-packages)
test -n "$(find "$site/PyQt6" -maxdepth 1 -name 'Qsci.*.so')"
test -d "$site/PyQt6/bindings/Qsci"

Directories: /usr/lib/python3.14/site-packages/PyQt6/bindings/Qsci, /usr/lib/python3.14/site-packages/pyqt6_qscintilla-2.14.1.dist-info, /usr/share/licenses/python3-qscintilla.