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

Massimiliano Torromeo mtorromeo at nymeria.archlinux.org
Tue Jul 1 08:03:09 UTC 2014


    Date: Tuesday, July 1, 2014 @ 10:03:08
  Author: mtorromeo
Revision: 113886

upgpkg: python2-grequests 0.2.0-2

mtree rebuild and homepage fixed

Modified:
  python2-grequests/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-07-01 08:02:58 UTC (rev 113885)
+++ PKGBUILD	2014-07-01 08:03:08 UTC (rev 113886)
@@ -3,26 +3,27 @@
 
 pkgname=python2-grequests
 pkgver=0.2.0
-pkgrel=1
+pkgrel=2
 _libname=${pkgname/python2-/}
 pkgdesc="Allows you to use Requests with Gevent to make asyncronous HTTP Requests easily."
-url="http://crate.io/packages/grequests/"
+url="https://pypi.python.org/pypi/grequests/"
 depends=('python2-requests' 'python2-gevent')
 makedepends=('python2-distribute')
 license=('custom: ISC')
 arch=('any')
-source=(http://pypi.python.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz https://github.com/kennethreitz/grequests/raw/master/LICENSE)
+source=(http://pypi.python.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz
+        https://github.com/kennethreitz/grequests/raw/master/LICENSE)
 
 build() {
-    cd "$srcdir/$_libname-$pkgver"
-	find -type f -exec sed -i '1 s|python$|python2|' {} +
+    cd "$srcdir"/$_libname-$pkgver
+    find -type f -exec sed -i '1 s|python$|python2|' {} +
     python2 setup.py build
 }
 
 package() {
-    cd "$srcdir/$_libname-$pkgver"
+    cd "$srcdir"/$_libname-$pkgver
     python2 setup.py install --skip-build -O1 --root="$pkgdir"
-	install -m0644 -D "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+	install -m0644 -D "$srcdir"/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
 
 sha256sums=('acec39d0fe996303557c9e6fb8ceef5af2714afe314fd0894770bd58bafa4e51'




More information about the arch-commits mailing list