From owner-svn-ports-all@FreeBSD.ORG Sun Sep 9 16:31:36 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B20801065670; Sun, 9 Sep 2012 16:31:36 +0000 (UTC) (envelope-from olivierd@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 925878FC0C; Sun, 9 Sep 2012 16:31:36 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q89GVatM006203; Sun, 9 Sep 2012 16:31:36 GMT (envelope-from olivierd@svn.freebsd.org) Received: (from olivierd@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q89GVaSX006197; Sun, 9 Sep 2012 16:31:36 GMT (envelope-from olivierd@svn.freebsd.org) Message-Id: <201209091631.q89GVaSX006197@svn.freebsd.org> From: Olivier Duchateau Date: Sun, 9 Sep 2012 16:31:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r303977 - in head/graphics: . py-wand py-wand/files X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Sep 2012 16:31:36 -0000 Author: olivierd Date: Sun Sep 9 16:31:35 2012 New Revision: 303977 URL: http://svn.freebsd.org/changeset/ports/303977 Log: Wand is a ctypes-based MagickWand API binding for Python. Approved by: rene, miwi (mentors) Added: head/graphics/py-wand/ head/graphics/py-wand/Makefile (contents, props changed) head/graphics/py-wand/distinfo (contents, props changed) head/graphics/py-wand/files/ head/graphics/py-wand/files/patch-wand_api.py (contents, props changed) head/graphics/py-wand/pkg-descr (contents, props changed) Modified: head/graphics/Makefile Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Sun Sep 9 16:29:30 2012 (r303976) +++ head/graphics/Makefile Sun Sep 9 16:31:35 2012 (r303977) @@ -841,6 +841,7 @@ SUBDIR += py-soya3d SUBDIR += py-stl SUBDIR += py-visual + SUBDIR += py-wand SUBDIR += py-webcolors SUBDIR += pygts SUBDIR += pymorph Added: head/graphics/py-wand/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/py-wand/Makefile Sun Sep 9 16:31:35 2012 (r303977) @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= Wand +PORTVERSION= 0.2.1 +CATEGORIES= graphics python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= olivierd@FreeBSD.org +COMMENT= MagickWand Python binding + +LIB_DEPENDS= MagickWand:${PORTSDIR}/graphics/ImageMagick + +USE_PYTHON= 2.6+ +USE_PYDISTUTILS= easy_install + +PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% + +post-patch: + @${REINPLACE_CMD} -e "s|cmdclass={'upload_doc': upload_doc}||" \ + ${WRKSRC}/setup.py + +.include Added: head/graphics/py-wand/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/py-wand/distinfo Sun Sep 9 16:31:35 2012 (r303977) @@ -0,0 +1,2 @@ +SHA256 (Wand-0.2.1.tar.gz) = 202ffe8decfda4f7f29b4ac0043755cfb7bc23ad124ab023db1295ea9ffebdf0 +SIZE (Wand-0.2.1.tar.gz) = 20566 Added: head/graphics/py-wand/files/patch-wand_api.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/py-wand/files/patch-wand_api.py Sun Sep 9 16:31:35 2012 (r303977) @@ -0,0 +1,11 @@ +--- wand/api.py.orig 2012-08-15 16:39:28.000000000 +0000 ++++ wand/api.py 2012-08-19 10:50:48.000000000 +0000 +@@ -273,6 +273,8 @@ + else: + if platform.system() == 'Darwin': + libc = ctypes.cdll.LoadLibrary('libc.dylib') ++ elif platform.system() == 'FreeBSD': ++ libc = ctypes.cdll.LoadLibrary(ctypes.util.find_library('c')) + else: + libc = ctypes.cdll.LoadLibrary('libc.so.6') + libc.fdopen.argtypes = [ctypes.c_int, ctypes.c_char_p] Added: head/graphics/py-wand/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/py-wand/pkg-descr Sun Sep 9 16:31:35 2012 (r303977) @@ -0,0 +1,3 @@ +Wand is a ctypes-based simple MagickWand API binding for python. + +WWW: http://dahlia.github.com/wand/