Bug 182934 - [UPDATE] devel/py-xmltodict to 0.8.1
Summary: [UPDATE] devel/py-xmltodict to 0.8.1
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: freebsd-python (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-12 21:20 UTC by Olivier Duchateau
Modified: 2013-10-13 18:00 UTC (History)
0 users

See Also:


Attachments
file.diff (1.84 KB, patch)
2013-10-12 21:20 UTC, Olivier Duchateau
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Duchateau freebsd_committer freebsd_triage 2013-10-12 21:20:00 UTC
- Update to 0.8.1
- Add PYTHON_PY3K_PLIST_HACK macro
- Support STAGEDIR
- Add patch which prevents to download another release 'distribute'

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-12 21:20:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-python

freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-12 21:20:10 UTC
Maintainer of devel/py-xmltodict,

Please note that PR ports/182934 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/182934

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-12 21:20:11 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 Johannes Meixner 2013-10-13 09:53:37 UTC
Looks good to me. 
I tried my hand at updating it today and making it stage safe,
and I found that it works with

PYDISTUTILS_AUTOPLIST=  yes.

I'd appreciate if you could include this and remove the pkg-plist.

Best regards,

Johannes Meixner
http://www.meixner.or.at



----- Original Message -----
From: edwin@FreeBSD.org
To: xmj@chaot.net
Date: 12.10.2013 23:20:10
Subject: Re: ports/182934: [UPDATE] devel/py-xmltodict to 0.8.1


> Maintainer of devel/py-xmltodict,
> 
> Please note that PR ports/182934 has just been submitted.
> 
> If it contains a patch for an upgrade, an enhancement or a bug fix
> you agree on, reply to this email stating that you approve the patch
> and a committer will take care of it.
> 
> The full text of the PR can be found at:
>    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/182934
> 
> -- 
> Edwin Groothuis via the GNATS Auto Assign Tool
> edwin@FreeBSD.org
Comment 5 dfilter service freebsd_committer freebsd_triage 2013-10-13 17:59:26 UTC
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'],
+       )
_______________________________________________
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 6 Olivier Duchateau freebsd_committer freebsd_triage 2013-10-13 18:00:43 UTC
State Changed
From-To: feedback->closed

Committed