Gentoo Archives: gentoo-commits

From: "Andreas HAttel (dilfridge)" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/exiv2/files: exiv2-0.24-python3.patch
Date: Wed, 04 Jun 2014 21:22:16
Message-Id: 20140604212213.5B7482004E@flycatcher.gentoo.org
1 dilfridge 14/06/04 21:22:13
2
3 Added: exiv2-0.24-python3.patch
4 Log:
5 Version bump
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EBE6A336BE19039C!)
8
9 Revision Changes Path
10 1.1 media-gfx/exiv2/files/exiv2-0.24-python3.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/exiv2/files/exiv2-0.24-python3.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/exiv2/files/exiv2-0.24-python3.patch?rev=1.1&content-type=text/plain
14
15 Index: exiv2-0.24-python3.patch
16 ===================================================================
17 diff -ub -r exiv2-0.23.org/doc/templates/gen.py exiv2-0.23/doc/templates/gen.py
18 --- exiv2-0.23.org/doc/templates/gen.py 2005-05-28 19:35:08.000000000 +0400
19 +++ exiv2-0.23/doc/templates/gen.py 2013-12-21 03:03:54.000000000 +0400
20 @@ -7,9 +7,9 @@
21 # ----------------------------------------------------------------------
22 # functions
23 def usage():
24 - print """Usage: gen.py file.in [...]
25 + print("""Usage: gen.py file.in [...]
26 Substitute placeholders in input files with content
27 - """
28 + """)
29
30 def gen_html(file):
31 """Replace variables in the file with their content"""
32 @@ -49,9 +49,9 @@
33 vars.sort()
34
35 # Substitute variables in all input files
36 -print "Substituting variables", vars
37 +print("Substituting variables {0}".format(vars))
38 for file in input:
39 - print "Processing", file, "..."
40 + print("Processing {0}...".format(file))
41 text = gen_html(file)
42 file = file.replace(".in", "")
43 open(file, 'w').write(text)