summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2022-11-13 18:28:08 +0000
committerSimon McVittie <smcv@debian.org>2022-11-13 18:28:12 +0000
commit03a575e082f3b6313c52f16808186d39e9942448 (patch)
tree7eeb1a36d239bd0603d774f2cac3320e57431c8f
parent204a5104a3f2130ed27c4fd81ac6e18e6dd872c1 (diff)
Move dbus_py_test module into public dist-packages directory
This is a workaround for #942720 in dh-python, which was lost in the move from Autotools to Meson.
-rw-r--r--debian/python3-dbus-tests.install1
-rwxr-xr-xdebian/rules2
2 files changed, 3 insertions, 0 deletions
diff --git a/debian/python3-dbus-tests.install b/debian/python3-dbus-tests.install
index b4e9f89..7dbbea0 100644
--- a/debian/python3-dbus-tests.install
+++ b/debian/python3-dbus-tests.install
@@ -1,2 +1,3 @@
+usr/lib/python3/dist-packages/dbus_py_test*.so
usr/libexec/installed-tests/dbus-python/python3*
usr/share/installed-tests/dbus-python/python3*
diff --git a/debian/rules b/debian/rules
index b692b05..65e6f9b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -79,6 +79,8 @@ override_dh_auto_install-arch:
--destdir=debian/tmp \
-- \
; \
+ mv debian/tmp/usr/libexec/installed-tests/dbus-python/python$$x/test/*.so \
+ debian/tmp/usr/lib/python3/dist-packages/; \
done
install -d debian/tmp/usr/lib/python3/dist-packages/dbus_python-${DEB_VERSION_UPSTREAM}.egg-info
install -m644 dbus_python.egg-info/PKG-INFO debian/tmp/usr/lib/python3/dist-packages/dbus_python-${DEB_VERSION_UPSTREAM}.egg-info/