summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorErhan SAHIN2015-06-11 22:53:13 +0300
committerErhan SAHIN2015-06-11 22:53:13 +0300
commitb2d41b67b5cdcdf818c3d61d638241373684268f (patch)
treeda1c750971c56080a3c927bfdda5c09d2fa566a8
downloadaur-python2-novaclient-kilo.tar.gz
Initial import
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD31
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9d18b4ba3fb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+pkgbase = python2-novaclient-kilo
+ pkgdesc = Python client library for Nova
+ pkgver = 2.23.0
+ pkgrel = 1
+ url = https://github.com/openstack/python-novaclient
+ arch = any
+ license = Apache
+ makedepends = python2-pip
+ makedepends = python2-setuptools
+ source = https://pypi.python.org/packages/source/p/python-novaclient/python-novaclient-2.23.0.tar.gz
+ sha256sums = 0f82e723b1cef48df75d4b47ece7dd6ee980563628d8cfbef10cd35707193e07
+
+pkgname = python2-novaclient-kilo
+ depends = python2-pbr>=0.6
+ depends = python2-argparse
+ depends = python2-iso8601>=0.1.9
+ depends = python2-oslo-i18n-kilo
+ depends = python2-oslo-serialization-kilo
+ depends = python2-oslo-utils-kilo
+ depends = python2-prettytable>=0.7
+ depends = python2-requests>=2.2.0
+ depends = python2-simplejson>=2.2.0
+ depends = python2-six>=1.9.0
+ depends = python2-babel>=1.3
+ depends = python2-keystoneclient-kilo
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..00f8b8dcb56
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Erhan SAHIN <erhan@ssahin.net>
+
+pkgname=("python2-novaclient-kilo")
+pkgver="2.23.0"
+pkgrel="1"
+pkgdesc="Python client library for Nova"
+arch=("any")
+url="https://github.com/openstack/python-novaclient"
+license=("Apache")
+makedepends=("python2-pip"
+ "python2-setuptools")
+source=("https://pypi.python.org/packages/source/p/python-novaclient/python-novaclient-${pkgver}.tar.gz")
+sha256sums=('0f82e723b1cef48df75d4b47ece7dd6ee980563628d8cfbef10cd35707193e07')
+
+package() {
+ depends=("python2-pbr>=0.6"
+ "python2-argparse"
+ "python2-iso8601>=0.1.9"
+ "python2-oslo-i18n-kilo"
+ "python2-oslo-serialization-kilo"
+ "python2-oslo-utils-kilo"
+ "python2-prettytable>=0.7"
+ "python2-requests>=2.2.0"
+ "python2-simplejson>=2.2.0"
+ "python2-six>=1.9.0"
+ "python2-babel>=1.3"
+ "python2-keystoneclient-kilo")
+ cd "${srcdir}/python-novaclient-${pkgver}"
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+ install -Dm644 "tools/nova.bash_completion" "${pkgdir}/usr/share/bash-completion/completions/nova"
+}