Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 2015 22:18:19 +0000 (UTC)
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r377268 - in head/devel/py-repoze.xmliter: . files
Message-ID:  <201501172218.t0HMIJGQ000937@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Sat Jan 17 22:18:18 2015
New Revision: 377268
URL: https://svnweb.freebsd.org/changeset/ports/377268
QAT: https://qat.redports.org/buildarchive/r377268/

Log:
  devel/py-repoze.xmliter: update to 0.6
  
  changelog:
  - Python 3 compatibility

Added:
  head/devel/py-repoze.xmliter/files/
  head/devel/py-repoze.xmliter/files/patch-setup.py   (contents, props changed)
Modified:
  head/devel/py-repoze.xmliter/Makefile
  head/devel/py-repoze.xmliter/distinfo

Modified: head/devel/py-repoze.xmliter/Makefile
==============================================================================
--- head/devel/py-repoze.xmliter/Makefile	Sat Jan 17 22:16:49 2015	(r377267)
+++ head/devel/py-repoze.xmliter/Makefile	Sat Jan 17 22:18:18 2015	(r377268)
@@ -1,8 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	repoze.xmliter
-PORTVERSION=	0.5
-PORTREVISION=	1
+PORTVERSION=	0.6
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,9 +14,17 @@ LICENSE_NAME=	Repoze License
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lxml>=2.1.1:${PORTSDIR}/devel/py-lxml
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lxml>=2.1.1:${PORTSDIR}/devel/py-lxml \
+		${PYTHON_PKGNAMEPREFIX}future>0:${PORTSDIR}/devel/py-future
 
 USES=		python zip
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	autoplist distutils
+
+post-patch:
+	# fix pkg-plist problem with python3. This file is not installing.
+	@${REINPLACE_CMD} -e 's|repoze/__init__.py||' \
+		${WRKSRC}/repoze.xmliter.egg-info/SOURCES.txt
+	@${RM} ${WRKSRC}/repoze/__init__.py \
+		${WRKSRC}/repoze.xmliter.egg-info/SOURCES.txt.bak
 
 .include <bsd.port.mk>

Modified: head/devel/py-repoze.xmliter/distinfo
==============================================================================
--- head/devel/py-repoze.xmliter/distinfo	Sat Jan 17 22:16:49 2015	(r377267)
+++ head/devel/py-repoze.xmliter/distinfo	Sat Jan 17 22:18:18 2015	(r377268)
@@ -1,2 +1,2 @@
-SHA256 (repoze.xmliter-0.5.zip) = f39e15b2bb8f22b04c7ff3670651adf6f53ffa5628deaca83cafaa4b4e135d56
-SIZE (repoze.xmliter-0.5.zip) = 21987
+SHA256 (repoze.xmliter-0.6.zip) = f139a3ac13ec5c47528d0df5ecf2a1e6344976bb6fc22b302ebb981c2d50eadd
+SIZE (repoze.xmliter-0.6.zip) = 18947

Added: head/devel/py-repoze.xmliter/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-repoze.xmliter/files/patch-setup.py	Sat Jan 17 22:18:18 2015	(r377268)
@@ -0,0 +1,11 @@
+--- setup.py.orig	2014-09-21 15:40:44 UTC
++++ setup.py
+@@ -43,7 +43,7 @@ setup(name='repoze.xmliter',
+       author_email="repoze-dev@lists.repoze.org",
+       url="http://www.repoze.org",
+       license="BSD-derived (http://www.repoze.org/LICENSE.txt)",
+-      packages=find_packages(),
++      packages = ['repoze', 'repoze.xmliter'],
+       include_package_data=True,
+       namespace_packages=['repoze'],
+       zip_safe=False,



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