svn commit: r323985 - head/databases/py-swiftclient

Mikolaj Golub trociny at FreeBSD.org
Tue Jul 30 19:33:17 UTC 2013


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


More information about the svn-ports-all mailing list