File: rename-test-data-file.patch

package info (click to toggle)
blockdiag 3.0.0%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,644 kB
  • sloc: python: 8,402; makefile: 15
file content (54 lines) | stat: -rw-r--r-- 2,281 bytes parent folder | download | duplicates (2)
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
51
52
53
54
From: Kouhei Maeda <mkouhei@palmtb.net>
Subject: Fixes package-contains-documentation-outside-usr-share-doc for
 testing data
Last-Update: 2021-02-01

---
 src/blockdiag/tests/diagrams/README          | 12 ------------
 src/blockdiag/tests/diagrams/testdata.rst    | 12 ++++++++++++
 src/blockdiag/tests/test_generate_diagram.py |  2 +-
 3 files changed, 13 insertions(+), 13 deletions(-)
 delete mode 100644 src/blockdiag/tests/diagrams/README
 create mode 100644 src/blockdiag/tests/diagrams/testdata.rst

--- a/src/blockdiag/tests/diagrams/README
+++ /dev/null
@@ -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
--- /dev/null
+++ b/src/blockdiag/tests/diagrams/testdata.rst
@@ -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
--- a/src/blockdiag/tests/test_generate_diagram.py
+++ b/src/blockdiag/tests/test_generate_diagram.py
@@ -32,7 +32,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', 'invalid.txt', 'white.gif']
     for file in os.listdir(diagramsdir):
         if file in skipped: