[arch-commits] Commit in (4 files)
Daniel Wallace
dwallace at nymeria.archlinux.org
Thu May 22 21:55:30 UTC 2014
Date: Thursday, May 22, 2014 @ 23:55:30
Author: dwallace
Revision: 111732
move python2-oauth2 to community
Added:
python2-oauth2/
python2-oauth2/repos/
python2-oauth2/trunk/
python2-oauth2/trunk/PKGBUILD
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Added: python2-oauth2/trunk/PKGBUILD
===================================================================
--- python2-oauth2/trunk/PKGBUILD (rev 0)
+++ python2-oauth2/trunk/PKGBUILD 2014-05-22 21:55:30 UTC (rev 111732)
@@ -0,0 +1,26 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=python2-oauth2
+pkgver=1.5.211
+pkgrel=2
+_libname=${pkgname/python2-/}
+pkgdesc="A fully tested, abstract interface to creating OAuth 1.0 clients and servers"
+arch=(any)
+url="https://github.com/simplegeo/python-oauth2"
+license=('GPL')
+depends=(python2-httplib2)
+makedepends=(python2-setuptools)
+source=(http://pypi.python.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz)
+
+build() {
+ cd "$srcdir/$_libname-$pkgver"
+ python2 setup.py build
+}
+
+package() {
+ cd "$srcdir/$_libname-$pkgver"
+ python2 setup.py install --skip-build -O1 --root="$pkgdir"
+ rm -rf "$pkgdir"/usr/lib/python*/site-packages/tests
+}
+
+sha256sums=('82a38f674da1fa496c0fc4df714cbb058540bed72a30c50a2e344b0d984c4d21')
Property changes on: python2-oauth2/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list