aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2012-12-02 18:00:05 +0800
committerrm <rm@FreeBSD.org>2012-12-02 18:00:05 +0800
commite765c6cacca1d9a16787f6ee761e6f6a6a648585 (patch)
tree99cd369ee29f5c6352c647c33efc1a9f7f3e66b5
parent9089302b55b03ccc32f4dccb9f54edef78754237 (diff)
downloadfreebsd-ports-gnome-e765c6cacca1d9a16787f6ee761e6f6a6a648585.tar.gz
freebsd-ports-gnome-e765c6cacca1d9a16787f6ee761e6f6a6a648585.tar.zst
freebsd-ports-gnome-e765c6cacca1d9a16787f6ee761e6f6a6a648585.zip
This is a python client for the Swift API. There's a Python API (the
``swiftclient`` module), and a command-line script (``swift``). This code is based on original the client previously included with OpenStack's swift -- a highly available, distributed, eventually consistent object/blob store. WWW: http://launchpad.net/python-swiftclient PR: 174041 Submitted by: Mikolaj Golub <trociny@FreeBSD.org> Feature safe: yes
-rw-r--r--databases/Makefile1
-rw-r--r--databases/py-swiftclient/Makefile25
-rw-r--r--databases/py-swiftclient/distinfo2
-rw-r--r--databases/py-swiftclient/pkg-descr8
4 files changed, 36 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 4f1a4ac82501..eeffe1906afe 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -735,6 +735,7 @@
SUBDIR += py-sqlparse
SUBDIR += py-sqlrelay
SUBDIR += py-swift
+ SUBDIR += py-swiftclient
SUBDIR += py-sybase
SUBDIR += py-umemcache
SUBDIR += py-whisper
diff --git a/databases/py-swiftclient/Makefile b/databases/py-swiftclient/Makefile
new file mode 100644
index 000000000000..b24dfc668de5
--- /dev/null
+++ b/databases/py-swiftclient/Makefile
@@ -0,0 +1,25 @@
+# Created by: Mikolaj Golub <trociny@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= swiftclient
+PORTVERSION= 1.1.1
+CATEGORIES= databases python
+MASTER_SITES= http://launchpadlibrarian.net/109369673/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= python-${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= trociny@FreeBSD.org
+COMMENT= Python client library for OpenStack Object Storage (Swift)
+
+LICENSE= AL2
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}simplejson>0:${PORTSDIR}/devel/py-simplejson
+
+USE_PYTHON= -2.7
+USE_PYDISTUTILS= easy_install
+PYDISTUTILS_PKGNAME= python_${PORTNAME}
+
+PLIST_FILES= bin/swift \
+ %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+
+.include <bsd.port.mk>
diff --git a/databases/py-swiftclient/distinfo b/databases/py-swiftclient/distinfo
new file mode 100644
index 000000000000..a9880a3f8e18
--- /dev/null
+++ b/databases/py-swiftclient/distinfo
@@ -0,0 +1,2 @@
+SHA256 (python-swiftclient-1.1.1.tar.gz) = 73e8a1c0bb7354b7c0af5891f2fdf7b4fe9734ddc7fd38edb531c9ebdca350bc
+SIZE (python-swiftclient-1.1.1.tar.gz) = 40276
diff --git a/databases/py-swiftclient/pkg-descr b/databases/py-swiftclient/pkg-descr
new file mode 100644
index 000000000000..55e405766894
--- /dev/null
+++ b/databases/py-swiftclient/pkg-descr
@@ -0,0 +1,8 @@
+This is a python client for the Swift API. There's a Python API (the
+``swiftclient`` module), and a command-line script (``swift``).
+
+This code is based on original the client previously included with
+OpenStack's swift -- a highly available, distributed, eventually
+consistent object/blob store.
+
+WWW: http://launchpad.net/python-swiftclient