From nobody@FreeBSD.org  Sun Apr 29 05:55:00 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 5918C1065670
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 29 Apr 2012 05:55:00 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 2812C8FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 29 Apr 2012 05:55:00 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q3T5sxVO089759
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 29 Apr 2012 05:54:59 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q3T5sxh7089758;
	Sun, 29 Apr 2012 05:54:59 GMT
	(envelope-from nobody)
Message-Id: <201204290554.q3T5sxh7089758@red.freebsd.org>
Date: Sun, 29 Apr 2012 05:54:59 GMT
From: Shane Ambler <FreeBSD@Shaneware.biz>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [maintainer update] update graphics/openimageio
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         167411
>Category:       ports
>Synopsis:       [maintainer update] update graphics/openimageio
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sunpoet
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 29 06:00:32 UTC 2012
>Closed-Date:    Tue May 01 16:44:49 UTC 2012
>Last-Modified:  Tue May  1 16:50:12 UTC 2012
>Originator:     Shane Ambler
>Release:        9.0-RELEASE
>Organization:
>Environment:
FreeBSD leader.local 9.0-RELEASE FreeBSD 9.0-RELEASE #1: Wed Feb 15 16:03:18 CST 2012     root@:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
In response to an issue discovered through ports/167061 I have found the best solution is to break the port into two. This patch removes python bindings support from the original port. I will follow this with a new port submission offering just python bindings for openimageio.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -u openimageio.orig/Makefile openimageio/Makefile
--- openimageio.orig/Makefile	2012-04-28 17:02:19.000000000 +0930
+++ openimageio/Makefile	2012-04-29 13:40:38.000000000 +0930
@@ -32,6 +32,7 @@
 CMAKE_OUTSOURCE=	yes
 CMAKE_ARGS=	-DBUILDSTATIC:BOOL=OFF \
 		-DLINKSTATIC:BOOL=OFF \
+		-DUSE_PYTHON:BOOL=OFF \
 		-DUSE_TBB:BOOL=ON
 LDFLAGS+=	-ltbb
 USE_LDCONFIG=	yes
@@ -39,13 +40,8 @@
 MAKE_JOBS_SAFE=	yes
 
 OPTIONS=	IMAGEVIEWER "Build image viewer" on \
-		PYTHON "Python bindings"  on \
 		NOTHREADS "Disable thread support" off
 
-post-patch:
-	@${REINPLACE_CMD} 's|lib/python|lib/${PYTHON_VERSION}|' \
-		${WRKSRC}/CMakeLists.txt
-
 .include <bsd.port.options.mk>
 
 .if defined(WITH_IMAGEVIEWER)
@@ -60,16 +56,6 @@
 PLIST_SUB+=	IMAGEVIEWER="@comment "
 .endif
 
-.if defined(WITH_PYTHON)
-CMAKE_ARGS+=	-DUSE_PYTHON:BOOL=ON
-USE_PYTHON=	2.6+
-LIB_DEPENDS+=	boost_python:${PORTSDIR}/devel/boost-python-libs
-PLIST_SUB+=	PYTHON_BIND=""
-.else
-CMAKE_ARGS+=	-DUSE_PYTHON:BOOL=OFF
-PLIST_SUB+=	PYTHON_BIND="@comment "
-.endif
-
 .if defined(WITH_NOTHREADS)
 CMAKE_ARGS+=	-DNOTHREADS:BOOL=ON
 .else
Common subdirectories: openimageio.orig/files and openimageio/files
diff -u openimageio.orig/pkg-plist openimageio/pkg-plist
--- openimageio.orig/pkg-plist	2012-04-28 17:03:35.000000000 +0930
+++ openimageio/pkg-plist	2012-04-28 19:56:03.000000000 +0930
@@ -64,7 +64,6 @@
 lib/libOpenImageIO.so.1
 lib/libOpenImageIO.so.1.0
 lib/libOpenImageIO.so.1.0.3
-%%PYTHON_BIND%%%%PYTHON_SITELIBDIR%%/OpenImageIO.so
 share/doc/openimageio/openimageio.pdf
 share/doc/openimageio/LICENSE
 share/doc/openimageio/CHANGES


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sunpoet 
Responsible-Changed-By: sunpoet 
Responsible-Changed-When: Tue May 1 16:01:59 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=167411 
State-Changed-From-To: open->closed 
State-Changed-By: sunpoet 
State-Changed-When: Tue May 1 16:44:48 UTC 2012 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=167411 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/167411: commit references a PR
Date: Tue,  1 May 2012 16:44:51 +0000 (UTC)

 sunpoet     2012-05-01 16:44:42 UTC
 
   FreeBSD ports repository
 
   Modified files:
     graphics/openimageio Makefile pkg-plist 
   Log:
   - Move python binding to graphics/py-openimageio
   - While I'm here:
     - Sort LIB_DEPENDS and PLIST
     - Respect PORTDOCS
     - Bump PORTREVISION for package change
     - Utilize DOCSDIR to pet portlint
   
   PR:             ports/167411
   Submitted by:   Shane Ambler <FreeBSD@Shaneware.biz> (maintainer)
   
   Revision  Changes    Path
   1.3       +12 -21    ports/graphics/openimageio/Makefile
   1.3       +7 -8      ports/graphics/openimageio/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
