[arch-commits] Commit in python-oauth2client/repos/community-any (PKGBUILD PKGBUILD)
Andrzej Giniewicz
aginiewicz at archlinux.org
Sun Feb 8 11:17:31 UTC 2015
Date: Sunday, February 8, 2015 @ 12:17:30
Author: aginiewicz
Revision: 127289
archrelease: copy trunk to community-any
Added:
python-oauth2client/repos/community-any/PKGBUILD
(from rev 127288, python-oauth2client/trunk/PKGBUILD)
Deleted:
python-oauth2client/repos/community-any/PKGBUILD
----------+
PKGBUILD | 114 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-02-08 11:17:21 UTC (rev 127288)
+++ PKGBUILD 2015-02-08 11:17:30 UTC (rev 127289)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-# Contributor: Atlanis <emallson at archlinux.us>
-
-pkgbase=python-oauth2client
-pkgname=('python2-oauth2client' 'python-oauth2client')
-pkgver=1.4.5
-pkgrel=1
-pkgdesc="A client library for OAuth 2.0"
-arch=('any')
-url="https://github.com/google/oauth2client"
-license=('Apache')
-makedepends=('python2-setuptools' 'python-setuptools' 'python-httplib2'
- 'python-pyasn1' 'python-pyasn1-modules' 'python-rsa'
- 'python-six' 'python2-httplib2' 'python2-pyasn1'
- 'python2-pyasn1-modules' 'python2-rsa' 'python2-six')
-source=("https://pypi.python.org/packages/source/o/oauth2client/oauth2client-${pkgver}.tar.gz")
-md5sums=('efe572cc88edf0a1df1b5d53ed0fcf5c')
-
-prepare() {
- cd "$srcdir"
- cp -a oauth2client-${pkgver} oauth2client-py2-${pkgver}
- cd oauth2client-py2-${pkgver}
-
- sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
- -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
- -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
- -i $(find . -name '*.py')
-}
-
-build() {
- msg "Building Python2"
- cd "$srcdir"/oauth2client-py2-${pkgver}
- python2 setup.py build
-
- msg "Building Python3"
- cd "$srcdir"/oauth2client-${pkgver}
- python setup.py build
-}
-
-package_python2-oauth2client() {
- depends=('python2-httplib2' 'python2-pyasn1=0.1.7' 'python2-pyasn1-modules=0.0.5' 'python2-rsa=3.1.4' 'python2-six')
- optdepends=('python2-gflags: for oauth2client.tools.run function')
-
- cd "$srcdir"/oauth2client-py2-${pkgver}
-
- python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
-}
-
-package_python-oauth2client() {
- depends=('python-httplib2' 'python-pyasn1=0.1.7' 'python-pyasn1-modules=0.0.5' 'python-rsa=3.1.4' 'python-six')
-
- cd "$srcdir"/oauth2client-${pkgver}
-
- python setup.py install --skip-build --root="$pkgdir" --optimize=1
-}
-
Copied: python-oauth2client/repos/community-any/PKGBUILD (from rev 127288, python-oauth2client/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-02-08 11:17:30 UTC (rev 127289)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Atlanis <emallson at archlinux.us>
+
+pkgbase=python-oauth2client
+pkgname=('python2-oauth2client' 'python-oauth2client')
+pkgver=1.4.6
+pkgrel=1
+pkgdesc="A client library for OAuth 2.0"
+arch=('any')
+url="https://github.com/google/oauth2client"
+license=('Apache')
+makedepends=('python2-setuptools' 'python-setuptools' 'python-httplib2'
+ 'python-pyasn1' 'python-pyasn1-modules' 'python-rsa'
+ 'python-six' 'python2-httplib2' 'python2-pyasn1'
+ 'python2-pyasn1-modules' 'python2-rsa' 'python2-six')
+source=("https://pypi.python.org/packages/source/o/oauth2client/oauth2client-${pkgver}.tar.gz")
+md5sums=('bce90994cc917de8b1042465561ce3c6')
+
+prepare() {
+ cd "$srcdir"
+ cp -a oauth2client-${pkgver} oauth2client-py2-${pkgver}
+ cd oauth2client-py2-${pkgver}
+
+ sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
+ -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+ -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
+ -i $(find . -name '*.py')
+}
+
+build() {
+ msg "Building Python2"
+ cd "$srcdir"/oauth2client-py2-${pkgver}
+ python2 setup.py build
+
+ msg "Building Python3"
+ cd "$srcdir"/oauth2client-${pkgver}
+ python setup.py build
+}
+
+package_python2-oauth2client() {
+ depends=('python2-httplib2' 'python2-pyasn1=0.1.7' 'python2-pyasn1-modules=0.0.5' 'python2-rsa=3.1.4' 'python2-six')
+ optdepends=('python2-gflags: for oauth2client.tools.run function')
+
+ cd "$srcdir"/oauth2client-py2-${pkgver}
+
+ python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
+}
+
+package_python-oauth2client() {
+ depends=('python-httplib2' 'python-pyasn1=0.1.7' 'python-pyasn1-modules=0.0.5' 'python-rsa=3.1.4' 'python-six')
+
+ cd "$srcdir"/oauth2client-${pkgver}
+
+ python setup.py install --skip-build --root="$pkgdir" --optimize=1
+}
+
More information about the arch-commits
mailing list