[neon/forks/pyqt5webengine/Neon/release] debian: Pass correct --target-dir to sip-build.
Dmitry Shachnev
null at kde.org
Fri Oct 14 15:54:08 BST 2022
Git commit 7778ef0857fa4fb05a4bf67da3c4da86c3a5a970 by Dmitry Shachnev.
Committed on 23/10/2021 at 11:49.
Pushed by jriddell into branch 'Neon/release'.
Pass correct --target-dir to sip-build.
sip ≥ 6.2.0 uses sysconfig.get_path('platlib') to get the target directory,
which returns wrong result on Debian (/usr/lib/python3.x/dist-packages).
M +1 -0 debian/changelog
M +1 -0 debian/rules
https://invent.kde.org/neon/forks/pyqt5webengine/commit/7778ef0857fa4fb05a4bf67da3c4da86c3a5a970
diff --git a/debian/changelog b/debian/changelog
index 85b8f2d..c654534 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
pyqt5webengine (5.15.5-1) UNRELEASED; urgency=medium
* New upstream release.
+ * Pass correct --target-dir to sip-build.
-- Dmitry Shachnev <mitya57 at debian.org> Sat, 23 Oct 2021 14:43:36 +0300
diff --git a/debian/rules b/debian/rules
index e1d3dd6..e74c17b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,7 @@ export QT_SELECT=5
export PYBUILD_NAME=pyqt5.qtwebengine
export PYBUILD_SYSTEM=custom
export PYBUILD_CONFIGURE_ARGS={interpreter} /usr/bin/sip-build --verbose --no-make \
+ --target-dir /usr/lib/python3/dist-packages \
--build-dir {build_dir} --pep484-pyi \
--qmake-setting 'QMAKE_CXXFLAGS += "$(CXXFLAGS) $(CPPFLAGS)"' \
--qmake-setting 'QMAKE_LFLAGS += "$(LDFLAGS)"'
More information about the Neon-commits
mailing list