Skip to content
Browse files

Moved python2-requests and python2-grequests to [community]

  • Loading branch information...
1 parent 6daa53f commit 7488d48cb11b4c0f69ed61265fd248a2a2d9e326 @mtorromeo committed Nov 21, 2012
Showing with 0 additions and 55 deletions.
  1. +0 −27 python2-grequests/PKGBUILD
  2. +0 −28 python2-requests/PKGBUILD
View
27 python2-grequests/PKGBUILD
@@ -1,27 +0,0 @@
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
-
-pkgname=python2-grequests
-pkgver=0.1.0
-pkgrel=1
-_libname=${pkgname/python2-/}
-pkgdesc="Allows you to use Requests with Gevent to make asyncronous HTTP Requests easily."
-url="http://crate.io/packages/grequests/"
-depends=('python2-requests' 'python2-gevent')
-makedepends=('python2-distribute')
-license=('custom: ISC')
-arch=('any')
-source=(http://pypi.python.org/packages/source/g/$_libname/$_libname-$pkgver.tar.gz https://github.com/kennethreitz/grequests/raw/master/LICENSE)
-
-build() {
- cd "$srcdir/$_libname-$pkgver"
- python2 setup.py build
-}
-
-package() {
- cd "$srcdir/$_libname-$pkgver"
- python2 setup.py install -O1 --root="$pkgdir"
- install -m0644 -D "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-md5sums=('493e63ef6c28d59bc4620cd872f136a0'
- '52d11e5abc76d53b862b5fce68f2bacf')
View
28 python2-requests/PKGBUILD
@@ -1,28 +0,0 @@
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
-
-pkgname=python2-requests
-pkgver=0.14.1
-pkgrel=1
-_libname=${pkgname/python2-/}
-pkgdesc="Python HTTP for Humans."
-url="http://python-requests.org"
-makedepends=('python2-distribute')
-optdepends=('python2-certifi: SSL support'
- 'python2-grequests: asynchronous requests with gevent'
- 'python2-simplejson')
-license=('custom: ISC')
-arch=('any')
-source=(http://pypi.python.org/packages/source/r/$_libname/$_libname-$pkgver.tar.gz)
-
-build() {
- cd "$srcdir/$_libname-$pkgver"
- python2 setup.py build
-}
-
-package() {
- cd "$srcdir/$_libname-$pkgver"
- python2 setup.py install --root="$pkgdir"
- install -m0644 -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-sha256sums=('4f563b907782b2c95dd2cbaf882a96133e567d46290a0e7aafa0c6f3efad19ba')

0 comments on commit 7488d48

Please sign in to comment.
Something went wrong with that request. Please try again.