svn commit: r370295 - in head/net-im/jabber-pyicq: . files
William Grzybowski
wg at FreeBSD.org
Tue Oct 7 11:33:48 UTC 2014
Author: wg
Date: Tue Oct 7 11:33:46 2014
New Revision: 370295
URL: https://svnweb.freebsd.org/changeset/ports/370295
QAT: https://qat.redports.org/buildarchive/r370295/
Log:
net-im/jabber-pyicq: switch from py-imaging to py-pillow
- USES python
With hat: python
Approved by: portmgr (bdrewery, implicit)
Added:
head/net-im/jabber-pyicq/files/patch-src__contact.py (contents, props changed)
head/net-im/jabber-pyicq/files/patch-src__imgmanip.py (contents, props changed)
head/net-im/jabber-pyicq/files/patch-tools__infodump.py (contents, props changed)
Modified:
head/net-im/jabber-pyicq/Makefile
Modified: head/net-im/jabber-pyicq/Makefile
==============================================================================
--- head/net-im/jabber-pyicq/Makefile Tue Oct 7 11:23:29 2014 (r370294)
+++ head/net-im/jabber-pyicq/Makefile Tue Oct 7 11:33:46 2014 (r370295)
@@ -2,7 +2,7 @@
PORTNAME= pyicq
PORTVERSION= 0.8.1.5
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= net-im
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
@@ -17,7 +17,7 @@ COMMENT= Python ICQ-Transport for Jabber
LICENSE= GPLv2
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/OpenSSL/__init__.py:${PORTSDIR}/security/py-openssl \
- ${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging
+ ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow
PROJECTHOST= pyicqt
OPTIONS_DEFINE= DOCS EXAMPLES MYSQL TWISTED
@@ -31,7 +31,7 @@ DAEMON_DESC= Use builtin daemon
TWISTED_DESC= Use py-twisted
NO_BUILD= yes
-USE_PYTHON= yes
+USES= python
USE_RC_SUBR= jabber-pyicq-transport
LOCAL_PYTHON= ${PYTHON_CMD}
Added: head/net-im/jabber-pyicq/files/patch-src__contact.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-im/jabber-pyicq/files/patch-src__contact.py Tue Oct 7 11:33:46 2014 (r370295)
@@ -0,0 +1,11 @@
+--- src/contact.py.orig 2014-10-06 16:48:44 UTC
++++ src/contact.py
+@@ -13,7 +13,7 @@
+ import globals
+ import base64
+ if not config.disableAvatars:
+- import Image
++ from PIL import Image
+ import StringIO
+
+
Added: head/net-im/jabber-pyicq/files/patch-src__imgmanip.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-im/jabber-pyicq/files/patch-src__imgmanip.py Tue Oct 7 11:33:46 2014 (r370295)
@@ -0,0 +1,11 @@
+--- src/imgmanip.py.orig 2014-10-06 16:49:20 UTC
++++ src/imgmanip.py
+@@ -5,7 +5,7 @@
+
+ if not config.disableAvatars:
+ try:
+- import Image
++ from PIL import Image
+ import StringIO
+
+ def convertToPNG(imageData):
Added: head/net-im/jabber-pyicq/files/patch-tools__infodump.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-im/jabber-pyicq/files/patch-tools__infodump.py Tue Oct 7 11:33:46 2014 (r370295)
@@ -0,0 +1,11 @@
+--- tools/infodump.py.orig 2014-10-06 16:48:04 UTC
++++ tools/infodump.py
+@@ -41,7 +41,7 @@
+ print "Nevow Version: Unknown or Not Installed"
+
+ try:
+- from Image import VERSION
++ from PIL.Image import VERSION
+ print "Python Imaging Library (PIL) Version: " + VERSION
+ except:
+ print "Python Imaging Library (PIL) Version: Unknown or Not Installed"
More information about the svn-ports-all
mailing list