diff options
author | Benjamin A. Shelton | 2015-06-11 22:08:32 -0600 |
---|---|---|
committer | Benjamin A. Shelton | 2015-06-11 22:08:32 -0600 |
commit | 5a5c4700d2b81bbf1ffa62e845e0a0b95108d465 (patch) | |
tree | 114c05faa5c0f2d3aee9ac0b19fa02fc818affa7 | |
download | aur-5a5c4700d2b81bbf1ffa62e845e0a0b95108d465.tar.gz |
Initial commit.
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0ffb59c8ff47 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = django-openid-auth + pkgdesc = OpenID integration for django.contrib.auth. + pkgver = 0.5 + pkgrel = 1 + url = https://launchpad.net/django-openid-auth + arch = any + license = BSD + makedepends = python2-setuptools + depends = python2 + depends = python2-openid + source = http://pypi.python.org/packages/source/d/django-openid-auth/django-openid-auth-0.5.tar.gz + md5sums = 75277ad166be391fbc4ca87666bf64d1 + +pkgname = django-openid-auth + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..298040c7bd7e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Benjamin A. Shelton <zancarius@gmail.com> +# Contributor: Laszlo Papp <djszapi at archlinux us> +# Contributor: Apkawa <apkawa@gmail.com> + +# Source: https://github.com/zancarius/archlinux-pkgbuilds + +pkgname=django-openid-auth +pkgver=0.5 +pkgrel=1 +pkgdesc="OpenID integration for django.contrib.auth." +arch=(any) +url="https://launchpad.net/django-openid-auth" +license=(BSD) +depends=('python2' 'python2-openid') +makedepends=('python2-setuptools') +source=("http://pypi.python.org/packages/source/d/django-openid-auth/django-openid-auth-${pkgver}.tar.gz") +md5sums=( + '75277ad166be391fbc4ca87666bf64d1' +) + +package () { + + # django-openid-auth tarball extracts important items to the + # cwd (in this case $srcdir); this is slightly annoying and + # broke the package originally. + + cd "${pkgname}-${pkgver}/" + python2 "setup.py" install --root="${pkgdir}/" --optimize=1 + + install -Dm0644 "LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + +} |