Re: pillow
diff -ruN --exclude '*.bak' a/pillow-2.4.0/debian/control pillow-2.4.0/debian/control
--- a/pillow-2.4.0/debian/control 2014-06-13 21:59:46.000000000 +1000
+++ pillow-2.4.0/debian/control 2014-07-02 14:12:06.732951191 +1000
@@ -3,10 +3,10 @@
Priority: optional
Maintainer: Matthias Klose <doko@debian.org>
Build-Depends: debhelper, tk-dev, dpkg-dev (>= 1.16.1~),
- python-all-dev (>= 2.7.3-11~), python-all-dbg, python-setuptools,
- python3-all-dev (>= 3.3.4), python3-all-dbg, python3-setuptools,
- python-tk (>= 2.7.7-2), python-tk-dbg,
- python3-tk (>= 3.4.1-2), python3-tk-dbg (>= 3.3),
+ python-all-dev, python-all-dbg, python-setuptools,
+ python3-all-dev, python3-all-dbg, python3-setuptools,
+ python-tk, python-tk-dbg,
+ python3-tk, python3-tk-dbg,
libsane-dev, libfreetype6-dev, libjpeg8-dev, zlib1g-dev, liblcms2-dev,
libwebp-dev
Standards-Version: 3.9.5
@@ -166,7 +166,7 @@
Package: python3-pil.imagetk
Architecture: any
Depends: python3-pil (= ${binary:Version}),
- python3-tk (>= 3.4.1-2),
+ python3-tk,
${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}
Suggests: python-pil-doc, python3-pil.imagetk-dbg
Provides: ${python:Provides}
diff -ruN --exclude '*.bak' a/pillow-2.4.0/debian/rules pillow-2.4.0/debian/rules
--- a/pillow-2.4.0/debian/rules 2014-01-03 12:14:02.000000000 +1100
+++ pillow-2.4.0/debian/rules 2014-07-02 14:05:53.449484760 +1000
@@ -122,9 +122,9 @@
! -type d ! \( -name '*_d.so' -o -name '*.h' \) | xargs rm -f
find debian/python-pil*-dbg -depth -empty -exec rmdir {} \;
- dh_movefiles -ppython-pil.imagetk-dbg \
- --sourcedir=debian/python-pil-dbg \
- usr/lib/python$*/$(call py_sitename_sh, $*)/PIL/_imagingtk_d.so
+# dh_movefiles -ppython-pil.imagetk-dbg \
+# --sourcedir=debian/python-pil-dbg \
+# usr/lib/python$*/$(call py_sitename_sh, $*)/PIL/_imagingtk_d.so
# Install the compatibility modules for python2 only.
cd debian/PILcompat && python$* setup.py install \
@@ -146,11 +146,13 @@
libImaging/ImDib.h \
debian/python3-pil/$$incdir
- abitag=.$$(python$* -c "import sysconfig; print(sysconfig.get_config_var('SOABI'))")-$(DEB_HOST_MULTIARCH); \
- dh_movefiles -ppython3-pil.imagetk \
+ abitag=.$$(python$* -c "import sysconfig; print(sysconfig.get_config_var('SOABI'))")*; \
+ dh_install -ppython3-pil.imagetk \
--sourcedir=debian/python3-pil \
usr/lib/python3/$(call py_sitename_sh, $*)/PIL/_imagingtk$$abitag.so \
- usr/lib/python3/$(call py_sitename_sh, $*)/PIL/ImageTk.py
+ usr/lib/python3/$(call py_sitename_sh, $*)/PIL/ImageTk.py; \
+ rm debian/python3-pil/usr/lib/python3/$(call py_sitename_sh, $*)/PIL/_imagingtk$$abitag.so; \
+ rm debian/python3-pil/usr/lib/python3/$(call py_sitename_sh, $*)/PIL/ImageTk.py
$(SET_CROSS_ENV) python$*-dbg setup.py install \
--root $(CURDIR)/debian/python3-pil-dbg \
@@ -170,10 +172,11 @@
! -type d ! \( -name '*.so' -o -name '*.h' \) | xargs rm -f
find debian/python3-pil*-dbg -depth -empty -exec rmdir {} \;
- abitag=.$$(python$*-dbg -c "import sysconfig; print(sysconfig.get_config_var('SOABI'))")-$(DEB_HOST_MULTIARCH); \
- dh_movefiles -ppython3-pil.imagetk-dbg \
+ abitag=.$$(python$*-dbg -c "import sysconfig; print(sysconfig.get_config_var('SOABI'))")*; \
+ dh_install -ppython3-pil.imagetk-dbg \
--sourcedir=debian/python3-pil-dbg \
- usr/lib/python3/$(call py_sitename_sh, $*)/PIL/_imagingtk$$abitag.so
+ usr/lib/python3/$(call py_sitename_sh, $*)/PIL/_imagingtk$$abitag.so; \
+ rm debian/python3-pil-dbg/usr/lib/python3/$(call py_sitename_sh, $*)/PIL/_imagingtk$$abitag.so
# Build architecture-independent files here.
# Pass -i to all debhelper commands in this target to reduce clutter.
Reply to:
- References:
- pillow
- From: Brian May <brian@microcomaustralia.com.au>