From ohauer@gmx.de  Sun Aug 16 22:26:19 2009
Return-Path: <ohauer@gmx.de>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 0154E106568C
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 16 Aug 2009 22:26:19 +0000 (UTC)
	(envelope-from ohauer@gmx.de)
Received: from mail.gmx.net (mail.gmx.net [213.165.64.20])
	by mx1.freebsd.org (Postfix) with SMTP id 33AA98FC5B
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 16 Aug 2009 22:26:17 +0000 (UTC)
Received: (qmail invoked by alias); 16 Aug 2009 22:26:16 -0000
Received: from u18-124.dsl.vianetworks.de (EHLO u18-124.dsl.vianetworks.de) [194.231.39.124]
  by mail.gmx.net (mp037) with SMTP; 17 Aug 2009 00:26:16 +0200
Received: by u18-124.dsl.vianetworks.de (Postfix, from userid 1100)
	id 9ACE326145; Mon, 17 Aug 2009 00:26:11 +0200 (CEST)
Message-Id: <20090816222611.9ACE326145@u18-124.dsl.vianetworks.de>
Date: Mon, 17 Aug 2009 00:26:11 +0200 (CEST)
From: olli hauer <ohauer@gmx.de>
Reply-To: olli hauer <ohauer@gmx.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc: ohauer@gmx.de
Subject: [patch] python ports bulk update eliminate hard coded "py-" prefix
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         137859
>Category:       ports
>Synopsis:       [patch] python bulk update eliminate hard coded "py-" prefix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-python
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 16 22:30:05 UTC 2009
>Closed-Date:    Tue Aug 18 20:16:42 UTC 2009
>Last-Modified:  Tue Aug 18 20:20:01 UTC 2009
>Originator:     olli hauer <ohauer@gmx.de>
>Release:        FreeBSD 7.2-RELEASE i386
>Organization:
>Environment:


>Description:
Eliminate hard coded "PKGNAMEPREFIX= py-" from the following ports

 devel/py-kqueue
 devel/py-subversion
 devel/py-ice
 devel/py-thrift
 devel/py-tconfpy
 x11-toolkits/py-gnome
 x11-toolkits/py-gtk
 x11-toolkits/py-gtkscintilla
 audio/py-libmpdclient
 databases/py-SQLDict
 databases/py-MySQL
 textproc/py-HyperText
 math/py-gnuplot

I hope it is OK to send this as on PR ;)

Regards,
olli

>How-To-Repeat:
>Fix:


--- patch_bulk_python_prefix begins here ---
Index: devel/py-kqueue/Makefile
===================================================================
--- devel/py-kqueue/Makefile
+++ devel/py-kqueue/Makefile
@@ -10,7 +10,7 @@
 PORTREVISION=		2
 CATEGORIES=		devel python
 MASTER_SITES=		http://ox.eicat.ca/~dgilbert/files/
-PKGNAMEPREFIX=		py-
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
 DISTNAME=		PyKQueue-${PORTVERSION}
 EXTRACT_SUFX=		.tbz
 
Index: devel/py-subversion/Makefile
===================================================================
--- devel/py-subversion/Makefile
+++ devel/py-subversion/Makefile
@@ -5,7 +5,7 @@
 # $FreeBSD: ports/devel/py-subversion/Makefile,v 1.9 2009/08/02 19:33:33 mezz Exp $
 #
 
-PKGNAMEPREFIX=	py-
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	lev@FreeBSD.org
 COMMENT=	Python bindings for version control system
Index: devel/py-ice/Makefile
===================================================================
--- devel/py-ice/Makefile
+++ devel/py-ice/Makefile
@@ -10,7 +10,7 @@
 CATEGORIES=	devel python
 MASTER_SITES=	http://www.zeroc.com/download/Ice/3.3/ \
 		http://www.dirk.sh/dirk/Ice/
-PKGNAMEPREFIX=	py-
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	Ice-${PORTVERSION}
 
 MAINTAINER=	dirk.ye@gmail.com
Index: devel/py-thrift/Makefile
===================================================================
--- devel/py-thrift/Makefile
+++ devel/py-thrift/Makefile
@@ -8,7 +8,7 @@
 PORTNAME=	thrift
 PORTVERSION=	20090622
 CATEGORIES=	devel python
-PKGNAMEPREFIX=	py-
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
 DISTFILES=
 
 MAINTAINER=	jdugan@x1024.net
Index: devel/py-tconfpy/Makefile
===================================================================
--- devel/py-tconfpy/Makefile
+++ devel/py-tconfpy/Makefile
@@ -4,10 +4,11 @@
 #
 # $FreeBSD: ports/devel/py-tconfpy/Makefile,v 1.4 2008/12/28 10:54:04 pgollucci Exp $
 
