Bug 185403 - patch www/py-django-json-rpc to work with django 1.6.1
Summary: patch www/py-django-json-rpc to work with django 1.6.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-02 02:40 UTC by John Hixson
Modified: 2014-01-02 11:30 UTC (History)
0 users

See Also:


Attachments
file.diff (612 bytes, patch)
2014-01-02 02:40 UTC, John Hixson
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Hixson 2014-01-02 02:40:00 UTC

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-01-02 11:20:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-python

freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 William Grzybowski freebsd_committer freebsd_triage 2014-01-02 11:21:39 UTC
Responsible Changed
From-To: freebsd-python->wg

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-01-02 11:27:27 UTC
Author: wg
Date: Thu Jan  2 11:27:14 2014
New Revision: 338436
URL: http://svnweb.freebsd.org/changeset/ports/338436

Log:
  www/py-django-json-rpc: fix for django 1.6
  
  - Fix for django 1.6 [1]
  - Swtich from easy_install to install
  - Support staging
  - Use python auto plist
  
  PR:		ports/185403 [1]
  Submitted by:	maintainer

Added:
  head/www/py-django-json-rpc/files/
  head/www/py-django-json-rpc/files/patch-site.py   (contents, props changed)
Deleted:
  head/www/py-django-json-rpc/pkg-plist
Modified:
  head/www/py-django-json-rpc/Makefile

Modified: head/www/py-django-json-rpc/Makefile
==============================================================================
--- head/www/py-django-json-rpc/Makefile	Thu Jan  2 10:31:56 2014	(r338435)
+++ head/www/py-django-json-rpc/Makefile	Thu Jan  2 11:27:14 2014	(r338436)
@@ -3,13 +3,13 @@
 
 PORTNAME=	django-json-rpc
 PORTVERSION=	0.6.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www python
 MASTER_SITES=	http://wiki.pcbsd.org/ports/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	john@ixsystems.com
-COMMENT=	A simple JSON-RPC implementation for Django
+COMMENT=	Simple JSON-RPC implementation for Django
 
 RUN_DEPENDS=	${PYTHON_SITELIBDIR}/django/bin/django-admin.py:${PORTSDIR}/www/py-django
 
@@ -17,7 +17,7 @@ LICENSE=	MIT
 
 USE_BZIP2=	yes
 USE_PYTHON=	yes
-USE_PYDISTUTILS=	easy_install
+USE_PYDISTUTILS=	yes
+PYDISTUTILS_AUTOPLIST=	yes
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Added: head/www/py-django-json-rpc/files/patch-site.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-django-json-rpc/files/patch-site.py	Thu Jan  2 11:27:14 2014	(r338436)
@@ -0,0 +1,10 @@
+--- ./jsonrpc/site.py	2012-02-01 23:55:13.000000000 -0800
++++ ./jsonrpc/site.py	2014-01-01 18:30:42.956263864 -0800
+@@ -210,7 +210,7 @@
+         raise RequestPostError
+       else:
+         try:
+-          D = loads(request.raw_post_data)
++          D = loads(request.body)
+         except:
+           raise InvalidRequestError
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 William Grzybowski freebsd_committer freebsd_triage 2014-01-02 11:27:28 UTC
State Changed
From-To: open->closed

Committed. Thanks!