From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Aug 6 05:00:23 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB7871065670 for ; Sat, 6 Aug 2011 05:00:23 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9B72E8FC0A for ; Sat, 6 Aug 2011 05:00:23 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7650NIx068524 for ; Sat, 6 Aug 2011 05:00:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7650NHg068523; Sat, 6 Aug 2011 05:00:23 GMT (envelope-from gnats) Resent-Date: Sat, 6 Aug 2011 05:00:23 GMT Resent-Message-Id: <201108060500.p7650NHg068523@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kuan-Chung Chiu Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 677CF106566B for ; Sat, 6 Aug 2011 04:56:47 +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 4C96C8FC0A for ; Sat, 6 Aug 2011 04:56:47 +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 p764ukGO034298 for ; Sat, 6 Aug 2011 04:56:46 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p764ukJx034297; Sat, 6 Aug 2011 04:56:46 GMT (envelope-from nobody) Message-Id: <201108060456.p764ukJx034297@red.freebsd.org> Date: Sat, 6 Aug 2011 04:56:46 GMT From: Kuan-Chung Chiu To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/159544: [New Port] graphics/py-imaging-sane X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Aug 2011 05:00:23 -0000 >Number: 159544 >Category: ports >Synopsis: [New Port] graphics/py-imaging-sane >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Aug 06 05:00:23 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Kuan-Chung Chiu >Release: >Organization: N/A >Environment: >Description: Tested in amd64 8-STABLE tinderbox. The Python binding for Sane is part of Python Imaging Library. The Python Imaging Library adds image processing capabilities to your Python interpreter. This library provides extensive file format support, an efficient internal representation, and fairly powerful image processing capabilities. The main distribution site for this software is: WWW: http://www.pythonware.com/products/pil/index.htm The PIL handbook is not included in this distribution; to get the latest version, check: http://www.pythonware.com/library.htm >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # py-imaging-sane/ # py-imaging-sane/files # py-imaging-sane/files/patch-setup.py # py-imaging-sane/Makefile # py-imaging-sane/distinfo # py-imaging-sane/pkg-descr # py-imaging-sane/pkg-plist # echo c - py-imaging-sane/ mkdir -p py-imaging-sane/ > /dev/null 2>&1 echo c - py-imaging-sane/files mkdir -p py-imaging-sane/files > /dev/null 2>&1 echo x - py-imaging-sane/files/patch-setup.py sed 's/^X//' >py-imaging-sane/files/patch-setup.py << 'ac92b50434e145484ad158fa498f2389' X--- setup.py.orig 2009-11-01 08:44:12.000000000 +0800 X+++ setup.py 2011-08-05 16:18:06.000000000 +0800 X@@ -11,13 +11,13 @@ X pass X X sane = Extension('_sane', X- include_dirs = [PIL_IMAGING_DIR], X+ include_dirs = [PIL_IMAGING_DIR, '/usr/local/include'], X libraries = ['sane'], X- library_dirs = [PIL_IMAGING_DIR], X+ library_dirs = [PIL_IMAGING_DIR, '/usr/local/lib'], X define_macros = defs, X sources = ['_sane.c']) X X-setup (name = 'pysane', X+setup (name = 'sane', X version = '2.0', X description = 'This is the pysane package', X py_modules = ['sane'], ac92b50434e145484ad158fa498f2389 echo x - py-imaging-sane/Makefile sed 's/^X//' >py-imaging-sane/Makefile << '430d3ddfd9cff15adce355a56d9ac31c' X# New ports collection makefile for: py-imaging-sane X# Date created: 5 August 2011 X# Whom: buganini@gmail.com X# X# $FreeBSD$ X# X XPORTNAME= sane XPORTVERSION= 2.0 XCATEGORIES= graphics python XMASTER_SITES= http://effbot.org/media/downloads/ \ X http://www.pythonware.net/storage/ XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}imaging- XDISTNAME= Imaging-1.1.7 X XMAINTAINER= buganini@gmail.com XCOMMENT= The Python binding for Sane X XLIB_DEPENDS= sane.1:${PORTSDIR}/graphics/sane-backends X XDIST_SUBDIR= python XUSE_PYTHON= yes XUSE_PYDISTUTILS= yes X XWRKSRC= ${WRKDIR}/${DISTNAME}/Sane X Xpost-patch: X @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/setup.py X X.include 430d3ddfd9cff15adce355a56d9ac31c echo x - py-imaging-sane/distinfo sed 's/^X//' >py-imaging-sane/distinfo << '3f96dc391f89e8c37d4143816b8e1db1' XSHA256 (python/Imaging-1.1.7.tar.gz) = 895bc7c2498c8e1f9b99938f1a40dc86b3f149741f105cf7c7bd2e0725405211 XSIZE (python/Imaging-1.1.7.tar.gz) = 498749 3f96dc391f89e8c37d4143816b8e1db1 echo x - py-imaging-sane/pkg-descr sed 's/^X//' >py-imaging-sane/pkg-descr << 'ae37f4512ae02706df975793c279aeb3' XThe Python binding for Sane is part of Python Imaging Library. X XThe Python Imaging Library adds image processing capabilities to your XPython interpreter. This library provides extensive file format Xsupport, an efficient internal representation, and fairly powerful Ximage processing capabilities. X XThe main distribution site for this software is: X XWWW: http://www.pythonware.com/products/pil/index.htm X XThe PIL handbook is not included in this distribution; to get the Xlatest version, check: X X http://www.pythonware.com/library.htm ae37f4512ae02706df975793c279aeb3 echo x - py-imaging-sane/pkg-plist sed 's/^X//' >py-imaging-sane/pkg-plist << '848d17908c51bc1ed1ef9a97e02ca72c' X%%PYTHON_SITELIBDIR%%/_sane.so X%%PYTHON_SITELIBDIR%%/sane.py X%%PYTHON_SITELIBDIR%%/sane.pyc X%%PYTHON_SITELIBDIR%%/sane.pyo 848d17908c51bc1ed1ef9a97e02ca72c exit >Release-Note: >Audit-Trail: >Unformatted: