From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Nov 8 06:10:08 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 7C7BE106564A for ; Tue, 8 Nov 2011 06:10:08 +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 592DE8FC17 for ; Tue, 8 Nov 2011 06:10:08 +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 pA86A8vu038498 for ; Tue, 8 Nov 2011 06:10:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id pA86A8CC038497; Tue, 8 Nov 2011 06:10:08 GMT (envelope-from gnats) Resent-Date: Tue, 8 Nov 2011 06:10:08 GMT Resent-Message-Id: <201111080610.pA86A8CC038497@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, Jan Beich Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B84D9106566B for ; Tue, 8 Nov 2011 06:06:44 +0000 (UTC) (envelope-from jbeich@tormail.net) Received: from server2.hudsonvalleyhost.com (server2.hudsonvalleyhost.com [66.7.195.77]) by mx1.freebsd.org (Postfix) with ESMTP id 891AF8FC0A for ; Tue, 8 Nov 2011 06:06:44 +0000 (UTC) Received: from raskin.torservers.net ([74.120.15.150]:31485 helo=internal.tormail.net) by server2.hudsonvalleyhost.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.69) (envelope-from ) id 1RNeSs-003OAA-VY for FreeBSD-gnats-submit@freebsd.org; Tue, 08 Nov 2011 00:43:21 -0500 Received: from jbeich by internal.tormail.net with local (Exim 4.63) (envelope-from ) id 1RNeRd-000Or6-0T for FreeBSD-gnats-submit@freebsd.org; Tue, 08 Nov 2011 05:42:03 +0000 Message-Id: <1RNeRd-000Or6-0T@internal.tormail.net> Date: Tue, 08 Nov 2011 16:38:40 +1100 From: Jan Beich To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/162368: [patch] net/py-miniupnpc: unbreak 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: Tue, 08 Nov 2011 06:10:08 -0000 >Number: 162368 >Category: ports >Synopsis: [patch] net/py-miniupnpc: unbreak >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 08 06:10:07 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Jan Beich >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: >Description: Force python module version to be in sync with distfile. >How-To-Repeat: >Fix: --- version.diff begins here --- Index: net/py-miniupnpc/Makefile =================================================================== RCS file: /a/.csup/ports/net/py-miniupnpc/Makefile,v retrieving revision 1.3 diff -u -p -r1.3 Makefile --- net/py-miniupnpc/Makefile 7 Nov 2011 21:55:56 -0000 1.3 +++ net/py-miniupnpc/Makefile 8 Nov 2011 05:29:22 -0000 @@ -16,11 +16,14 @@ MASTERDIR= ${.CURDIR}/../miniupnpc USE_PYTHON= yes USE_PYDISTUTILS=yes -BROKEN= does not package WRKDIR= ${WRKDIRPREFIX}${MASTERDIR}/work PLIST= ${.CURDIR}/pkg-plist +post-patch: + @${REINPLACE_CMD} 's/\(version\)="[^"]*"/\1="${PORTVERSION}"/' \ + ${WRKSRC}/setup.py + .if exists(${.CURDIR}/Makefile.local) .include "${.CURDIR}/Makefile.local" .endif --- version.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: