Package: blockdiag / 2.0.1+dfsg-1

rename-test-data-file.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Description: Fixes package-contains-documentation-outside-usr-share-doc for testing data
Author: Kouhei Maeda <mkouhei@palmtb.net>
Last-Update: 2021-02-01
Index: blockdiag-2.0.1+dfsg/src/blockdiag/tests/diagrams/README
===================================================================
--- blockdiag-2.0.1+dfsg.orig/src/blockdiag/tests/diagrams/README	2021-01-31 23:34:47.910743408 +0900
+++ /dev/null	1970-01-01 00:00:00.000000000 +0000
@@ -1,12 +0,0 @@
-Copyrights of images
-=====================
-
-debian-logo-256color-palettealpha.png
---------------------------------------
-
-The Debian Open Use Logo(s) are Copyright (c) 1999 Software in the Public Interest, Inc., and are released under the terms of the GNU Lesser General Public License, version 3 or any later version, or, at your option, of the Creative Commons Attribution-ShareAlike 3.0 Unported License.
-
-
-it is modified format::
-
-  $ convert debian-logo-original.png -type PaletteAlpha -colors 256 -transparent #000000 debian-logo-256color-palettealpha.png
Index: blockdiag-2.0.1+dfsg/src/blockdiag/tests/test_generate_diagram.py
===================================================================
--- blockdiag-2.0.1+dfsg.orig/src/blockdiag/tests/test_generate_diagram.py	2021-01-31 23:34:47.910743408 +0900
+++ blockdiag-2.0.1+dfsg/src/blockdiag/tests/test_generate_diagram.py	2021-01-31 23:34:47.906743409 +0900
@@ -31,7 +31,7 @@
 def get_diagram_files(testdir):
     diagramsdir = os.path.join(testdir, 'diagrams')
 
-    skipped = ['README', 'debian-logo-256color-palettealpha.png',
+    skipped = ['testdata.rst', 'debian-logo-256color-palettealpha.png',
                'errors', 'white.gif']
     for file in os.listdir(diagramsdir):
         if file in skipped:
Index: blockdiag-2.0.1+dfsg/src/blockdiag/tests/diagrams/testdata.rst
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ blockdiag-2.0.1+dfsg/src/blockdiag/tests/diagrams/testdata.rst	2021-01-31 23:35:49.826740869 +0900
@@ -0,0 +1,12 @@
+Copyrights of images
+=====================
+
+debian-logo-256color-palettealpha.png
+--------------------------------------
+
+The Debian Open Use Logo(s) are Copyright (c) 1999 Software in the Public Interest, Inc., and are released under the terms of the GNU Lesser General Public License, version 3 or any later version, or, at your option, of the Creative Commons Attribution-ShareAlike 3.0 Unported License.
+
+
+it is modified format::
+
+  $ convert debian-logo-original.png -type PaletteAlpha -colors 256 -transparent #000000 debian-logo-256color-palettealpha.png