diff options
author | wg <wg@FreeBSD.org> | 2014-10-07 19:33:46 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2014-10-07 19:33:46 +0800 |
commit | a12eafeee17cbba092b651a0a380131dbbc71559 (patch) | |
tree | c2103c8c95a7d7a986668be76635fd161b995d49 /net-im/jabber-pyicq | |
parent | f571ee7a1b4423aae9eaea619049801f5829fd20 (diff) | |
download | freebsd-ports-gnome-a12eafeee17cbba092b651a0a380131dbbc71559.tar.gz freebsd-ports-gnome-a12eafeee17cbba092b651a0a380131dbbc71559.tar.zst freebsd-ports-gnome-a12eafeee17cbba092b651a0a380131dbbc71559.zip |
net-im/jabber-pyicq: switch from py-imaging to py-pillow
- USES python
With hat: python
Approved by: portmgr (bdrewery, implicit)
Diffstat (limited to 'net-im/jabber-pyicq')
-rw-r--r-- | net-im/jabber-pyicq/Makefile | 6 | ||||
-rw-r--r-- | net-im/jabber-pyicq/files/patch-src__contact.py | 11 | ||||
-rw-r--r-- | net-im/jabber-pyicq/files/patch-src__imgmanip.py | 11 | ||||
-rw-r--r-- | net-im/jabber-pyicq/files/patch-tools__infodump.py | 11 |
4 files changed, 36 insertions, 3 deletions
diff --git a/net-im/jabber-pyicq/Makefile b/net-im/jabber-pyicq/Makefile index 342881537cc8..aba0444a442b 100644 --- a/net-im/jabber-pyicq/Makefile +++ b/net-im/jabber-pyicq/Makefile @@ -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} diff --git a/net-im/jabber-pyicq/files/patch-src__contact.py b/net-im/jabber-pyicq/files/patch-src__contact.py new file mode 100644 index 000000000000..c9ca2e0964a4 --- /dev/null +++ b/net-im/jabber-pyicq/files/patch-src__contact.py @@ -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 + + diff --git a/net-im/jabber-pyicq/files/patch-src__imgmanip.py b/net-im/jabber-pyicq/files/patch-src__imgmanip.py new file mode 100644 index 000000000000..d42cb886d658 --- /dev/null +++ b/net-im/jabber-pyicq/files/patch-src__imgmanip.py @@ -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): diff --git a/net-im/jabber-pyicq/files/patch-tools__infodump.py b/net-im/jabber-pyicq/files/patch-tools__infodump.py new file mode 100644 index 000000000000..0be2ae5ecb93 --- /dev/null +++ b/net-im/jabber-pyicq/files/patch-tools__infodump.py @@ -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" |