-PORTNAME=	py-tconfpy
+PORTNAME=	tconfpy
 PORTVERSION=	2.112
 CATEGORIES=	devel python
 MASTER_SITES=	http://www.tundraware.com/Software/tconfpy/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	tconfpy@tundraware.com
 COMMENT=	A Python Configuration File Parser
Index: x11-toolkits/py-gnome/Makefile
===================================================================
--- x11-toolkits/py-gnome/Makefile
+++ x11-toolkits/py-gnome/Makefile
@@ -5,12 +5,13 @@
 # $FreeBSD: ports/x11-toolkits/py-gnome/Makefile,v 1.79 2009/07/31 13:57:34 dinoex Exp $
 #
 
-PORTNAME=	py-gnome
+PORTNAME=	gnome
 PORTVERSION=	1.4.4
 PORTREVISION=	10
 CATEGORIES=	x11-toolkits python gnome
 MASTER_SITES=	GNOME
 MASTER_SITE_SUBDIR=	sources/gnome-python/1.4
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	gnome-python-${PORTVERSION}
 DIST_SUBDIR=	gnome
 
Index: x11-toolkits/py-gtk/Makefile
===================================================================
--- x11-toolkits/py-gtk/Makefile
+++ x11-toolkits/py-gtk/Makefile
@@ -5,11 +5,12 @@
 # $FreeBSD: ports/x11-toolkits/py-gtk/Makefile,v 1.76 2009/07/31 13:57:35 dinoex Exp $
 #
 
-PORTNAME=	py-gtk
+PORTNAME=	gtk
 PORTVERSION=	0.6.11
 PORTREVISION=	7
 CATEGORIES=	x11-toolkits python
 MASTER_SITES=	GNOME
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	gnome-python-1.4.4
 DIST_SUBDIR=	gnome
 
Index: x11-toolkits/py-gtkscintilla/Makefile
===================================================================
--- x11-toolkits/py-gtkscintilla/Makefile
+++ x11-toolkits/py-gtkscintilla/Makefile	(Arbeitskopie)
@@ -5,12 +5,13 @@
 # $FreeBSD: ports/x11-toolkits/py-gtkscintilla/Makefile,v 1.19 2009/08/16 01:26:36 amdmi3 Exp $
 #    $MCom: ports/x11-toolkits/py-gtkscintilla/Makefile,v 1.1 2006/10/07 15:53:59 ahze Exp $
 
-PORTNAME=	py-gtkscintilla
+PORTNAME=	gtkscintilla
 PORTVERSION=	0.8.2
 PORTREVISION=	6
 CATEGORIES=	x11-toolkits python
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	moleskine
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	PyGtkScintilla-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
Index: audio/py-libmpdclient/Makefile
===================================================================
--- audio/py-libmpdclient/Makefile
+++ audio/py-libmpdclient/Makefile	(Arbeitskopie)
@@ -5,10 +5,11 @@
 # $FreeBSD: ports/audio/py-libmpdclient/Makefile,v 1.2 2006/10/01 17:21:29 xride Exp $
 #
 
-PORTNAME=	py-libmpdclient
+PORTNAME=	libmpdclient
 PORTVERSION=	0.10.0
 CATEGORIES=	audio python
 MASTER_SITES=	http://mercury.chem.pitt.edu/~shank/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	tim@n2it.net
 COMMENT=	Python bindings for libmpdclient
Index: databases/py-SQLDict/Makefile
===================================================================
--- databases/py-SQLDict/Makefile
+++ databases/py-SQLDict/Makefile
@@ -9,7 +9,7 @@
 PORTVERSION=		1.0.0
 CATEGORIES=		databases python
 MASTER_SITES=		http://dustman.net/andy/python/SQLDict/1.0.0/
-PKGNAMEPREFIX=		py-
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=		ports@FreeBSD.org
 COMMENT=	Python dictionary wrapper around a SQL database
Index: databases/py-MySQL/Makefile
===================================================================
--- databases/py-MySQL/Makefile
+++ databases/py-MySQL/Makefile
@@ -5,10 +5,11 @@
 # $FreeBSD: ports/databases/py-MySQL/Makefile,v 1.22 2008/07/25 09:38:40 pav Exp $
 #
 
-PORTNAME=	py-MySQL
+PORTNAME=	MySQL
 PORTVERSION=	1.4
 CATEGORIES=	databases python
 MASTER_SITES=	http://mysql.osuosl.org/Downloads/Contrib/Old-Versions/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	MySQLmodule-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
Index: textproc/py-HyperText/Makefile
===================================================================
--- textproc/py-HyperText/Makefile
+++ textproc/py-HyperText/Makefile
@@ -9,7 +9,7 @@
 PORTVERSION=		1.0.1
 CATEGORIES=		textproc python
 MASTER_SITES=		http://dustman.net/andy/python/HyperText/1.0.1/
