Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Oct 2014 14:34:50 +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: r369966 - in head/comms/wspr: . files
Message-ID:  <201410041434.s94EYouD084421@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Sat Oct  4 14:34:50 2014
New Revision: 369966
URL: https://svnweb.freebsd.org/changeset/ports/369966
QAT: https://qat.redports.org/buildarchive/r369966/

Log:
  comms/wspr: switch from py-imaging to py-pillow
  
  - USES python
  
  With hat:	python
  Reviewed by:	portmgr (bdrewery, implicit)

Added:
  head/comms/wspr/files/patch-wspr.py   (contents, props changed)
Modified:
  head/comms/wspr/Makefile

Modified: head/comms/wspr/Makefile
==============================================================================
--- head/comms/wspr/Makefile	Sat Oct  4 14:16:16 2014	(r369965)
+++ head/comms/wspr/Makefile	Sat Oct  4 14:34:50 2014	(r369966)
@@ -3,7 +3,7 @@
 
 PORTNAME=	wspr
 DISTVERSION=	${VERSION}.r${SVN_REV}
-PORTREVISION=	8
+PORTREVISION=	9
 CATEGORIES=	comms hamradio
 MASTER_SITES=	${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	db
@@ -13,7 +13,7 @@ MAINTAINER=	hamradio@FreeBSD.org
 COMMENT=	Weak signal for HF ham radio communication package
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter \
-		${PYTHON_SITELIBDIR}/PIL.pth:${PORTSDIR}/graphics/py-imaging
+		${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow
 LIB_DEPENDS=	libhamlib.so:${PORTSDIR}/comms/hamlib \
 		libfftw3f.so:${PORTSDIR}/math/fftw3-float \
 		libsamplerate.so:${PORTSDIR}/audio/libsamplerate
@@ -21,7 +21,7 @@ BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/scip
 		${LOCALBASE}/lib/portaudio2/libportaudio.so:${PORTSDIR}/audio/portaudio2 \
 		${PYNUMPY}
 
-USES=		fortran gmake libtool tar:bzip2
+USES=		fortran gmake libtool python tar:bzip2
 ALL_TARGET=	build
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-gfortran --prefix=${STAGEDIR}${LOCALBASE} \
@@ -29,7 +29,6 @@ CONFIGURE_ARGS=	--enable-gfortran --pref
 		--with-portaudio-lib-dir=${LOCALBASE}/lib/portaudio2
 CFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
-USE_PYTHON=	yes
 MAKE_ENV+=	PYTHONUSERBASE=${STAGEDIR}${PYTHONBASE}
 PLIST_SUB=	PYVER=${PYTHON_VERSION:S/python//} \
 		VERSION=${VERSION}

Added: head/comms/wspr/files/patch-wspr.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/wspr/files/patch-wspr.py	Sat Oct  4 14:34:50 2014	(r369966)
@@ -0,0 +1,11 @@
+--- wspr.py.orig	2014-10-04 14:29:49 UTC
++++ wspr.py
+@@ -14,7 +14,7 @@
+     from Numeric import zeros
+ import array
+ import dircache
+-import Image, ImageTk, ImageDraw
++from PIL import Image, ImageTk, ImageDraw
+ from WsprMod.palettes import colormapblue, colormapgray0, colormapHot, \
+      colormapAFMHot, colormapgray1, colormapLinrad, Colormap2Palette
+ from types import *



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410041434.s94EYouD084421>