Date: Sun, 9 Sep 2012 16:31:36 +0000 (UTC) From: Olivier Duchateau <olivierd@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r303977 - in head/graphics: . py-wand py-wand/files Message-ID: <201209091631.q89GVaSX006197@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209091631.q89GVaSX006197>