From cd451f35b7d2708639af827d292cd3dc72b2fa63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20O=C5=BCarowski?= <piotr@debian.org> Date: Mon, 21 Jun 2010 19:29:38 +0200 Subject: [PATCH] Add python-minimal.{postinst,prerm} files to handle .py files byte-compilation --- debian/changelog | 2 ++ debian/python-minimal.postinst | 4 ++++ debian/python-minimal.prerm | 4 ++++ 3 files changed, 10 insertions(+) create mode 100644 debian/python-minimal.postinst create mode 100644 debian/python-minimal.prerm diff --git a/debian/changelog b/debian/changelog index 99d0261..bf359a8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,8 @@ python-defaults (2.6.5-4) UNRELEASED; urgency=low * dh_python2: fix parsing "XS-Python-Version: X.Y" + * Add python-minimal.{postinst,prerm} files to handle .py files + byte-compilation -- Piotr Ożarowski <piotr@debian.org> Fri, 18 Jun 2010 16:52:21 +0200 diff --git a/debian/python-minimal.postinst b/debian/python-minimal.postinst new file mode 100644 index 0000000..7fac677 --- /dev/null +++ b/debian/python-minimal.postinst @@ -0,0 +1,4 @@ +#! /bin/sh +pycompile -p python-minimal + +#DEBHELPER# diff --git a/debian/python-minimal.prerm b/debian/python-minimal.prerm new file mode 100644 index 0000000..38747bd --- /dev/null +++ b/debian/python-minimal.prerm @@ -0,0 +1,4 @@ +#! /bin/sh +pyclean -p python-minimal + +#DEBHELPER# -- GitLab