[neon/forks/sip6/Neon/release] debian: Do not ship parsetab.py in a versioned (python3.13) directory.

Dmitry Shachnev null at kde.org
Sun Aug 17 07:48:50 BST 2025


Git commit 199a352f0a643a33c4c7ac5595e6f42f7039c6b5 by Dmitry Shachnev.
Committed on 08/12/2024 at 15:30.
Pushed by carlosdem into branch 'Neon/release'.

Do not ship parsetab.py in a versioned (python3.13) directory.

M  +1    -0    debian/changelog
M  +4    -0    debian/rules

https://invent.kde.org/neon/forks/sip6/-/commit/199a352f0a643a33c4c7ac5595e6f42f7039c6b5

diff --git a/debian/changelog b/debian/changelog
index a26f015..9df6284 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ sip6 (6.9.0-1) UNRELEASED; urgency=medium
 
   * New upstream release.
   * Refresh patches for the new release.
+  * Do not ship parsetab.py in a versioned (python3.13) directory.
 
  -- Dmitry Shachnev <mitya57 at debian.org>  Sun, 08 Dec 2024 17:15:55 +0300
 
diff --git a/debian/rules b/debian/rules
index 7c4169f..5e6951f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,5 +13,9 @@ execute_after_dh_auto_install:
 	mkdir -p debian/sip-tools/usr
 	mv debian/python3-sipbuild/usr/bin debian/sip-tools/usr/bin
 
+execute_after_dh_python3:
+	# parsetab.py, generated by yacc, may differ slightly depending on Python version
+	rm -rfv debian/python3-sipbuild/usr/lib/python3.*
+
 execute_before_dh_sphinxdoc:
 	python3 -m sphinx docs debian/sip6-doc/usr/share/doc/sip6-doc/html



More information about the Neon-commits mailing list