-PKGNAMEPREFIX=		py-
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=		ports@FreeBSD.org
 COMMENT=	Lightweight HTML/XHTML generator for Python
Index: math/py-gnuplot/Makefile
===================================================================
--- math/py-gnuplot/Makefile
+++ math/py-gnuplot/Makefile
@@ -5,10 +5,11 @@
 # $FreeBSD: ports/math/py-gnuplot/Makefile,v 1.14 2008/05/22 00:49:34 miwi Exp $
 #
 
-PORTNAME=	py-gnuplot
+PORTNAME=	gnuplot
 PORTVERSION=	1.8
 CATEGORIES=	math python
 MASTER_SITES=	SF/gnuplot-py
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	gnuplot-py-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
--- patch_bulk_python_prefix ends here ---
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Aug 16 22:52:21 UTC 2009 
Responsible-Changed-Why:  
Bring this PR for multiple ports to the attention of the Python 
mailing list. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137859 

From: olli hauer <ohauer@gmx.de>
To: bug-followup@FreeBSD.org, ohauer@gmx.de
Cc: ohauer@gmx.de
Subject: Re: ports/137859: [patch] python bulk update eliminate hard coded "py-" prefix
Date: Mon, 17 Aug 2009 07:26:38 +0200 (CEST)

 I forgot these two ports in last patch
  net/py-mp-random
  net-im/py-punjab
 
 
 --- patch_bulk_python_prefix_2 begins here ---
 Index: net/py-mp-random/Makefile
 ===================================================================
 --- net/py-mp-random/Makefile
 +++ net/py-mp-random/Makefile
 @@ -10,7 +10,7 @@
  PORTREVISION=	4
  CATEGORIES=	net python
  MASTER_SITES=	http://mirrorproject.com/widget/
 -PKGNAMEPREFIX=	py-
 +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
  DISTNAME=	MirrorProjectRandomImageWidget-src-${PORTVERSION}
  
  MAINTAINER=	randomimage-widget@mirrorproject.com
 Index: net-im/py-punjab/Makefile
 ===================================================================
 --- net-im/py-punjab/Makefile
 +++ net-im/py-punjab/Makefile
 @@ -9,7 +9,7 @@
  PORTVERSION=	0.12
  CATEGORIES=	net-im python
  MASTER_SITES=	http://butterfat.net/punjab/
 -PKGNAMEPREFIX=	py-
 +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
  
  MAINTAINER=	beech@FreeBSD.org
  COMMENT=	HTTP-polling and HTTP-binding gateway for Jabber
 --- patch_bulk_python_prefix_2 ends here ---
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Tue Aug 18 20:16:41 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137859 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/137859: commit references a PR
Date: Tue, 18 Aug 2009 20:16:03 +0000 (UTC)

 miwi        2009-08-18 20:15:55 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/py-kqueue      Makefile 
     devel/py-subversion  Makefile 
     devel/py-ice         Makefile 
     devel/py-thrift      Makefile 
     devel/py-tconfpy     Makefile 
     x11-toolkits/py-gnome Makefile 
     x11-toolkits/py-gtk  Makefile 
     x11-toolkits/py-gtkscintilla Makefile 
     audio/py-libmpdclient Makefile 
     databases/py-SQLDict Makefile 
     databases/py-MySQL   Makefile 
     textproc/py-HyperText Makefile 
     math/py-gnuplot      Makefile 
     net/py-mp-random     Makefile 
     net-im/py-punjab     Makefile 
   Log:
   Eliminate hard coded "PKGNAMEPREFIX= py-"
   
   PR:             137859
   Submitted by:   olli hauer <ohauer@gmx.de>
   
   Revision  Changes    Path
   1.3       +2 -1      ports/audio/py-libmpdclient/Makefile
   1.23      +2 -1      ports/databases/py-MySQL/Makefile
   1.6       +8 -8      ports/databases/py-SQLDict/Makefile
   1.11      +1 -1      ports/devel/py-ice/Makefile
   1.22      +1 -1      ports/devel/py-kqueue/Makefile
   1.10      +1 -1      ports/devel/py-subversion/Makefile
   1.5       +2 -1      ports/devel/py-tconfpy/Makefile
   1.5       +1 -1      ports/devel/py-thrift/Makefile
   1.15      +2 -1      ports/math/py-gnuplot/Makefile
   1.2       +1 -1      ports/net-im/py-punjab/Makefile
   1.9       +1 -1      ports/net/py-mp-random/Makefile
   1.6       +8 -8      ports/textproc/py-HyperText/Makefile
   1.80      +2 -1      ports/x11-toolkits/py-gnome/Makefile
   1.77      +2 -1      ports/x11-toolkits/py-gtk/Makefile
   1.20      +2 -1      ports/x11-toolkits/py-gtkscintilla/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
