Skip to content

Commit d7a42e1

Browse files
committed
I meant python3-dev... sigh. make deb works now.
1 parent be2587d commit d7a42e1

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

debian/control

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Vcs-Git: git://github.com/kamilion/customizer
77
Vcs-browser: https://github.com/kamilion/customizer
88
Standards-Version: 4.2.0
99
X-Python-Version: >= 3.3
10-
Build-Depends: debhelper (>= 9~), g++, python-dev (>= 3.3~), pyqt5-dev-tools,
10+
Build-Depends: debhelper (>= 9~), g++, python3-dev (>= 3.3~), pyqt5-dev-tools,
1111
qttools5-dev-tools
1212

1313
Package: customizer

debian/customizer.postinst.debhelper

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
# Automatically added by dh_python3:
3+
if which py3compile >/dev/null 2>&1; then
4+
py3compile -p customizer /usr/share/customizer
5+
fi
6+
7+
# End automatically added section

debian/customizer.prerm.debhelper

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
# Automatically added by dh_python3:
3+
if which py3clean >/dev/null 2>&1; then
4+
py3clean -p customizer
5+
else
6+
dpkg -L customizer | perl -ne 's,/([^/]*)\.py$,/__pycache__/\1.*, or next; unlink $_ or die $! foreach glob($_)'
7+
find /usr/lib/python3/dist-packages/ -type d -name __pycache__ -empty -print0 | xargs --null --no-run-if-empty rmdir
8+
fi
9+
10+
# End automatically added section

0 commit comments

Comments
 (0)