ports/127558: [Update]devel/py-simplejson:update to 1.9.3
Wen Heping
wenheping at gmail.com
Tue Sep 23 08:00:08 UTC 2008
>Number: 127558
>Category: ports
>Synopsis: [Update]devel/py-simplejson:update to 1.9.3
>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: Tue Sep 23 08:00:07 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Wen Heping
>Release: FreeBSD-8.0 Current
>Organization:
ChangAn Middle School
>Environment:
FreeBSD fb8.wenjing.com 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Sep 21 18:56:51 HKT 2008 root at fb8.wenjing.com:/usr/obj/usr/src/sys/GENERIC i386
>Description:
1 update to 1.9.3 from 1.9.2
2 respect PORTDOCS
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
--- Makefile.orig 2008-09-23 23:23:57.000000000 +0800
+++ Makefile 2008-09-23 23:23:57.000000000 +0800
@@ -6,10 +6,14 @@
#
PORTNAME= simplejson
-PORTVERSION= 1.9.2
+PORTVERSION= 1.9.3
CATEGORIES= devel python
-MASTER_SITES= CHEESESHOP
+MASTER_SITES= CHEESESHOP:source1 \
+ http://peak.telecommunity.com/dist/:source2
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz:source1 \
+ ez_setup.py:source2
+EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}.tar.gz
MAINTAINER= python at FreeBSD.org
COMMENT= Simplejson is a simple, fast, extensible JSON encoder/decoder
@@ -18,13 +22,13 @@
USE_PYDISTUTILS= easy_install
PYEASYINSTALL_ARCHDEP= yes
-DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
-PORTDOCS= *
-
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/docs/ ${DOCSDIR}
.endif
+post-extract:
+ ${CP} ${DISTDIR}/ez_setup.py ${WRKSRC}
+
.include <bsd.port.mk>
--- distinfo.orig 2008-09-23 23:23:57.000000000 +0800
+++ distinfo 2008-09-23 23:23:57.000000000 +0800
@@ -1,3 +1,6 @@
-MD5 (simplejson-1.9.2.tar.gz) = 9fe5d9a98da5ffc347bfee2ccf386fcb
-SHA256 (simplejson-1.9.2.tar.gz) = 64daccbd34c3bbc19a9a9f44d35d6c52a10d28559dd0f626022e9ef6c5b6c54e
-SIZE (simplejson-1.9.2.tar.gz) = 70928
+MD5 (simplejson-1.9.3.tar.gz) = 321f7ad3a347e5a11814bcfecf8b9d11
+SHA256 (simplejson-1.9.3.tar.gz) = da6e4f66cb54f399eb8825de5e3986adaab9ebd8c47ef5fddda8a47519b2ff7b
+SIZE (simplejson-1.9.3.tar.gz) = 69989
+MD5 (ez_setup.py) = 94ce3ba3f5933e3915e999c26da9563b
+SHA256 (ez_setup.py) = c11139b66d5e1e3bda2c2dd395d94ec66cfb7f85232ababd3b9bf664be4e737e
+SIZE (ez_setup.py) = 9419
--- pkg-plist.orig 2008-09-23 23:23:57.000000000 +0800
+++ pkg-plist 2008-09-23 23:23:57.000000000 +0800
@@ -1,2 +1,20 @@
@comment $FreeBSD: ports/devel/py-simplejson/pkg-plist,v 1.5 2008/06/15 21:40:12 lwhsu Exp $
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+%%PORTDOCS%%%%DOCSDIR%%/class-simplejson.JSONDecoder.html
+%%PORTDOCS%%%%DOCSDIR%%/class-simplejson.JSONEncoder.html
+%%PORTDOCS%%%%DOCSDIR%%/class_to_source.js
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/layout.css
+%%PORTDOCS%%%%DOCSDIR%%/module-index.html
+%%PORTDOCS%%%%DOCSDIR%%/module-simplejson-index.html
+%%PORTDOCS%%%%DOCSDIR%%/module-simplejson.html
+%%PORTDOCS%%%%DOCSDIR%%/pudge.css
+%%PORTDOCS%%%%DOCSDIR%%/rst.css
+%%PORTDOCS%%%%DOCSDIR%%/simplejson/__init__.py.html
+%%PORTDOCS%%%%DOCSDIR%%/simplejson/decoder.py.html
+%%PORTDOCS%%%%DOCSDIR%%/simplejson/encoder.py.html
+%%PORTDOCS%%%%DOCSDIR%%/simplejson/jsonfilter.py.html
+%%PORTDOCS%%%%DOCSDIR%%/simplejson/scanner.py.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/simplejson
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list