1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

security/vinetto: switch from py-imaging to py-pillow

- USES python
- Rename option to reflect reality

With hat:	python
Approved by:	portmgr (bdrewery, implicit)
This commit is contained in:
William Grzybowski 2014-10-07 11:42:25 +00:00
parent 9d97f122e4
commit 44c62498d9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370298
2 changed files with 17 additions and 6 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= vinetto
PORTVERSION= 0.07
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-beta-${PORTVERSION}
DISTNAME= ${PORTNAME}-beta-${PORTVERSION}
@ -11,18 +11,18 @@ DISTNAME= ${PORTNAME}-beta-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Forensics tool to examine Thumbs.db files
OPTIONS_DEFINE= IMAGING
OPTIONS_DEFAULT= IMAGING
OPTIONS_DEFINE= THUMBNAILS
OPTIONS_DEFAULT=THUMBNAILS
IMAGING_DESC= Build with ability to extract graphic thumbnails
USE_PYTHON= yes
USE_PYDISTUTILS=yes
USES= python
USE_PYTHON= distutils
PYDISTUTILS_PKGVERSION= 0.06alpha
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MIMAGING}
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/PIL/_imaging.so:${PORTSDIR}/graphics/py-imaging
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow
.endif
do-patch:

View File

@ -0,0 +1,11 @@
--- vinetto.orig 2014-10-07 11:39:47 UTC
+++ vinetto
@@ -149,7 +149,7 @@
outputdir += "/"
try:
- from PIL import Image
+ import Image
PIL = "imported"
except ImportError, e:
print >> sys.stderr, ""