Date: Sun, 5 Oct 2014 00:16:00 +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: r370030 - in head/misc/pylize: . files Message-ID: <201410050016.s950G0dj017139@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wg Date: Sun Oct 5 00:16:00 2014 New Revision: 370030 URL: https://svnweb.freebsd.org/changeset/ports/370030 QAT: https://qat.redports.org/buildarchive/r370030/ Log: misc/pylize: switch from py-imaging to py-pillow - USES python With hat: python Approved by: portmgr (bdrewery, implicit) Added: head/misc/pylize/files/ head/misc/pylize/files/patch-pylize.in (contents, props changed) Modified: head/misc/pylize/Makefile Modified: head/misc/pylize/Makefile ============================================================================== --- head/misc/pylize/Makefile Sun Oct 5 00:11:25 2014 (r370029) +++ head/misc/pylize/Makefile Sun Oct 5 00:16:00 2014 (r370030) @@ -3,7 +3,7 @@ PORTNAME= pylize PORTVERSION= 1.3.b -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= misc textproc MASTER_SITES= http://www.chrisarndt.de/en/software/pylize/download/ \ http://dryice.name/computer/FreeBSD/distfiles/ @@ -14,17 +14,12 @@ COMMENT= Presentation generation tool BUILD_DEPENDS= python:${PORTSDIR}/lang/python \ ${PYTHON_SITELIBDIR}/HTMLgen.py:${PORTSDIR}/www/py-HTMLgen \ - ${PYTHON_SITELIBDIR}/PIL.pth:${PORTSDIR}/graphics/py-imaging \ - ${PYTHON_SITELIBDIR}/em.py:${PORTSDIR}/textproc/py-empy -RUN_DEPENDS= python:${PORTSDIR}/lang/python \ - ${PYTHON_SITELIBDIR}/HTMLgen.py:${PORTSDIR}/www/py-HTMLgen \ - ${PYTHON_SITELIBDIR}/PIL.pth:${PORTSDIR}/graphics/py-imaging \ + ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow \ ${PYTHON_SITELIBDIR}/em.py:${PORTSDIR}/textproc/py-empy +RUN_DEPENDS:= ${BUILD_DEPENDS} -USES= tar:bzip2 -USE_PYTHON= 2 -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python:2 tar:bzip2 +USE_PYTHON= autoplist distutils do-configure: @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} configure.py) Added: head/misc/pylize/files/patch-pylize.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/pylize/files/patch-pylize.in Sun Oct 5 00:16:00 2014 (r370030) @@ -0,0 +1,11 @@ +--- pylize.in.orig 2014-10-05 00:14:33 UTC ++++ pylize.in +@@ -113,7 +113,7 @@ + def mkLogoLink(meta): + if meta.has_key('logo'): + try: +- import Image ++ from PIL import Image + if os.path.exists(meta['logo']): + i = Image.open(meta['logo']) + else:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410050016.s950G0dj017139>