From owner-svn-ports-all@FreeBSD.ORG Thu Sep 13 19:33:39 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 72193106566C; Thu, 13 Sep 2012 19:33:39 +0000 (UTC) (envelope-from crees@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5D5D58FC12; Thu, 13 Sep 2012 19:33:39 +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 q8DJXdhG060732; Thu, 13 Sep 2012 19:33:39 GMT (envelope-from crees@svn.freebsd.org) Received: (from crees@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q8DJXd1i060730; Thu, 13 Sep 2012 19:33:39 GMT (envelope-from crees@svn.freebsd.org) Message-Id: <201209131933.q8DJXd1i060730@svn.freebsd.org> From: Chris Rees Date: Thu, 13 Sep 2012 19:33:39 +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: r304228 - head/mail/pyzor 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: Thu, 13 Sep 2012 19:33:39 -0000 Author: crees Date: Thu Sep 13 19:33:38 2012 New Revision: 304228 URL: http://svn.freebsd.org/changeset/ports/304228 Log: Small changes to ignore deprecation Python warnings PR: ports/171607 Submitted by: Thomas Vogt (based on) Approved by: maintainer (Corey Halpin ) While here, anchor and optimise regex Modified: head/mail/pyzor/Makefile Modified: head/mail/pyzor/Makefile ============================================================================== --- head/mail/pyzor/Makefile Thu Sep 13 18:16:05 2012 (r304227) +++ head/mail/pyzor/Makefile Thu Sep 13 19:33:38 2012 (r304228) @@ -8,7 +8,7 @@ PORTNAME= pyzor PORTVERSION= 0.5.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail python MASTER_SITES= SF @@ -22,8 +22,8 @@ USE_PYDISTUTILS= yes MAN1= pyzor.1 pyzord.1 post-patch: - ${REINPLACE_CMD} -e "s,/usr/bin/python2,${PYTHON_CMD}," \ - ${WRKSRC}/scripts/pyzor ${WRKSRC}/scripts/pyzord + ${REINPLACE_CMD} -e '1s,^#!/usr/bin/python,#!/usr/bin/env -S python -Wignore::DeprecationWarning,' \ + ${WRKSRC}/scripts/pyzor ${WRKSRC}/scripts/pyzord post-install: ${CHMOD} ${SHAREMODE} ${DOCSDIR}/usage.html