svn commit: r370397 - head/graphics/py-pillow
William Grzybowski
wg at FreeBSD.org
Tue Oct 7 20:40:22 UTC 2014
Author: wg
Date: Tue Oct 7 20:40:20 2014
New Revision: 370397
URL: https://svnweb.freebsd.org/changeset/ports/370397
QAT: https://qat.redports.org/buildarchive/r370397/
Log:
graphics/py-pillow: fix build of tk extension
- Update to 2.6.0
- USES python
PR: 193958
Submitted by: mva
Approved by: koobs (maintainer)
Modified:
head/graphics/py-pillow/Makefile
head/graphics/py-pillow/distinfo
Modified: head/graphics/py-pillow/Makefile
==============================================================================
--- head/graphics/py-pillow/Makefile Tue Oct 7 20:27:29 2014 (r370396)
+++ head/graphics/py-pillow/Makefile Tue Oct 7 20:40:20 2014 (r370397)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= pillow
-PORTVERSION= 2.5.1
+PORTVERSION= 2.6.0
CATEGORIES= graphics python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:C/p/P/}-${PORTVERSION}
@@ -29,15 +29,19 @@ TKINTER_USES= tk:build
WEBP_LIB_DEPENDS= libwebp.so:${PORTSDIR}/graphics/webp
USE_GITHUB= yes
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-
-PYDISTUTILS_AUTOPLIST= yes
-PYDISTUTILS_BUILD_TARGET= build_ext
+USES= python
+USE_PYTHON= autoplist concurrent distutils
+PYDISTUTILS_SETUP= ${PYSETUP}
+PYDISTUTILS_BUILD_TARGET= build build_py build_ext
+
+# we have to build and install everything in a single run,
+# otherwise pillow's build_ext extension tries to be clever
+# and messes up standard distutils behaviour...
+NO_BUILD= yes
GH_ACCOUNT= python-pillow
GH_PROJECT= ${PORTNAME:C/p/P/}
-GH_COMMIT= 1ab78b8
+GH_COMMIT= 9634e43
CONFLICTS_INSTALL= py*-imaging-*
@@ -86,6 +90,11 @@ PYDISTUTILS_BUILDARGS+= --enable-webp
PYDISTUTILS_BUILDARGS+= --disable-webp
.endif
+do-install:
+ @(cd ${INSTALL_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \
+ ${PYDISTUTILS_SETUP} ${PYDISTUTILS_BUILD_TARGET} ${PYDISTUTILS_BUILDARGS} \
+ ${PYDISTUTILS_INSTALL_TARGET} ${PYDISTUTILS_INSTALLARGS})
+
regression-test: extract
@cd ${WRKSRC} && \
${PYTHON_CMD} ${PYSETUP} build_ext -i && \
Modified: head/graphics/py-pillow/distinfo
==============================================================================
--- head/graphics/py-pillow/distinfo Tue Oct 7 20:27:29 2014 (r370396)
+++ head/graphics/py-pillow/distinfo Tue Oct 7 20:40:20 2014 (r370397)
@@ -1,2 +1,2 @@
-SHA256 (Pillow-2.5.1.tar.gz) = e7934f86705a7054e3c117ab1295d612b2aa34f4cfa4d61bd88e544e9a544a13
-SIZE (Pillow-2.5.1.tar.gz) = 6528250
+SHA256 (Pillow-2.6.0.tar.gz) = ffa1b214027acd5a62a38fd7851ade75a2a6d96957261f7aee932cf7f6f6db3b
+SIZE (Pillow-2.6.0.tar.gz) = 7235577
More information about the svn-ports-head
mailing list