Date: Tue, 7 Oct 2014 12:25:30 +0000 (UTC) From: William Grzybowski <wg@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r370318 - in head/audio/decibel-audio-player: . files Message-ID: <201410071225.s97CPUff056488@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wg Date: Tue Oct 7 12:25:29 2014 New Revision: 370318 URL: https://svnweb.freebsd.org/changeset/ports/370318 QAT: https://qat.redports.org/buildarchive/r370318/ Log: audio/decibel-audio-player: switch from py-imaging to py-pillow - USES python With hat: python Approved by: portmgr (bdrewery, implicit) Added: head/audio/decibel-audio-player/files/patch-src__modules__Covers.py (contents, props changed) Modified: head/audio/decibel-audio-player/Makefile Modified: head/audio/decibel-audio-player/Makefile ============================================================================== --- head/audio/decibel-audio-player/Makefile Tue Oct 7 12:23:43 2014 (r370317) +++ head/audio/decibel-audio-player/Makefile Tue Oct 7 12:25:29 2014 (r370318) @@ -3,7 +3,7 @@ PORTNAME= decibel-audio-player PORTVERSION= 1.08 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio multimedia gnome python MASTER_SITES= http://decibel.silent-blade.org/uploads/Main/ @@ -15,7 +15,7 @@ RUN_DEPENDS= py*-dbus>=0.80:${PORTSDIR}/ LICENSE= GPLv2 -USE_PYTHON= yes +USES= python USE_GNOME= pygnome2 pygtk2 USE_GSTREAMER= python good bad USES= gmake gettext desktop-file-utils @@ -33,7 +33,7 @@ EXTRAS_DESC= Extra dependencies for plug AUDIOCD_RUN_DEPENDS= cd-discid>=0.9:${PORTSDIR}/audio/cd-discid \ py*-cddb>=1.4:${PORTSDIR}/audio/py-cddb \ gstreamer-plugins-cdio>=0.10.16:${PORTSDIR}/sysutils/gstreamer-plugins-cdio -EXTRAS_RUN_DEPENDS= py*-imaging>=1.1.6:${PORTSDIR}/graphics/py-imaging \ +EXTRAS_RUN_DEPENDS= py*-pillow>0:${PORTSDIR}/graphics/py-pillow \ py*-notify>=0.1.1:${PORTSDIR}/devel/py-notify FLAC_USE= GSTREAMER=flac MP3_USE= GSTREAMER=mp3 Added: head/audio/decibel-audio-player/files/patch-src__modules__Covers.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/decibel-audio-player/files/patch-src__modules__Covers.py Tue Oct 7 12:25:29 2014 (r370318) @@ -0,0 +1,20 @@ +--- src/modules/Covers.py.orig 2014-10-07 12:26:08 UTC ++++ src/modules/Covers.py +@@ -124,7 +124,7 @@ + + def generateFullSizeCover(self, inFile, outFile, format): + """ Resize inFile if needed, and write it to outFile (outFile and inFile may be equal) """ +- import Image ++ from PIL import Image + + try: + # Open the image +@@ -144,7 +144,7 @@ + + def generateThumbnail(self, inFile, outFile, format): + """ Generate a thumbnail from inFile (e.g., resize it) and write it to outFile (outFile and inFile may be equal) """ +- import Image ++ from PIL import Image + + try: + # Open the image
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410071225.s97CPUff056488>