diff options
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c1c91d524482 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = python2-django-openstack-auth + pkgdesc = Django authentication backend for use with Openstack identity + pkgver = 1.3.1 + pkgrel = 2 + url = https://pypi.python.org/pypi/django_openstack_auth + arch = i686 + arch = x86_64 + license = Apache + makedepends = python2-setuptools + depends = python2 + depends = python2-pbr + depends = python2-keystoneclient + depends = python2-django + source = https://pypi.python.org/packages/source/d/django_openstack_auth/django_openstack_auth-1.3.1.tar.gz + md5sums = e3baf9119efec6c3a592161b97085b19 + +pkgname = python2-django-openstack-auth + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..28345af5f3af --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: James Bulmer <nekinie@gmail.com> + +pkgname="python2-django-openstack-auth" +pkgver=1.3.1 +pkgrel=2 +pkgdesc="Django authentication backend for use with Openstack identity" +arch=("i686" "x86_64") +url="https://pypi.python.org/pypi/django_openstack_auth" +license=("Apache") + +depends=( + "python2" + "python2-pbr" + "python2-keystoneclient" + "python2-django" +) + +makedepends=("python2-setuptools") +source=("https://pypi.python.org/packages/source/d/django_openstack_auth/django_openstack_auth-${pkgver}.tar.gz") +md5sums=("e3baf9119efec6c3a592161b97085b19") + +build() { + cd "${srcdir}/django_openstack_auth-${pkgver}/" + python2 setup.py build +} + +package() { + cd "${srcdir}/django_openstack_auth-${pkgver}/" + python2 setup.py install --root="${pkgdir}/" --optimize=1 +} |