From yzlin@cs.nctu.edu.tw  Fri Dec 26 13:15:15 2008
Return-Path: <yzlin@cs.nctu.edu.tw>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E292C1065674
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 26 Dec 2008 13:15:15 +0000 (UTC)
	(envelope-from yzlin@cs.nctu.edu.tw)
Received: from csmailgate.cs.nctu.edu.tw (csmailgate.cs.nctu.edu.tw [140.113.235.103])
	by mx1.freebsd.org (Postfix) with ESMTP id AC63B8FC26
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 26 Dec 2008 13:15:15 +0000 (UTC)
	(envelope-from yzlin@cs.nctu.edu.tw)
Received: from stucgi.cs.nctu.edu.tw (stucgi [140.113.235.130])
	by csmailgate.cs.nctu.edu.tw (Postfix) with ESMTP id 17D253F470;
	Fri, 26 Dec 2008 21:15:14 +0800 (CST)
Received: (from yzlin@localhost)
	by stucgi.cs.nctu.edu.tw (8.14.2/8.14.2/Submit) id mBQDFEwd082910;
	Fri, 26 Dec 2008 21:15:14 +0800 (CST)
	(envelope-from yzlin)
Message-Id: <200812261315.mBQDFEwd082910@stucgi.cs.nctu.edu.tw>
Date: Fri, 26 Dec 2008 21:15:14 +0800 (CST)
From: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
To: FreeBSD-gnats-submit@freebsd.org
Cc: python@freebsd.org
Subject: [PATCH] devel/py-simplejson: update to 2.0.6
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         129948
>Category:       ports
>Synopsis:       [PATCH] devel/py-simplejson: update to 2.0.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 26 13:20:02 UTC 2008
>Closed-Date:    Sun Dec 28 11:46:23 UTC 2008
>Last-Modified:  Sun Dec 28 11:50:07 UTC 2008
>Originator:     Yi-Jheng Lin
>Release:        FreeBSD 7.0-RELEASE-p6 amd64
>Organization:
NCTU CS
>Environment:
System: FreeBSD stucgi 7.0-RELEASE-p6 FreeBSD 7.0-RELEASE-p6 #0: Fri Nov 28 17:44:01 CST 2008
>Description:
- Update to 2.0.6
- Replace CP with COPYTREE_SHARE (I don't think using CP is a good idea..)
- Add py- prefix to DOCSDIR
- Update required python version to 2.4+. By the description from master site,
  it's now compatible with python 2.4+. The pkg-descr should be updated.

Port maintainer (python@FreeBSD.org) is cc'd.

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

--- py-simplejson-2.0.6.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/py-simplejson/Makefile,v
retrieving revision 1.20
diff -u -r1.20 Makefile
--- Makefile	4 Dec 2008 14:32:29 -0000	1.20
+++ Makefile	26 Dec 2008 13:06:26 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	simplejson
-PORTVERSION=	2.0.5
+PORTVERSION=	2.0.6
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,14 +14,16 @@
 MAINTAINER=	python@FreeBSD.org
 COMMENT=	Simplejson is a simple, fast, extensible JSON encoder/decoder
 
-USE_PYTHON=	yes
+USE_PYTHON=	2.4+
 USE_PYDISTUTILS=	easy_install
 PYEASYINSTALL_ARCHDEP=	yes
 
+DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
+
 .if !defined(NOPORTDOCS)
 post-install:
 	@${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-simplejson/distinfo,v
retrieving revision 1.13
diff -u -r1.13 distinfo
--- distinfo	4 Dec 2008 14:32:29 -0000	1.13
+++ distinfo	26 Dec 2008 13:06:26 -0000
@@ -1,3 +1,3 @@
-MD5 (simplejson-2.0.5.tar.gz) = 11e65b91e7fd08eda931e683c5f98543
-SHA256 (simplejson-2.0.5.tar.gz) = 4b7724e2dfff82f2233226cb065513c0c68e069414838d869f4520b395d14af0
-SIZE (simplejson-2.0.5.tar.gz) = 112011
+MD5 (simplejson-2.0.6.tar.gz) = 1c200c8d5ba910706bad0618389e9e3c
+SHA256 (simplejson-2.0.6.tar.gz) = 0e869b83c802e1bd291d610343402f10b892374c8c6d880252a7fc5c675098e9
+SIZE (simplejson-2.0.6.tar.gz) = 112178
Index: pkg-descr
===================================================================
RCS file: /home/ncvs/ports/devel/py-simplejson/pkg-descr,v
retrieving revision 1.2
diff -u -r1.2 pkg-descr
--- pkg-descr	14 Feb 2007 07:01:06 -0000	1.2
+++ pkg-descr	26 Dec 2008 13:06:26 -0000
@@ -1,6 +1,6 @@
 simplejson is a simple, fast, extensible JSON encoder/decoder for Python
 
-simplejson is compatible with Python 2.3 and later with no external 
+simplejson is compatible with Python 2.4 and later with no external 
 dependencies. It covers the full JSON specification for both encoding and 
 decoding, with unicode support. By default, encoding is done in an encoding 
 neutral fashion (plain ASCII with \uXXXX escapes for unicode characters).
--- py-simplejson-2.0.6.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->python 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Dec 26 13:20:12 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=129948 
Responsible-Changed-From-To: python->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Fri Dec 26 13:45:22 UTC 2008 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=129948 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sun Dec 28 11:46:22 UTC 2008 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/129948: commit references a PR
Date: Sun, 28 Dec 2008 11:46:28 +0000 (UTC)

 miwi        2008-12-28 11:46:14 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/py-simplejson  Makefile distinfo pkg-descr 
   Log:
   - Update to 2.0.6
   
   PR:             129948
   Submitted by:   Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
   
   Revision  Changes    Path
   1.21      +5 -3      ports/devel/py-simplejson/Makefile
   1.14      +3 -3      ports/devel/py-simplejson/distinfo
   1.3       +1 -1      ports/devel/py-simplejson/pkg-descr
 _______________________________________________
 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:
