ports/137859: [patch] python ports bulk update eliminate hard coded "py-" prefix

olli hauer ohauer at gmx.de
Sun Aug 16 22:30:06 UTC 2009


>Number:         137859
>Category:       ports
>Synopsis:       [patch] python bulk update eliminate hard coded "py-" prefix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 16 22:30:05 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     olli hauer <ohauer at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at FreeBSD.org
--- patch_bulk_python_prefix ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list