Skip to content

Commit fcb27ef

Browse files
committed
gtkpod: python3
1 parent 8b35257 commit fcb27ef

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
--- a/scripts/sync-palm-jppy.py
2+
+++ b/scripts/sync-palm-jppy.py
3+
@@ -1,4 +1,4 @@
4+
-#!/usr/bin/python
5+
+#!/usr/bin/python3
6+
# Script for syncing Palm addressbook data with iPod via Jppy
7+
# (c) 2005 Nick Piper <nick at nickpiper dot co dot uk>
8+
#
9+
@@ -52,7 +52,7 @@
10+
(options, args) = parser.parse_args()
11+
12+
if options.verbose:
13+
- print "Trying to export from Jppy:"
14+
+ print("Trying to export from Jppy:")
15+
16+
dir = os.path.join(options.mountpoint,"Contacts")
17+
if not os.path.exists(dir):
18+
@@ -74,4 +74,4 @@
19+
os.unlink(fn)
20+
21+
if options.verbose:
22+
- print "Saved %d records, removed %d records." % (n,r)
23+
+ print("Saved %d records, removed %d records." % (n,r))

srcpkgs/gtkpod/template

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Template file for 'gtkpod'
22
pkgname=gtkpod
33
version=2.1.5
4-
revision=4
4+
revision=5
55
build_style=gnu-configure
66
configure_args="--disable-static"
77
hostmakedepends="flex intltool pkg-config glib"
@@ -14,8 +14,7 @@ license="GPL-2.0-or-later"
1414
homepage="http://www.gtkpod.org/libgpod"
1515
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
1616
checksum=a57dc8ae9138e0cb4cee98691e7a95001130c9ea7823e6a75cc72503facd3a76
17-
# Line 55: print in python 2 style
18-
python_version=2
17+
python_version=3
1918

2019
CFLAGS="-fcommon"
2120

0 commit comments

Comments
 (0)