ports/183161: [UPDATE] devel/py-xmltodict to 0.8.3
Olivier Duchateau
olivierd at FreeBSD.org
Mon Oct 21 19:40:00 UTC 2013
>Number: 183161
>Category: ports
>Synopsis: [UPDATE] devel/py-xmltodict to 0.8.3
>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: Mon Oct 21 19:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Olivier Duchateau
>Release:
>Organization:
>Environment:
>Description:
- Update to 0.8.3
- Remove patch, upstream uses setuptools module
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
--- Makefile (révision 331176)
+++ Makefile (copie de travail)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= xmltodict
-PORTVERSION= 0.8.1
+PORTVERSION= 0.8.3
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,8 +13,14 @@
LICENSE= MIT
USE_PYTHON= yes
-USE_PYDISTUTILS= yes
+USE_PYDISTUTILS= easy_install
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>
Index: distinfo
===================================================================
--- distinfo (révision 331176)
+++ distinfo (copie de travail)
@@ -1,2 +1,2 @@
-SHA256 (xmltodict-0.8.1.tar.gz) = d02e6320413b9c2c5b26e21fe670cb461e2be5af384201de74cff4ea14219a63
-SIZE (xmltodict-0.8.1.tar.gz) = 30348
+SHA256 (xmltodict-0.8.3.tar.gz) = c532590ec58960dc3cca5bd0d4aa4a8774d8a7be537450a23896c5d15c796f55
+SIZE (xmltodict-0.8.3.tar.gz) = 12239
Index: files/patch-setup.py
===================================================================
--- files/patch-setup.py (révision 331176)
+++ files/patch-setup.py (copie de travail)
@@ -1,21 +0,0 @@
-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:
More information about the freebsd-ports-bugs
mailing list