ports/163311: [PATCH] devel/py-turbojson: some cleanup
Ruslan Mahmatkhanov
rm at FreeBSD.org
Thu Dec 15 10:50:06 UTC 2011
>Number: 163311
>Category: ports
>Synopsis: [PATCH] devel/py-turbojson: some cleanup
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Dec 15 10:50:05 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Ruslan Mahmatkhanov
>Release: 10.0-CURRENT
>Organization:
>Environment:
10.0-CURRENT i386
>Description:
- correct download url for turbogears.org
- add LICENSE (MIT)
- move pkg-plist to PLIST_FILES
- set USE_PYTHON to 2.6-2.7 (doesn't seems support python3)
- whitespace fix in pkg-descr, remove Author field
- non-functional changes, so no PORTREVISION bump is needed
patch: http://people.freebsd.org/~rm/py-turbojson.cleanup.diff.txt
log: http://people.freebsd.org/~rm/py27-TurboJson-1.3.2.log
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/py-turbojson/Makefile,v
retrieving revision 1.17
diff -u -r1.17 Makefile
--- Makefile 10 Aug 2011 21:19:01 -0000 1.17
+++ Makefile 15 Dec 2011 10:41:28 -0000
@@ -10,19 +10,22 @@
PORTREVISION= 0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP \
- http://www.turbogears.org/2.0/downloads/2.0.1/ \
+ http://www.turbogears.org/2.1/downloads/2.1.4/ \
http://nivi.interfree.it/distfiles/${PORTNAME}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit at FreeBSD.org
COMMENT= Python template plugin for TurboGears that supports json
+LICENSE= MIT
+
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}simplejson>=1.9.1:${PORTSDIR}/devel/py-simplejson \
${PYTHON_PKGNAMEPREFIX}PEAK-Rules>=0:${PORTSDIR}/devel/py-PEAK-Rules
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}simplejson>=1.9.1:${PORTSDIR}/devel/py-simplejson \
${PYTHON_PKGNAMEPREFIX}PEAK-Rules>=0:${PORTSDIR}/devel/py-PEAK-Rules
-USE_PYTHON= 2.5+
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+USE_PYTHON= 2.6-2.7
USE_PYDISTUTILS= easy_install
.include <bsd.port.mk>
Index: pkg-descr
===================================================================
RCS file: /home/pcvs/ports/devel/py-turbojson/pkg-descr,v
retrieving revision 1.3
diff -u -r1.3 pkg-descr
--- pkg-descr 31 Dec 2010 16:33:47 -0000 1.3
+++ pkg-descr 15 Dec 2011 10:41:28 -0000
@@ -1,4 +1,3 @@
-Python template plugin for TurboGears that supports json
+Python template plugin for TurboGears that supports json
-Author: Elvelind Grandin
WWW: http://docs.turbogears.org/TurboJson
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- pkg-plist 3 Aug 2009 12:20:36 -0000 1.9
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,2 +0,0 @@
- at comment $FreeBSD: ports/devel/py-turbojson/pkg-plist,v 1.9 2009/08/03 12:20:36 nivit Exp $
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list