Package: blockdiag / 1.5.3+dfsg-5.2

Metadata

Package Version Patches format
blockdiag 1.5.3+dfsg-5.2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Fixed remote image resouces.patch | (download)

src/blockdiag/tests/diagrams/background_url_image.diag | 9 5 + 4 - 0 !
src/blockdiag/tests/diagrams/node_icon.diag | 2 1 + 1 - 0 !
2 files changed, 6 insertions(+), 5 deletions(-)

 changes remote image resource to local files from base packages.
use vlgothic package on fullpath.patch | (download)

src/blockdiag/tests/test_generate_diagram.py | 10 2 + 8 - 0 !
1 file changed, 2 insertions(+), 8 deletions(-)

 use vlgothic font file on fullpath for testing.

skip test_app_cleans_up_images.patch | (download)

src/blockdiag/tests/test_command.py | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 skip test_app_cleans_up_images (blockdiag.tests.test_command.testblockdiagapp)

Not worki test why I removes remote image url on diagram.
So skips the test case.

fixes test_node_attribute.patch | (download)

src/blockdiag/tests/diagrams/node_attribute.diag | 2 1 + 1 - 0 !
src/blockdiag/tests/test_builder_node.py | 4 2 + 2 - 0 !
2 files changed, 3 insertions(+), 3 deletions(-)

 fixes test_node_attribute (blockdiag.tests.test_builder_node.testbuildernode).
fixes_test_fontmap_duplicated_fontentry1.patch | (download)

src/blockdiag/tests/test_utils_fontmap.py | 14 3 + 11 - 0 !
1 file changed, 3 insertions(+), 11 deletions(-)

 fixes test_fontmap_duplicated_fontentry1

Deprecated specificatoin for Python 2 at test_fontmap_duplicated_fontentry1.
848748 exception ignored in Image del.patch | (download)

src/blockdiag/tests/utils.py | 9 8 + 1 - 0 !
1 file changed, 8 insertions(+), 1 deletion(-)

 fix test failure with wand 0.4.1+
 
wand 0.4.1 added an Image.destroy()
(https://sources.debian.net/src/wand/0.4.4-1/wand/image.py/#L2760) that
iterates over self.sequence (the frames of an animation) to free their
memory; this throws an exception on single images (where
self.sequence=None), but as this is called from __del__, this
exception is warned about then ignored
(https://docs.python.org/3/reference/datamodel.html#object.__del__),
and hence is not an error in normal use.

However, blockdiag tests that use capture_stderr fail on any output
containing "Traceback", including this warning message.

This patch ignores this message to allow blockdiag to build.

remove one assert in test_node_attribute.patch | (download)

src/blockdiag/tests/test_builder_node.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 remove one assert in test_node_attribute
fix py37 breaking changes around iterators.patch | (download)

src/blockdiag/utils/myitertools.py | 47 27 + 20 - 0 !
1 file changed, 27 insertions(+), 20 deletions(-)

 python 3.7 compatibility
 See PEP 479 for the breaking changes around iterators, based on
 serhiy-storchaka's suggestions for myitertools.py changes.
 Fixes #93