aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authortrociny <trociny@FreeBSD.org>2013-12-07 23:01:54 +0800
committertrociny <trociny@FreeBSD.org>2013-12-07 23:01:54 +0800
commitda2b30ddccab50a6c3351aab92c08baf244d4e22 (patch)
tree4e67935d8f933b0dcb112a259bd9b876ff0d5a21 /databases
parent2354fe15ab3c297f549e1e89968a1e23394a4c17 (diff)
downloadfreebsd-ports-gnome-da2b30ddccab50a6c3351aab92c08baf244d4e22.tar.gz
freebsd-ports-gnome-da2b30ddccab50a6c3351aab92c08baf244d4e22.tar.zst
freebsd-ports-gnome-da2b30ddccab50a6c3351aab92c08baf244d4e22.zip
- update to 1.8.0
- support staging - use autoplist Approved by: bdrewery (mentor)
Diffstat (limited to 'databases')
-rw-r--r--databases/py-swiftclient/Makefile20
-rw-r--r--databases/py-swiftclient/distinfo4
-rw-r--r--databases/py-swiftclient/pkg-plist3
3 files changed, 10 insertions, 17 deletions
diff --git a/databases/py-swiftclient/Makefile b/databases/py-swiftclient/Makefile
index c69f50c4d7f7..67434748138a 100644
--- a/databases/py-swiftclient/Makefile
+++ b/databases/py-swiftclient/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= swiftclient
-PORTVERSION= 1.5.0
+PORTVERSION= 1.8.0
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,28 +13,18 @@ COMMENT= Python client library for OpenStack Object Storage (Swift)
LICENSE= AL2
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=0.5.19:${PORTSDIR}/devel/py-pbr
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=0.5.21:${PORTSDIR}/devel/py-pbr
RUN_DEPENDS:= ${BUILD_DEPENDS}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}simplejson>=2.0.9:${PORTSDIR}/devel/py-simplejson
USE_PYTHON= -2.7
USE_PYDISTUTILS= easy_install
+PYDISTUTILS_AUTOPLIST= yes
PYDISTUTILS_PKGNAME= python_${PORTNAME}
-PLIST_FILES= bin/swift \
- %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
-
-MAN1= swift.1
-
-NO_STAGE= yes
-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}
-.endfor
+ ${INSTALL_MAN} ${WRKSRC}/doc/manpages/swift.1 \
+ ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>
diff --git a/databases/py-swiftclient/distinfo b/databases/py-swiftclient/distinfo
index d2ef9844c114..c4203bfe6d49 100644
--- a/databases/py-swiftclient/distinfo
+++ b/databases/py-swiftclient/distinfo
@@ -1,2 +1,2 @@
-SHA256 (python-swiftclient-1.5.0.tar.gz) = 7307b5797e9c8f61e7cbc98e5248b649c110a17f365613a6e4f94ae1ad2486b8
-SIZE (python-swiftclient-1.5.0.tar.gz) = 61714
+SHA256 (python-swiftclient-1.8.0.tar.gz) = c6054784d818552c0fe6b6b985323c7a811a42cc49a52f3d44330987cbbce39b
+SIZE (python-swiftclient-1.8.0.tar.gz) = 72672
diff --git a/databases/py-swiftclient/pkg-plist b/databases/py-swiftclient/pkg-plist
new file mode 100644
index 000000000000..139a4e051065
--- /dev/null
+++ b/databases/py-swiftclient/pkg-plist
@@ -0,0 +1,3 @@
+@comment $FreeBSD$
+bin/swift
+man/man1/swift.1.gz