Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2013 15:40:21 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332131 - in head/devel/py-xmltodict: . files
Message-ID:  <201310301540.r9UFeLMU033996@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310301540.r9UFeLMU033996>