Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 May 2016 16:23:35 +0000 (UTC)
From:      Ben Woods <woodsb02@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r415455 - in head/graphics: . py-pillow py3-pillow
Message-ID:  <201605181623.u4IGNZTK043094@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: woodsb02
Date: Wed May 18 16:23:35 2016
New Revision: 415455
URL: https://svnweb.freebsd.org/changeset/ports/415455

Log:
  Create new port graphics/py3-pillow:
  - This is a variant of graphics/py-pillow for Python 3.x.
    A separate port is needed until the ports tree gets VARIANTS support.
    The science/gramps port will soon be updated to a version which only
    supports python3, and it depends on py-pillow with python3.
    To allow people to only use packages directly (and not ports),
    the package building infrastructure needs to build 2 packages:
    py-pillow with python2 and py-pillow with python3.
    Since the ports tree doesn't yet have VARIANTS support, this is not
    yet possible without making a separate py3-pillow port.
  - Ensure graphics/py-pillow does not clobber USES and TKINTER_xxx_DEPENDS variables in slave port
  - Remove duplicate USES= line in graphics/py-pillow
  
  PR:		207040
  Approved by:	mat, adamw (mentors), koobs (maintainer)
  Differential Revision:	https://reviews.freebsd.org/D6433

Added:
  head/graphics/py3-pillow/
  head/graphics/py3-pillow/Makefile   (contents, props changed)
Modified:
  head/graphics/Makefile
  head/graphics/py-pillow/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Wed May 18 16:22:07 2016	(r415454)
+++ head/graphics/Makefile	Wed May 18 16:23:35 2016	(r415455)
@@ -881,6 +881,7 @@
     SUBDIR += py-wand
     SUBDIR += py-webcolors
     SUBDIR += py3-cairo
+    SUBDIR += py3-pillow
     SUBDIR += pygts
     SUBDIR += pymorph
     SUBDIR += pysvg

Modified: head/graphics/py-pillow/Makefile
==============================================================================
--- head/graphics/py-pillow/Makefile	Wed May 18 16:22:07 2016	(r415454)
+++ head/graphics/py-pillow/Makefile	Wed May 18 16:23:35 2016	(r415455)
@@ -41,8 +41,8 @@ TIFF_VARS=		PYDISTUTILS_BUILDARGS+=--ena
 TIFF_VARS_OFF=		PYDISTUTILS_BUILDARGS+=--disable-tiff
 
 TKINTER_USES=		tk
-TKINTER_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter
-TKINTER_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter
+TKINTER_BUILD_DEPENDS?=	${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter
+TKINTER_RUN_DEPENDS?=	${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter
 TKINTER_VARS=		PYDISTUTILS_BUILDARGS+="--enable-tcl --enable-tk --include-dirs=${TCL_INCLUDEDIR}:${TK_INCLUDEDIR}"
 TKINTER_VARS_OFF=	PYDISTUTILS_BUILDARGS+="--disable-tcl --disable-tk"
 
@@ -50,9 +50,8 @@ WEBP_LIB_DEPENDS=	libwebp.so:graphics/we
 WEBP_VARS=		PYDISTUTILS_BUILDARGS+=--enable-webp
 WEBP_VARS_OFF=		PYDISTUTILS_BUILDARGS+=--disable-webp
 
-USES=		cpe python
+USES?=		cpe python
 USE_GITHUB=	yes
-USES=		python
 USE_PYTHON=	autoplist concurrent distutils
 
 GH_ACCOUNT=	python-${PORTNAME}

Added: head/graphics/py3-pillow/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/py3-pillow/Makefile	Wed May 18 16:23:35 2016	(r415455)
@@ -0,0 +1,11 @@
+# Created by: Ben Woods <woodsb02@FreeBSD.org>
+# $FreeBSD$
+
+MASTERDIR=	${.CURDIR}/../py-pillow
+
+TKINTER_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/${PYTHON_PKGNAMEPREFIX}tkinter
+TKINTER_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/${PYTHON_PKGNAMEPREFIX}tkinter
+
+USES=		cpe python:3.2+
+
+.include "${MASTERDIR}/Makefile"



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