svn commit: r330239 - in head/devel/py-xmltodict: . files

Olivier Duchateau olivierd at FreeBSD.org
Sun Oct 13 16:59:19 UTC 2013


Author: olivierd
Date: Sun Oct 13 16:59:18 2013
New Revision: 330239
URL: http://svnweb.freebsd.org/changeset/ports/330239

Log:
  - Update to 0.8.1
  - Add PYTHON_PY3K_PLIST_HACK macro
  - Replace pkg-plist by PYDISTUTILS_AUTOPLIST (maintainer)
  - Support STAGEDIR
  - Add patch, which prevents to download another release of 'distribute'
  not supported by ports tree
  
  PR:		ports/182934
  Submitted by:	myself
  Approved by:	Johannes Meixner (maintainer)

Added:
  head/devel/py-xmltodict/files/
  head/devel/py-xmltodict/files/patch-setup.py   (contents, props changed)
Deleted:
  head/devel/py-xmltodict/pkg-plist
Modified:
  head/devel/py-xmltodict/Makefile
  head/devel/py-xmltodict/distinfo

Modified: head/devel/py-xmltodict/Makefile
==============================================================================
--- head/devel/py-xmltodict/Makefile	Sun Oct 13 16:24:18 2013	(r330238)
+++ head/devel/py-xmltodict/Makefile	Sun Oct 13 16:59:18 2013	(r330239)
@@ -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,7 @@ LICENSE=	MIT
 
 USE_PYTHON=		yes
 USE_PYDISTUTILS=	yes
+PYDISTUTILS_AUTOPLIST=	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>

Modified: head/devel/py-xmltodict/distinfo
==============================================================================
--- head/devel/py-xmltodict/distinfo	Sun Oct 13 16:24:18 2013	(r330238)
+++ head/devel/py-xmltodict/distinfo	Sun Oct 13 16:59:18 2013	(r330239)
@@ -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

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	Sun Oct 13 16:59:18 2013	(r330239)
@@ -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'],
+       )


More information about the svn-ports-all mailing list