Bug 183447 - [MAINTAINER-UPDATE] devel/py-xmltodict: Stage support & other tweaks
Summary: [MAINTAINER-UPDATE] devel/py-xmltodict: Stage support & other tweaks
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: 2013-10-29 15:30 UTC by Johannes Meixner
Modified: 2013-10-30 15:50 UTC (History)
1 user (show)

See Also:


Attachments
py-xmltodict-0.8.3.patch (1.93 KB, patch)
2013-10-29 15:30 UTC, Johannes Meixner
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Meixner 2013-10-29 15:30:00 UTC
- 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)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-29 15:30:08 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 2013-10-30 14:24:56 UTC
Responsible Changed
From-To: freebsd-python->wg

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-10-30 15:40:28 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"
Comment 4 William Grzybowski freebsd_committer freebsd_triage 2013-10-30 15:40:37 UTC
State Changed
From-To: open->closed

Committed. Thanks!