From xmj@chaot.net  Tue Oct 29 15:20:26 2013
Return-Path: <xmj@chaot.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id EA122A6D
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 29 Oct 2013 15:20:26 +0000 (UTC)
	(envelope-from xmj@chaot.net)
Received: from dd16522.kasserver.com (dd16522.kasserver.com [85.13.137.124])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id AF1C52DF6
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 29 Oct 2013 15:20:26 +0000 (UTC)
Received: from mx12.chaot.net (62.65.222.235.cable.starman.ee [62.65.222.235])
	by dd16522.kasserver.com (Postfix) with ESMTPSA id E9A1145649A;
	Tue, 29 Oct 2013 16:20:24 +0100 (CET)
Received: from localhost (1003@localhost [local]);
	by mx12.chaot.net (OpenSMTPD) with ESMTPA id 6e37572a;
	Tue, 29 Oct 2013 17:20:24 +0200 (EET)
Message-Id: <1573807893.enqueue@mx12.chaot.net>
Date: Tue, 29 Oct 2013 17:20:24 +0200 (EET)
From: Johannes Jost Meixner <xmj@chaot.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: xmj@chaot.net
Subject: [MAINTAINER-UPDATE] devel/py-xmltodict: Stage support & other tweaks
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         183447
>Category:       ports
>Synopsis:       [MAINTAINER-UPDATE] devel/py-xmltodict: Stage support & other tweaks
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wg
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 29 15:30:00 UTC 2013
>Closed-Date:    Wed Oct 30 15:40:38 UTC 2013
>Last-Modified:  Wed Oct 30 15:50:00 UTC 2013
>Originator:     Johannes Jost Meixner
>Release:        FreeBSD 11.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD mx12.chaot.net 11.0-CURRENT FreeBSD 11.0-CURRENT #8: Sun Oct 13 11:56:41 EEST 2013
>Description:
- Replace setuptools with distutils.core
- Subsequently, add staging support
- Remove redundant PYTHON_PY3K_PLIST_HACK (implied by PYDISTUTILS_AUTOPLIST)


Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- py-xmltodict-0.8.3.patch begins here ---
diff -ruN /usr/ports/devel/py-xmltodict/Makefile ./Makefile
--- /usr/ports/devel/py-xmltodict/Makefile	2013-10-24 20:41:11.000000000 +0300
+++ ./Makefile	2013-10-29 17:16:22.291006683 +0200
@@ -1,5 +1,5 @@
 # Created by: Johannes Meixner <xmj@chaot.net>
-# $FreeBSD: devel/py-xmltodict/Makefile 331505 2013-10-24 17:41:11Z olivierd $
+# $FreeBSD: head/devel/py-xmltodict/Makefile 331505 2013-10-24 17:41:11Z olivierd $
 
 PORTNAME=	xmltodict
 PORTVERSION=	0.8.3
@@ -13,14 +13,7 @@
 LICENSE=	MIT
 
 USE_PYTHON=		yes
-USE_PYDISTUTILS=	easy_install
+USE_PYDISTUTILS=	yes
 PYDISTUTILS_AUTOPLIST=	yes
-PYTHON_PY3K_PLIST_HACK=	yes
-
-# setuptools module doesn't support STAGEDIR
-NO_STAGE=	yes
-
-post-patch:
-	@${REINPLACE_CMD} -e 's|setup_|#setup_|' ${WRKSRC}/setup.py
 
 .include <bsd.port.mk>
diff -ruN /usr/ports/devel/py-xmltodict/files/patch-setup.py ./files/patch-setup.py
--- /usr/ports/devel/py-xmltodict/files/patch-setup.py	1970-01-01 03:00:00.000000000 +0300
+++ ./files/patch-setup.py	2013-10-29 17:14:01.011010681 +0200
@@ -0,0 +1,18 @@
+--- ./setup.py.orig	2013-10-21 11:53:07.000000000 +0300
++++ ./setup.py	2013-10-29 17:13:13.731011703 +0200
+@@ -1,6 +1,6 @@
+ #!/usr/bin/env python
+ try:
+-    from setuptools import setup
++    from distutils.core import setup
+ except ImportError:
+     from ez_setup import use_setuptools
+     use_setuptools()
+@@ -32,6 +32,5 @@
+           'Programming Language :: Python :: Implementation :: PyPy',
+           'Topic :: Text Processing :: Markup :: XML',
+       ],
+-      py_modules=['xmltodict'],
+-      setup_requires=['nose>=1.0', 'coverage'],
++      py_modules=['xmltodict']
+       )
diff -ruN /usr/ports/devel/py-xmltodict/pkg-descr ./pkg-descr
--- /usr/ports/devel/py-xmltodict/pkg-descr	2013-08-25 15:54:34.000000000 +0300
+++ ./pkg-descr	2013-10-29 17:12:00.801011618 +0200
@@ -2,4 +2,4 @@
 working with JSON.
 
 
