Your message dated Fri, 22 Feb 2019 13:20:03 +0000
with message-id <[email protected]>
and subject line Bug#920584: fixed in plastex 1.0.0-1
has caused the Debian Bug report #920584,
regarding python-plastex: cannot correctly import PIL; cannot process images
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
920584: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=920584
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-plastex
Version: 0.9.2-1.2
Severity: serious
Tags: + patch
Justification: Renders package (almost) useless
Dear Maintainer,
Various python-imaging/python-pil imports have changed over time and plastex
in Debian has almost kept up with them. It currently depends on python-pil but
does not correctly import from PIL and so claims that python-pil is not
installed; images within the documentation cannot be processed in this state.
Since (almost) all documentation contains images, this means that plastex
misrenders the documentation. (The only build-rdep of plastex in the archive
makes heavy use of images in its documentation and is affected by this bug.)
Patch attached and MR to follow.
regards
Stuart
-- System Information:
Debian Release: buster/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8),
LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
Versions of packages python-plastex depends on:
ii dvipng 1.15-1.1
ii python 2.7.15-4
ii python-pil 5.4.1-1
ii texlive-latex-base 2018.20190122-1
Versions of packages python-plastex recommends:
ii python-cheetah 3.1.0-3
ii python-genshi 0.7-6
ii python-kid 0.9.6-3
python-plastex suggests no packages.
-- no debconf information
commit 156f57a99896710e64ce3b42248abc849e52f7b6
Author: Stuart Prescott <[email protected]>
Date: Sun Jan 27 18:44:28 2019 +1100
Fix import of PIL after rename
diff --git a/debian/changelog b/debian/changelog
index 2f22e5d..f5d3226 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,11 +1,15 @@
plastex (0.9.2-2) UNRELEASED; urgency=medium
+ [ Ondřej Nový ]
* d/changelog: Remove trailing whitespaces
* d/control: Remove trailing whitespaces
* Remove debian/pycompat, it's not used by any modern Python helper
* Convert git repository from git-dpm to gbp layout
* d/watch: Use https protocol
+ [ Stuart Prescott ]
+ * Correctly import PIL
+
-- Ondřej Nový <[email protected]> Mon, 12 Mar 2018 23:22:35 +0100
plastex (0.9.2-1.2) unstable; urgency=low
diff --git a/debian/patches/pilimport.diff b/debian/patches/pilimport.diff
new file mode 100644
index 0000000..1bd4f91
--- /dev/null
+++ b/debian/patches/pilimport.diff
@@ -0,0 +1,15 @@
+diff --git a/plasTeX/Imagers/__init__.py b/plasTeX/Imagers/__init__.py
+index 199fafe..ac26238 100644
+--- a/plasTeX/Imagers/__init__.py
++++ b/plasTeX/Imagers/__init__.py
+@@ -13,8 +13,8 @@ depthlog = getLogger('render.images.depth')
+ status = getLogger('status')
+
+ try:
+- import Image as PILImage
+- import ImageChops as PILImageChops
++ from PIL import Image as PILImage
++ from PIL import ImageChops as PILImageChops
+ except ImportError:
+ PILImage = PILImageChops = None
+
diff --git a/debian/patches/series b/debian/patches/series
index 20a73cb..d64a4e1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
03_template_icon_links.diff
remove_cgpdfpng.patch.diff
02_shebang.diff
+pilimport.diff
--- End Message ---
--- Begin Message ---
Source: plastex
Source-Version: 1.0.0-1
We believe that the bug you reported is fixed in the latest version of
plastex, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andreas Tille <[email protected]> (supplier of updated plastex package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 22 Feb 2019 13:50:23 +0100
Source: plastex
Binary: python-plastex python-plastex-doc
Architecture: source
Version: 1.0.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team
<[email protected]>
Changed-By: Andreas Tille <[email protected]>
Description:
python-plastex - LaTeX document processing framework in Python
python-plastex-doc - LaTeX document processing framework in Python -
documentation fil
Closes: 920584
Changes:
plastex (1.0.0-1) unstable; urgency=medium
.
* Team upload
.
[ Ondřej Nový ]
* d/changelog: Remove trailing whitespaces
* d/control: Remove trailing whitespaces
* Remove debian/pycompat, it's not used by any modern Python helper
* Convert git repository from git-dpm to gbp layout
* d/watch: Use https protocol
.
[ Stuart Prescott ]
* Correctly import PIL
Closes: #920584
.
[ Andreas Tille ]
* Set DPMT as maintainer instead of Uploader
* Upstream moved from Sourceforge to Github
* debhelper 12, short dh rules file
* Point Vcs fields to salsa.debian.org
* Standards-Version: 4.3.0
* Use pybuild
* Remove outdated debian/pyversions
* DEP5
* Do not burn computing cycles to render manpage for every package build
Checksums-Sha1:
4627bd365dd2af6792b17e5516c2b8aa84d2c96a 2106 plastex_1.0.0-1.dsc
14cb0886219584a4bbde2bb651888fd2a9fbe0cf 871431 plastex_1.0.0.orig.tar.gz
e515c4dda02a569ee2a715355b8d07c7375c8f8f 16080 plastex_1.0.0-1.debian.tar.xz
Checksums-Sha256:
0805b20cf43c53ab563911a03930d3b62304995234c70185878199829d45a3b4 2106
plastex_1.0.0-1.dsc
3de0ea7da3040626c9e217dc525d012786ffdfb23973d569777d9d5c9506b6bd 871431
plastex_1.0.0.orig.tar.gz
4ed65b7678ab8ba4fa080c86826cae36d72df8e06da8aa24bae4857fd566e9a8 16080
plastex_1.0.0-1.debian.tar.xz
Files:
b56863ac71efba073e604f1cb094bf93 2106 tex optional plastex_1.0.0-1.dsc
d8bb2af18e4a7e8852e7c1d8e70154ad 871431 tex optional plastex_1.0.0.orig.tar.gz
f6ce28ef78ce0347fc683463bed9be05 16080 tex optional
plastex_1.0.0-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCAAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAlxv8ukRHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtHlnA//bfzjI9KNpuVkb1wR90fexNq0sS8Y0Ito
pZgJ6hCMuHQyJPKPRPbOqRsDT5Y3D0vUZMFcDqW3ve8trJl7dROnfebiCpzpqaTr
YwdgOQhLqnNxtvHhMJgGuNplde1AcZEqrVy5I7su8I3in5Vo0r1aBttGfkWCSPao
WsNNZCLaLpKl/gViL7cIy0EytYDlbsrvMShtSxBTBuXRiYT8BMKF9NL7sg68mwxV
6GbdwWdknl5AtuOMGWSBbIGUzjJawW89BOeQARzdJth3Hi/RMa+EFKORfY0bSMqr
zOU6ADC6hZHgEwbzWLFS817P66VnbW8nLqXiT6irqJAY4k859zX7JRtFsbJmDcwU
9Ok/rKuTIUI6NgrFwT7rRMxou5gXzS3lAeHUst8elRD9sXiV+vAkJ3pODwmt5Cx0
WqmLsoTHgjhyuNxzdCZg7xbnQxLD2Oz1L1mBbNwE7NIx1cgRRKtmrqEhbX40ElQm
fK49+2FQoWupwp4QlXnc9GKmwJfQeB73y/pEw2ZzGfx7n9FoSmLkURqSvrKEyB2Q
Sx1emRCx4RoZbax3hl25X9X3X4DS/IjY+ELhxPGvcDb5R7AMcfyKOJB3lYvaVV+w
ODwwcS6dBtXSdVfQJ2ikAiILvPMJ3BY9fqW1XThQAJE7QyPLHKI1QzQJAeMUov0t
R2w45pP52qA=
=Fhft
-----END PGP SIGNATURE-----
--- End Message ---