From 99231837801f9060d2de94fc2353d7f54578d943 Mon Sep 17 00:00:00 2001 From: aurelien Date: Wed, 14 Nov 2012 09:00:24 +0100 Subject: add django-social-auth python2-oauth2 any --- pcr/django-social-auth/PKGBUILD | 22 ++++++++++++++++++++++ pcr/python2-oauth2/PKGBUILD | 20 ++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 pcr/django-social-auth/PKGBUILD create mode 100644 pcr/python2-oauth2/PKGBUILD diff --git a/pcr/django-social-auth/PKGBUILD b/pcr/django-social-auth/PKGBUILD new file mode 100644 index 000000000..379a066a2 --- /dev/null +++ b/pcr/django-social-auth/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Benjamin A. Shelton +# Source: https://github.com/zancarius/archlinux-pkgbuilds +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres + +pkgname=django-social-auth +pkgver=0.7.9 +pkgrel=1 +pkgdesc="Social authentication made simple." +arch=(any) +url="http://pypi.python.org/pypi/django-social-auth" +license=(BSD) +depends=(python2 python2-openid python2-oauth2) +makedepends=(python2-distribute) +conflicts=(django-socialauth-git) +source=("http://pypi.python.org/packages/source/d/${pkgname}/${pkgname}-${pkgver}.tar.gz") + +build () { + + cd "${srcdir}/${pkgname}-${pkgver}" + python2 setup.py install --root="${pkgdir}/" --optimize=1 + +} diff --git a/pcr/python2-oauth2/PKGBUILD b/pcr/python2-oauth2/PKGBUILD new file mode 100644 index 000000000..c58e86f9c --- /dev/null +++ b/pcr/python2-oauth2/PKGBUILD @@ -0,0 +1,20 @@ +# Contributor: Massimiliano Torromeo +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres + +pkgname=python2-oauth2 +pkgver=1.5.211 +pkgrel=1 +_libname=${pkgname/python2-/} +pkgdesc="A fully tested, abstract interface to creating OAuth clients and servers" +arch=(any) +url="https://github.com/simplegeo/python-oauth2" +license=('GPL') +depends=(python2-httplib2) +makedepends=(python2-distribute) +source=(http://pypi.python.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz) + +build() { + cd "$srcdir/$_libname-$pkgver" + python2 setup.py install --root=$pkgdir + rm -rf "$pkgdir"/usr/lib/python*/site-packages/tests +} -- cgit v1.2.3-2-g168b