Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Oct 2014 11:42:25 +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: r370298 - in head/security/vinetto: . files
Message-ID:  <201410071142.s97BgPvr035038@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Tue Oct  7 11:42:25 2014
New Revision: 370298
URL: https://svnweb.freebsd.org/changeset/ports/370298
QAT: https://qat.redports.org/buildarchive/r370298/

Log:
  security/vinetto: switch from py-imaging to py-pillow
  
  - USES python
  - Rename option to reflect reality
  
  With hat:	python
  Approved by:	portmgr (bdrewery, implicit)

Added:
  head/security/vinetto/files/
  head/security/vinetto/files/patch-vinetto   (contents, props changed)
Modified:
  head/security/vinetto/Makefile

Modified: head/security/vinetto/Makefile
==============================================================================
--- head/security/vinetto/Makefile	Tue Oct  7 11:41:41 2014	(r370297)
+++ head/security/vinetto/Makefile	Tue Oct  7 11:42:25 2014	(r370298)
@@ -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:

Added: head/security/vinetto/files/patch-vinetto
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/vinetto/files/patch-vinetto	Tue Oct  7 11:42:25 2014	(r370298)
@@ -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, ""



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410071142.s97BgPvr035038>