Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Oct 2013 20:15:31 GMT
From:      Olivier Duchateau <olivierd@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/182934: [UPDATE] devel/py-xmltodict to 0.8.1
Message-ID:  <201310122015.r9CKFVRH022081@oldred.freebsd.org>
Resent-Message-ID: <201310122020.r9CKK00i012148@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         182934
>Category:       ports
>Synopsis:       [UPDATE] devel/py-xmltodict to 0.8.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 12 20:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Duchateau
>Release:        
>Organization:
>Environment:
>Description:
- Update to 0.8.1
- Add PYTHON_PY3K_PLIST_HACK macro
- Support STAGEDIR
- Add patch which prevents to download another release 'distribute'
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(révision 330182)
+++ Makefile	(copie de travail)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	xmltodict
-PORTVERSION=	0.7.0
+PORTVERSION=	0.8.1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,12 +14,6 @@
 
 USE_PYTHON=		yes
 USE_PYDISTUTILS=	yes
+PYTHON_PY3K_PLIST_HACK=	yes
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} >= 320
-.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: distinfo
===================================================================
--- distinfo	(révision 330182)
+++ distinfo	(copie de travail)
@@ -1,2 +1,2 @@
-SHA256 (xmltodict-0.7.0.tar.gz) = 3868de239d2e487402eef15ab733ad8eea9c06f31422845571557b0b91f84dd7
-SIZE (xmltodict-0.7.0.tar.gz) = 12193
+SHA256 (xmltodict-0.8.1.tar.gz) = d02e6320413b9c2c5b26e21fe670cb461e2be5af384201de74cff4ea14219a63
+SIZE (xmltodict-0.8.1.tar.gz) = 30348
Index: files/patch-setup.py
===================================================================
--- files/patch-setup.py	(révision 0)
+++ files/patch-setup.py	(copie de travail)
@@ -0,0 +1,21 @@
+Use 'distribute' package provides by ports tree.
+
+--- ./setup.py.orig	2013-10-11 00:08:24.000000000 +0000
++++ ./setup.py	2013-10-12 21:59:11.000000000 +0000
+@@ -1,8 +1,6 @@
+ #!/usr/bin/env python
+-from distribute_setup import use_setuptools
+-use_setuptools()
+ 
+-from setuptools import setup
++from distutils.core import setup
+ import xmltodict
+ 
+ setup(name='xmltodict',
+@@ -30,5 +28,5 @@
+           'Topic :: Text Processing :: Markup :: XML',
+       ],
+       py_modules=['xmltodict'],
+-      setup_requires=['nose>=1.0', 'coverage'],
++      #setup_requires=['nose>=1.0', 'coverage'],
+       )


>Release-Note:
>Audit-Trail:
>Unformatted:



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