ports/183447: [MAINTAINER-UPDATE] devel/py-xmltodict: Stage support & other tweaks

Johannes Jost Meixner xmj at chaot.net
Tue Oct 29 15:30:00 UTC 2013


>Number:         183447
>Category:       ports
>Synopsis:       [MAINTAINER-UPDATE] devel/py-xmltodict: Stage support & other tweaks
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 29 15:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:


More information about the freebsd-ports-bugs mailing list