summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/.gitignore1
-rw-r--r--debian/python-pyphen.postinst.debhelper7
-rw-r--r--debian/python-pyphen.prerm.debhelper12
-rw-r--r--debian/python3-pyphen.postinst.debhelper7
-rw-r--r--debian/python3-pyphen.prerm.debhelper10
5 files changed, 1 insertions, 36 deletions
diff --git a/debian/.gitignore b/debian/.gitignore
index 188a850..4d422e2 100644
--- a/debian/.gitignore
+++ b/debian/.gitignore
@@ -3,6 +3,7 @@
files
*.debhelper.log
*.substvars
+*.debhelper
tmp/
python-pyphen/
python3-pyphen/
diff --git a/debian/python-pyphen.postinst.debhelper b/debian/python-pyphen.postinst.debhelper
deleted file mode 100644
index 8e49ac8..0000000
--- a/debian/python-pyphen.postinst.debhelper
+++ /dev/null
@@ -1,7 +0,0 @@
-
-# Automatically added by dh_python2:
-if which pycompile >/dev/null 2>&1; then
- pycompile -p python-pyphen
-fi
-
-# End automatically added section
diff --git a/debian/python-pyphen.prerm.debhelper b/debian/python-pyphen.prerm.debhelper
deleted file mode 100644
index 59799eb..0000000
--- a/debian/python-pyphen.prerm.debhelper
+++ /dev/null
@@ -1,12 +0,0 @@
-
-# Automatically added by dh_python2:
-if which pyclean >/dev/null 2>&1; then
- pyclean -p python-pyphen
-else
- dpkg -L python-pyphen | grep \.py$ | while read file
- do
- rm -f "${file}"[co] >/dev/null
- done
-fi
-
-# End automatically added section
diff --git a/debian/python3-pyphen.postinst.debhelper b/debian/python3-pyphen.postinst.debhelper
deleted file mode 100644
index 9fc1727..0000000
--- a/debian/python3-pyphen.postinst.debhelper
+++ /dev/null
@@ -1,7 +0,0 @@
-
-# Automatically added by dhpython:
-if which py3compile >/dev/null 2>&1; then
- py3compile -p python3-pyphen -V 3.1-
-fi
-
-# End automatically added section
diff --git a/debian/python3-pyphen.prerm.debhelper b/debian/python3-pyphen.prerm.debhelper
deleted file mode 100644
index 209308b..0000000
--- a/debian/python3-pyphen.prerm.debhelper
+++ /dev/null
@@ -1,10 +0,0 @@
-
-# Automatically added by dhpython:
-if which py3clean >/dev/null 2>&1; then
- py3clean -p python3-pyphen
-else
- dpkg -L python3-pyphen | perl -ne 's,/([^/]*)\.py$,/__pycache__/\1.*, or next; unlink $_ or die $! foreach glob($_)'
- find /usr/lib/python3/dist-packages/ -type d -name __pycache__ -empty -print0 | xargs --null --no-run-if-empty rmdir
-fi
-
-# End automatically added section