diff options
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..26c921899d9b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = python2-pyrax + pkgdesc = Python SDK for OpenStack/Rackspace APIs + pkgver = 1.9.4 + pkgrel = 1 + url = https://github.com/rackspace/pyrax + arch = any + license = GPL + makedepends = python2-setuptools + depends = python2-rackspace-novaclient>=1.3 + depends = python2-novaclient>=2.13.0 + depends = python2-requests + depends = python2-keyring + depends = python2-mock + depends = python2-six + provides = python2-pyrax=1.9.4 + source = http://pypi.python.org/packages/source/p/pyrax/pyrax-1.9.4.tar.gz + md5sums = aaeafbbd555decf5accea971e91740cf + +pkgname = python2-pyrax + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..28ffa3bda48d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Troy C < rstrox -ta yahoo -tod com > + +pkgname=python2-pyrax +pkgver=1.9.4 +pkgrel=1 +pkgdesc="Python SDK for OpenStack/Rackspace APIs" +arch=('any') +url="https://github.com/rackspace/pyrax" +license=('GPL') +depends=('python2-rackspace-novaclient>=1.3' 'python2-novaclient>=2.13.0' 'python2-requests' 'python2-keyring' 'python2-mock' 'python2-six') +makedepends=('python2-setuptools') +provides=("$pkgname=$pkgver") +source=("http://pypi.python.org/packages/source/p/pyrax/pyrax-$pkgver.tar.gz") +md5sums=('aaeafbbd555decf5accea971e91740cf') + +build() { + cd "$srcdir/pyrax-$pkgver" + python2 setup.py build +} +package() { + cd "$srcdir/pyrax-$pkgver" + python2 setup.py install --root=${pkgdir} +} |