-WWW: https://pypi.python.org/pypi/xmltodict
+WWW: https://github.com/martinblech/xmltodict
--- py-xmltodict-0.8.3.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Oct 29 15:30:08 UTC 2013 
Responsible-Changed-Why:  
freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183447 
Responsible-Changed-From-To: freebsd-python->wg 
Responsible-Changed-By: wg 
Responsible-Changed-When: Wed Oct 30 14:24:56 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183447 
State-Changed-From-To: open->closed 
State-Changed-By: wg 
State-Changed-When: Wed Oct 30 15:40:37 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183447 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/183447: commit references a PR
Date: Wed, 30 Oct 2013 15:40:28 +0000 (UTC)

 Author: wg
 Date: Wed Oct 30 15:40:20 2013
 New Revision: 332131
 URL: http://svnweb.freebsd.org/changeset/ports/332131
 
 Log:
   devel/py-xmltodict: allow staging
   
   - Allow staging
   - Remove useless PYTHON_PY3K_PLIST_HACK
   - Update WWW
   
   PR:		ports/183447
   Submitted by:	Johannes Jost Meixner <xmj chaot.net> (maintainer)
 
 Added:
   head/devel/py-xmltodict/files/
   head/devel/py-xmltodict/files/patch-setup.py   (contents, props changed)
 Modified:
   head/devel/py-xmltodict/Makefile
   head/devel/py-xmltodict/pkg-descr
 
 Modified: head/devel/py-xmltodict/Makefile
 ==============================================================================
 --- head/devel/py-xmltodict/Makefile	Wed Oct 30 15:33:00 2013	(r332130)
 +++ head/devel/py-xmltodict/Makefile	Wed Oct 30 15:40:20 2013	(r332131)
 @@ -13,14 +13,7 @@ COMMENT=	XML parser that returns python 
  LICENSE=	MIT
  
  USE_PYTHON=		yes
 -USE_PYDISTUTILS=	easy_install
 +USE_PYDISTUTILS=	yes
  PYDISTUTILS_AUTOPLIST=	yes
 -PYTHON_PY3K_PLIST_HACK=	yes
 -
 -# setuptools module doesn't support STAGEDIR
 -NO_STAGE=	yes
 -
 -post-patch:
 -	@${REINPLACE_CMD} -e 's|setup_|#setup_|' ${WRKSRC}/setup.py
  
  .include <bsd.port.mk>
 
 Added: head/devel/py-xmltodict/files/patch-setup.py
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/devel/py-xmltodict/files/patch-setup.py	Wed Oct 30 15:40:20 2013	(r332131)
 @@ -0,0 +1,18 @@
 +--- ./setup.py.orig	2013-10-21 11:53:07.000000000 +0300
 ++++ ./setup.py	2013-10-29 17:13:13.731011703 +0200
 +@@ -1,6 +1,6 @@
 + #!/usr/bin/env python
 + try:
 +-    from setuptools import setup
 ++    from distutils.core import setup
 + except ImportError:
 +     from ez_setup import use_setuptools
 +     use_setuptools()
 +@@ -32,6 +32,5 @@
 +           'Programming Language :: Python :: Implementation :: PyPy',
 +           'Topic :: Text Processing :: Markup :: XML',
 +       ],
 +-      py_modules=['xmltodict'],
 +-      setup_requires=['nose>=1.0', 'coverage'],
 ++      py_modules=['xmltodict']
 +       )
 
 Modified: head/devel/py-xmltodict/pkg-descr
 ==============================================================================
 --- head/devel/py-xmltodict/pkg-descr	Wed Oct 30 15:33:00 2013	(r332130)
 +++ head/devel/py-xmltodict/pkg-descr	Wed Oct 30 15:40:20 2013	(r332131)
 @@ -1,5 +1,4 @@
  xmltodict is a Python module that makes working with XML feel like you are
  working with JSON.
  
 -
 -WWW: https://pypi.python.org/pypi/xmltodict
 +WWW: https://github.com/martinblech/xmltodict
 _______________________________________________
 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"
 
>Unformatted:
