summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e03ef9480c0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Erhan SAHIN <erhan@ssahin.net>
+
+pkgname="python2-troveclient-openstack"
+pkgver=1.0.3
+pkgrel=1
+pkgdesc="Client library for Openstack DBaaS API"
+arch=("i686" "x86_64")
+url="https://launchpad.net/trove"
+license=("Apache")
+depends=('python2'
+ 'python2-pbr'
+ 'python2-prettytable'
+ 'python2-requests'
+ 'python2-simplejson'
+ 'python2-babel'
+ 'python2-six')
+makedepends=("python2-setuptools")
+conflicts=("python2-troveclient" "python2-troveclient-git" "python2-troveclient-havana")
+source=("http://archive.ubuntu.com/ubuntu/pool/main/p/python-troveclient/python-troveclient_${pkgver}.orig.tar.gz")
+md5sums=('33ded699896801e66ed8a7a1b13faff5')
+
+build() {
+ cd "${srcdir}/python-troveclient-${pkgver}/"
+ python2 setup.py build
+}
+
+package() {
+ cd "${srcdir}/python-troveclient-${pkgver}/"
+ python2 setup.py install --root="${pkgdir}/" --optimize=1
+}