Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jul 2013 19:33:17 +0000 (UTC)
From:      Mikolaj Golub <trociny@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r323985 - head/databases/py-swiftclient
Message-ID:  <201307301933.r6UJXHIN039111@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trociny (src committer)
Date: Tue Jul 30 19:33:16 2013
New Revision: 323985
URL: http://svnweb.freebsd.org/changeset/ports/323985

Log:
  Update to 1.5.0.
  
  Since 1.5.0 swiftclient's setuptools have been using pbr thus adds pbr
  dependancy.
  
  The setup.py needs patching though to work correctly after merging
  d2to1 into pbr 0.5.19.  Hope this is temporary and setup.py will be
  updated upstream soon.
  
  Approved by:	bdrewery

Modified:
  head/databases/py-swiftclient/Makefile
  head/databases/py-swiftclient/distinfo

Modified: head/databases/py-swiftclient/Makefile
==============================================================================
--- head/databases/py-swiftclient/Makefile	Tue Jul 30 19:27:24 2013	(r323984)
+++ head/databases/py-swiftclient/Makefile	Tue Jul 30 19:33:16 2013	(r323985)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	swiftclient
-PORTVERSION=	1.4.0
+PORTVERSION=	1.5.0
 CATEGORIES=	databases python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +13,9 @@ COMMENT=	Python client library for OpenS
 
 LICENSE=	AL2
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}simplejson>0:${PORTSDIR}/devel/py-simplejson
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pbr>=0.5.19:${PORTSDIR}/devel/py-pbr
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}simplejson>=2.0.9:${PORTSDIR}/devel/py-simplejson
 
 USE_PYTHON=	-2.7
 USE_PYDISTUTILS=	easy_install
@@ -24,6 +26,10 @@ PLIST_FILES=	bin/swift \
 
 MAN1=		swift.1
 
+post-patch:
+	@${REINPLACE_CMD} -e "s/'d2to1', //; s/d2to1=True/pbr=True/" \
+		${WRKSRC}/setup.py
+
 post-install:
 .for i in ${MAN1}
 	${INSTALL_MAN} ${WRKSRC}/doc/manpages/${i} ${MANPREFIX}/man/man1/${i}

Modified: head/databases/py-swiftclient/distinfo
==============================================================================
--- head/databases/py-swiftclient/distinfo	Tue Jul 30 19:27:24 2013	(r323984)
+++ head/databases/py-swiftclient/distinfo	Tue Jul 30 19:33:16 2013	(r323985)
@@ -1,2 +1,2 @@
-SHA256 (python-swiftclient-1.4.0.tar.gz) = 95367a1db761cd71ac480cd4733a1cc55ef2afc2d48613142b8b89eac50cccc8
-SIZE (python-swiftclient-1.4.0.tar.gz) = 60704
+SHA256 (python-swiftclient-1.5.0.tar.gz) = 7307b5797e9c8f61e7cbc98e5248b649c110a17f365613a6e4f94ae1ad2486b8
+SIZE (python-swiftclient-1.5.0.tar.gz) = 61714



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