[Python-modules-commits] r24832 - in packages/python-llfuse/trunk/debian (rules source/options)
nikratio-guest at users.alioth.debian.org
nikratio-guest at users.alioth.debian.org
Sun Jun 16 20:40:18 UTC 2013
Date: Sunday, June 16, 2013 @ 20:40:16
Author: nikratio-guest
Revision: 24832
Switch to xz compression and make clean target more accurate.
Modified:
packages/python-llfuse/trunk/debian/rules
packages/python-llfuse/trunk/debian/source/options
Modified: packages/python-llfuse/trunk/debian/rules
===================================================================
--- packages/python-llfuse/trunk/debian/rules 2013-06-16 14:05:07 UTC (rev 24831)
+++ packages/python-llfuse/trunk/debian/rules 2013-06-16 20:40:16 UTC (rev 24832)
@@ -5,6 +5,10 @@
PYVERS=$(shell pyversions -vr) $(shell py3versions -vr)
+
+# NOTE:
+# Anyone willing to convert the package to pure debhelper
+# (i.e., without dh sequencer) is very welcome to do so.
%:
dh $@ --with python2,python3,sphinxdoc
@@ -57,9 +61,16 @@
rm -rf debian/python3-llfuse-dbg/usr/share/doc/python3-llfuse-dbg
dh_link
+# We don't want to call setup.py clean, because this
+# requires a number of (potentially uninstalled) build-dependencies.
override_dh_auto_clean:
- dh_auto_clean
- rm -rf build-python* build_cython build_sphinx build-stamp
+ rm -rf build-python* build_cython build_sphinx build-stamp \
+ src/llfuse.c
+ find \( \( -name '*.egg-info' -type d \) \
+ -o \( -name __pycache__ -type d \) \
+ -o \( -name '*.so' -type f \) \
+ -o \( -name '*.pyc' -type f \) \
+ \) -prune -exec rm -rf '{}' +
override_dh_strip:
dh_strip -ppython-llfuse --dbg-package=python-llfuse-dbg
Modified: packages/python-llfuse/trunk/debian/source/options
===================================================================
--- packages/python-llfuse/trunk/debian/source/options 2013-06-16 14:05:07 UTC (rev 24831)
+++ packages/python-llfuse/trunk/debian/source/options 2013-06-16 20:40:16 UTC (rev 24832)
@@ -1,4 +1,4 @@
-compression = "bzip2"
-compression-level = 9
+compression = "xz"
+compression-level = 6
extend-diff-ignore = "\.pyc$"
tar-ignore = "*.pyc"
More information about the Python-modules-commits
mailing list