From owner-freebsd-python@FreeBSD.ORG  Fri Dec 26 13:34:38 2008
Return-Path: <owner-freebsd-python@FreeBSD.ORG>
Delivered-To: python@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D9A73106564A
	for <python@freebsd.org>; Fri, 26 Dec 2008 13:34:38 +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 A8DF78FC0C
	for <python@freebsd.org>; Fri, 26 Dec 2008 13:34:38 +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)
Date: Fri, 26 Dec 2008 21:15:14 +0800 (CST)
Message-Id: <200812261315.mBQDFEwd082910@stucgi.cs.nctu.edu.tw>
To: FreeBSD-gnats-submit@freebsd.org
From: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
X-send-pr-version: 3.113
X-GNATS-Notify: 
Cc: python@freebsd.org
Subject: [PATCH] devel/py-simplejson: update to 2.0.6
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>, 
	<mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
	<mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Dec 2008 13:34:38 -0000


>Submitter-Id:	current-users
>Originator:	Yi-Jheng Lin
>Organization:	NCTU CS
>Confidential:	no 
>Synopsis:	[PATCH] devel/py-simplejson: update to 2.0.6
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		update
>Release:	FreeBSD 7.0-RELEASE-p6 amd64
>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 ---