[PATCH] devel/py-simplejson: update to 2.0.6
Yi-Jheng Lin
yzlin at cs.nctu.edu.tw
Fri Dec 26 05:34:38 PST 2008
>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 at 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 at 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 ---
More information about the freebsd-python
mailing list