aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2012-12-02 10:00:05 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2012-12-02 10:00:05 +0000
commitba78ee5c83e7d156e5efbd06b135d0f40614af5a (patch)
tree99cd369ee29f5c6352c647c33efc1a9f7f3e66b5 /databases
parentfb0742c225b62e54feb72f6afdbd09d5dc1809a6 (diff)
downloadports-ba78ee5c83e7d156e5efbd06b135d0f40614af5a.tar.gz
ports-ba78ee5c83e7d156e5efbd06b135d0f40614af5a.zip
Notes
Diffstat (limited to 'databases')
-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