1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

- Update to 0.8.3

- Remove patch, upstream now uses setuptools module

PR:		ports/183161
Submitted by:	myself
Approved by:	Johannes Meixner (maintainer)
This commit is contained in:
Olivier Duchateau 2013-10-24 17:41:11 +00:00
parent 423a787b2d
commit 59013e6edf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331505
3 changed files with 10 additions and 25 deletions

View File

@ -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 @@ COMMENT= XML parser that returns python dictionaries
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>

View File

@ -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

View File

@ -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'],
)