[arch-commits] Commit in python-httplib2/trunk (PKGBUILD)

Felix Yan fyan at archlinux.org
Fri Nov 21 17:57:00 UTC 2014


    Date: Friday, November 21, 2014 @ 18:57:00
  Author: fyan
Revision: 122873

upgpkg: python-httplib2 0.9-3

- install .pyo files
- update upstream url
- prefer setuptools (for egg-info, etc)

Modified:
  python-httplib2/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-21 17:55:30 UTC (rev 122872)
+++ PKGBUILD	2014-11-21 17:57:00 UTC (rev 122873)
@@ -1,5 +1,6 @@
 # $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Alexander Rødseth <rodseth at gmail.com>
 # Contributor: Jan de Groot <jgc at archlinux.org>
 # Contributor: Giorgio Lando <patroclo7 at gmail.com>
 # Contributor: Nicolas Quienot <niQo at aur>
@@ -9,12 +10,12 @@
 pkgbase=python-httplib2
 pkgname=(python-httplib2 python2-httplib2)
 pkgver=0.9
-pkgrel=2
+pkgrel=3
 pkgdesc='Comprehensive HTTP client library, supporting many features'
-url='http://code.google.com/p/httplib2/'
+url='https://github.com/jcgregorio/httplib2'
 license=('MIT')
 arch=('any')
-makedepends=('python' 'python2' 'git')
+makedepends=('python-setuptools' 'python2-setuptools' 'git')
 depends=('ca-certificates')
 provides=('httplib2')
 replaces=('httplib2')
@@ -46,7 +47,7 @@
   depends=('python')
 
   cd "$pkgname"
-  python setup.py install --root="$pkgdir"
+  python setup.py install -O1 --root="$pkgdir"
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
 
@@ -54,7 +55,7 @@
   depends=('python2')
 
   cd "$pkgname"
-  python2 setup.py install --root="$pkgdir"
+  python2 setup.py install -O1 --root="$pkgdir"
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
 


More information about the arch-commits mailing list