[PATCH] devel/py-simplejson: update to 1.7
Li-Wen Hsu
lwhsu at lwhsu.org
Mon Mar 19 03:42:46 UTC 2007
>Submitter-Id: current-users
>Originator: Li-Wen Hsu
>Organization:
>Confidential: no
>Synopsis: [PATCH] devel/py-simplejson: update to 1.7
>Severity: non-critical
>Priority: low
>Category: ports
>Class: update
>Release: FreeBSD 6.2-STABLE i386
>Environment:
System: FreeBSD jail0.lwhsu.csie.net 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Jan 26 00:04:54 CST 2007
>Description:
- Update to 1.7
Port maintainer (python at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- py24-simplejson-1.7.patch begins here ---
diff -ruN -ruN --exclude=CVS /usr/ports/devel/py-simplejson/Makefile /home/lwhsu/ports/devel/py-simplejson/Makefile
--- /usr/ports/devel/py-simplejson/Makefile Mon Mar 5 13:40:35 2007
+++ /home/lwhsu/ports/devel/py-simplejson/Makefile Mon Mar 19 10:44:29 2007
@@ -6,7 +6,7 @@
#
PORTNAME= simplejson
-PORTVERSION= 1.6
+PORTVERSION= 1.7
CATEGORIES= devel python
MASTER_SITES= http://cheeseshop.python.org/packages/source/s/simplejson/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -20,9 +20,24 @@
USE_PYTHON= yes
USE_PYDISTUTILS= yes
-PYSIMPLEJSON_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
+PYSIMPLEJSON_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}-freebsd-${OSRELEASE}-${ARCH}.egg
PLIST_SUB+= PYSIMPLEJSON_EGG=${PYSIMPLEJSON_EGG} \
EGG_VER="${PORTNAME}==${PORTVERSION}"
-.include <bsd.port.mk>
+.if !defined(NOPORTDOCS)
+DOCSDIR= ${TARGETDIR}/share/doc/py-${PORTNAME}
+PORTDOCS= *
+.endif
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${CP} -R ${WRKSRC}/docs/ ${DOCSDIR}
+.endif
+
+.include <bsd.port.pre.mk>
+
+OSRELEASE!= uname -r
+
+.include <bsd.port.post.mk>
diff -ruN -ruN --exclude=CVS /usr/ports/devel/py-simplejson/distinfo /home/lwhsu/ports/devel/py-simplejson/distinfo
--- /usr/ports/devel/py-simplejson/distinfo Mon Mar 5 13:40:35 2007
+++ /home/lwhsu/ports/devel/py-simplejson/distinfo Mon Mar 19 10:39:14 2007
@@ -1,3 +1,3 @@
-MD5 (simplejson-1.6.tar.gz) = be3e13943a9627a3cfc012e31db0550b
-SHA256 (simplejson-1.6.tar.gz) = e901c0e78ceba9b3679ddccad5dd48e6dd84f087dc288a2e24e5c6d875a4f735
-SIZE (simplejson-1.6.tar.gz) = 56204
+MD5 (simplejson-1.7.tar.gz) = 1e8866f758ef8e7d5fe6ebeb1b26e4eb
+SHA256 (simplejson-1.7.tar.gz) = e89889f9465ca3e60c5b8f2dae7c279a29edfb5e894840c95414ddf2980a8dbb
+SIZE (simplejson-1.7.tar.gz) = 59806
--- py24-simplejson-1.7.patch ends here ---
More information about the freebsd-python
mailing list