mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-15 21:57:02 +02:00
gtkpod: python3
This commit is contained in:
parent
8b35257c2c
commit
fcb27ef030
2 changed files with 25 additions and 3 deletions
23
srcpkgs/gtkpod/patches/python3.patch
Normal file
23
srcpkgs/gtkpod/patches/python3.patch
Normal file
|
@ -0,0 +1,23 @@
|
|||
--- a/scripts/sync-palm-jppy.py
|
||||
+++ b/scripts/sync-palm-jppy.py
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/python
|
||||
+#!/usr/bin/python3
|
||||
# Script for syncing Palm addressbook data with iPod via Jppy
|
||||
# (c) 2005 Nick Piper <nick at nickpiper dot co dot uk>
|
||||
#
|
||||
@@ -52,7 +52,7 @@
|
||||
(options, args) = parser.parse_args()
|
||||
|
||||
if options.verbose:
|
||||
- print "Trying to export from Jppy:"
|
||||
+ print("Trying to export from Jppy:")
|
||||
|
||||
dir = os.path.join(options.mountpoint,"Contacts")
|
||||
if not os.path.exists(dir):
|
||||
@@ -74,4 +74,4 @@
|
||||
os.unlink(fn)
|
||||
|
||||
if options.verbose:
|
||||
- print "Saved %d records, removed %d records." % (n,r)
|
||||
+ print("Saved %d records, removed %d records." % (n,r))
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'gtkpod'
|
||||
pkgname=gtkpod
|
||||
version=2.1.5
|
||||
revision=4
|
||||
revision=5
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static"
|
||||
hostmakedepends="flex intltool pkg-config glib"
|
||||
|
@ -14,8 +14,7 @@ license="GPL-2.0-or-later"
|
|||
homepage="http://www.gtkpod.org/libgpod"
|
||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||
checksum=a57dc8ae9138e0cb4cee98691e7a95001130c9ea7823e6a75cc72503facd3a76
|
||||
# Line 55: print in python 2 style
|
||||
python_version=2
|
||||
python_version=3
|
||||
|
||||
CFLAGS="-fcommon"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue