Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Nov 2008 19:51:01 +0800 (CST)
From:      Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        daniel@netwalk.org
Subject:   ports/128907: [PATCH] devel/py-utils: update to 0.3.0
Message-ID:  <200811161151.mAGBp1f4067791@stucgi.cs.nctu.edu.tw>
Resent-Message-ID: <200811161200.mAGC0BTH002621@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         128907
>Category:       ports
>Synopsis:       [PATCH] devel/py-utils: update to 0.3.0
>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 Nov 16 12:00:10 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Yi-Jheng Lin
>Release:        FreeBSD 7.0-RELEASE-p4 amd64
>Organization:
NCTU CS
>Environment:
System: FreeBSD stucgi 7.0-RELEASE-p4 FreeBSD 7.0-RELEASE-p4 #0: Fri Sep  5 14:56:26 CST
>Description:
- Update to 0.3.0
- Use the advantage of COPYTREE_SHARE
- the patch file patch-python25 is unnecessary. It's been fixed since ver. 0.3.0.

Removed file(s):
- files/patch-python25

Port maintainer (daniel@netwalk.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- py-utils-0.3.0.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/py-utils/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	30 Jul 2007 09:41:24 -0000	1.2
+++ Makefile	16 Nov 2008 11:47:03 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	utils
-PORTVERSION=	0.2.5
+PORTVERSION=	0.3.0
 CATEGORIES=	devel
 MASTER_SITES=	http://www.voidspace.org.uk/cgi-bin/voidspace/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -22,10 +22,12 @@
 WRKSRC=		${WRKDIR}/pythonutils-${PORTVERSION}
 USE_ZIP=	yes
 
+DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
+
 post-install:
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
-	${CP} -R ${WRKSRC}/docs/ ${DOCSDIR}
+	@(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${DOCSDIR})
 .endif
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/devel/py-utils/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	20 Mar 2006 19:22:13 -0000	1.1
+++ distinfo	16 Nov 2008 11:47:03 -0000
@@ -1,3 +1,3 @@
-MD5 (downman.py?file=pythonutils-0.2.5.zip) = 9193f93635e0272a22e651b09d4e278a
-SHA256 (downman.py?file=pythonutils-0.2.5.zip) = 634fb79e2d9c60a5fe9612900cf1e7dae4864c5197f3b436530aa31e770b6778
-SIZE (downman.py?file=pythonutils-0.2.5.zip) = 293531
+MD5 (downman.py?file=pythonutils-0.3.0.zip) = 3d56f4eb222de11fd8bd55963a2360aa
+SHA256 (downman.py?file=pythonutils-0.3.0.zip) = c277ed4206abd34c6c4aa7c68295b97f2adbc02e94ef0e3137faaacef4871a4a
+SIZE (downman.py?file=pythonutils-0.3.0.zip) = 346840
Index: pkg-descr
===================================================================
RCS file: /home/ncvs/ports/devel/py-utils/pkg-descr,v
retrieving revision 1.1
diff -u -r1.1 pkg-descr
--- pkg-descr	20 Mar 2006 19:22:13 -0000	1.1
+++ pkg-descr	16 Nov 2008 11:47:03 -0000
@@ -1,11 +1,10 @@
 The Voidspace Pythonutils package is a simple way of installing the Voidspace
 collection of modules. These are currently:
 
-    ConfigObj 4.1.0 - Easy config file reading/writing
-    validate 0.2.1 - Validation and type conversion system
-    listquote 1.4.0 - String to list conversion
-    StandOut 2.1.0 - Simple logging and output control object
-    pathutils 0.2.4 - For working with paths and files
+    ConfigObj 4.4.0 - Easy config file reading/writing
+    validate 0.2.3 - Validation and type conversion system
+    StandOut 3.0.0 - Simple logging and output control object
+    pathutils 0.2.5 - For working with paths and files
     cgiutils 0.3.5 - CGI helpers
     urlpath 0.1.0 - Functions for handling URLs
     odict 0.2.1 - Ordered Dictionary Class
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/devel/py-utils/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- pkg-plist	20 Mar 2006 19:22:13 -0000	1.1
+++ pkg-plist	16 Nov 2008 11:47:03 -0000
@@ -1,3 +1,4 @@
+%%PYTHON_SITELIBDIR%%/pythonutils.pth
 %%PYTHON_SITELIBDIR%%/pythonutils/__init__.py
 %%PYTHON_SITELIBDIR%%/pythonutils/__init__.pyc
 %%PYTHON_SITELIBDIR%%/pythonutils/__init__.pyo
@@ -7,9 +8,6 @@
 %%PYTHON_SITELIBDIR%%/pythonutils/configobj.py
 %%PYTHON_SITELIBDIR%%/pythonutils/configobj.pyc
 %%PYTHON_SITELIBDIR%%/pythonutils/configobj.pyo
-%%PYTHON_SITELIBDIR%%/pythonutils/listquote.py
-%%PYTHON_SITELIBDIR%%/pythonutils/listquote.pyc
-%%PYTHON_SITELIBDIR%%/pythonutils/listquote.pyo
 %%PYTHON_SITELIBDIR%%/pythonutils/odict.py
 %%PYTHON_SITELIBDIR%%/pythonutils/odict.pyc
 %%PYTHON_SITELIBDIR%%/pythonutils/odict.pyo
@@ -25,18 +23,15 @@
 %%PYTHON_SITELIBDIR%%/pythonutils/validate.py
 %%PYTHON_SITELIBDIR%%/pythonutils/validate.pyc
 %%PYTHON_SITELIBDIR%%/pythonutils/validate.pyo
-%%PYTHON_SITELIBDIR%%/pythonutils.pth
 %%PORTDOCS%%%%DOCSDIR%%/BSD-LICENSE.html
 %%PORTDOCS%%%%DOCSDIR%%/BSD-LICENSE.txt
 %%PORTDOCS%%%%DOCSDIR%%/cgiutils.html
 %%PORTDOCS%%%%DOCSDIR%%/cgiutils.txt
 %%PORTDOCS%%%%DOCSDIR%%/configobj.html
 %%PORTDOCS%%%%DOCSDIR%%/configobj.txt
+%%PORTDOCS%%%%DOCSDIR%%/images/PythonPowered.png
 %%PORTDOCS%%%%DOCSDIR%%/images/osi-certified-120x100.gif
 %%PORTDOCS%%%%DOCSDIR%%/images/powered_by_python.jpg
-%%PORTDOCS%%%%DOCSDIR%%/images/PythonPowered.png
-%%PORTDOCS%%%%DOCSDIR%%/listquote.html
-%%PORTDOCS%%%%DOCSDIR%%/listquote.txt
 %%PORTDOCS%%%%DOCSDIR%%/odict.html
 %%PORTDOCS%%%%DOCSDIR%%/odict.txt
 %%PORTDOCS%%%%DOCSDIR%%/pathutils.html
@@ -58,8 +53,8 @@
 %%PORTDOCS%%%%DOCSDIR%%/urlpath.txt
 %%PORTDOCS%%%%DOCSDIR%%/validate.html
 %%PORTDOCS%%%%DOCSDIR%%/validate.txt
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/smilies
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/stylesheets
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/smilies
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/images
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrm %%PYTHON_SITELIBDIR%%/pythonutils
Index: files/patch-python25
===================================================================
RCS file: files/patch-python25
diff -N files/patch-python25
--- files/patch-python25	30 Jul 2007 09:41:24 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,35 +0,0 @@
---- pythonutils/pathutils.py.orig	Fri Mar 30 06:39:37 2007
-+++ pythonutils/pathutils.py	Fri Mar 30 06:39:49 2007
-@@ -14,13 +14,13 @@
- # Scripts maintained at http://www.voidspace.org.uk/python/index.shtml
- # E-mail fuzzyman@voidspace.org.uk
- 
-+from __future__ import generators
- """
- This module contains convenience functions for working with files and paths.
- """
- 
- __version__ = '0.2.4'
- 
--from __future__ import generators
- import os
- import sys
- import time
---- pythonutils/odict.py.orig	Fri Mar 30 06:41:25 2007
-+++ pythonutils/odict.py	Fri Mar 30 06:41:35 2007
-@@ -14,6 +14,7 @@
- # http://groups.google.com/group/pythonutils/
- # Comments, suggestions and bug reports welcome.
- 
-+from __future__ import generators
- """A dict that keeps keys in insertion order"""
- 
- __author__ = ('Nicola Larosa <nico-NoSp@m-tekNico.net>,'
-@@ -27,7 +28,6 @@
- 
- __all__ = ['OrderedDict', 'SequenceOrderedDict']
- 
--from __future__ import generators
- from warnings import warn
- from types import SliceType
- 
--- py-utils-0.3.0.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811161151.mAGBp1f4067791>