[arch-commits] Commit in python2-oauth/trunk (PKGBUILD)

Felix Yan fyan at nymeria.archlinux.org
Tue Jan 28 14:28:09 UTC 2014


    Date: Tuesday, January 28, 2014 @ 15:28:08
  Author: fyan
Revision: 104938

upgpkg: python2-oauth 1.0.1-3

- add missing -O1 option, to include .pyo files in package

Modified:
  python2-oauth/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-01-28 14:10:19 UTC (rev 104937)
+++ PKGBUILD	2014-01-28 14:28:08 UTC (rev 104938)
@@ -6,7 +6,7 @@
 _pkgbasename=oauth
 pkgname=python2-oauth
 pkgver=1.0.1
-pkgrel=2
+pkgrel=3
 pkgdesc="An open protocol to allow API authentication from desktop and web applications."
 arch=('any')
 url="http://code.google.com/p/oauth/"
@@ -17,14 +17,14 @@
 sha256sums=('e769819ff0b0c043d020246ce1defcaadd65b9c21d244468a45a7f06cb88af5d')
 
 build() {
-  cd "$srcdir/$_pkgbasename-$pkgver"
+  cd $_pkgbasename-$pkgver
 
   python2 setup.py build
 }
 
 package() {
-  cd "$srcdir/$_pkgbasename-$pkgver"
+  cd $_pkgbasename-$pkgver
 
-  python2 setup.py install --root="$pkgdir"
+  python2 setup.py install -O1 --root="$pkgdir"
   install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }




More information about the arch-commits mailing list