mirror of
https://git.freebsd.org/ports.git
synced 2025-05-24 23:16:33 -04:00
misc/pylize: switch from py-imaging to py-pillow
- USES python With hat: python Approved by: portmgr (bdrewery, implicit)
This commit is contained in:
parent
e4685e1246
commit
96ea21e2fb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370030
2 changed files with 16 additions and 10 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
PORTNAME= pylize
|
PORTNAME= pylize
|
||||||
PORTVERSION= 1.3.b
|
PORTVERSION= 1.3.b
|
||||||
PORTREVISION= 3
|
PORTREVISION= 4
|
||||||
CATEGORIES= misc textproc
|
CATEGORIES= misc textproc
|
||||||
MASTER_SITES= http://www.chrisarndt.de/en/software/pylize/download/ \
|
MASTER_SITES= http://www.chrisarndt.de/en/software/pylize/download/ \
|
||||||
http://dryice.name/computer/FreeBSD/distfiles/
|
http://dryice.name/computer/FreeBSD/distfiles/
|
||||||
|
@ -14,17 +14,12 @@ COMMENT= Presentation generation tool
|
||||||
|
|
||||||
BUILD_DEPENDS= python:${PORTSDIR}/lang/python \
|
BUILD_DEPENDS= python:${PORTSDIR}/lang/python \
|
||||||
${PYTHON_SITELIBDIR}/HTMLgen.py:${PORTSDIR}/www/py-HTMLgen \
|
${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= 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
|
${PYTHON_SITELIBDIR}/em.py:${PORTSDIR}/textproc/py-empy
|
||||||
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||||
|
|
||||||
USES= tar:bzip2
|
USES= python:2 tar:bzip2
|
||||||
USE_PYTHON= 2
|
USE_PYTHON= autoplist distutils
|
||||||
USE_PYDISTUTILS= yes
|
|
||||||
PYDISTUTILS_AUTOPLIST= yes
|
|
||||||
|
|
||||||
do-configure:
|
do-configure:
|
||||||
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} configure.py)
|
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} configure.py)
|
||||||
|
|
11
misc/pylize/files/patch-pylize.in
Normal file
11
misc/pylize/files/patch-pylize.in
Normal file
|
@ -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:
|
Loading…
Add table
Reference in a new issue