summaryrefslogtreecommitdiff
path: root/~xihh/python2-socketpool/PKGBUILD
blob: 9c853efea4481582aa90db870a29d0080035f3cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
pkgname=python2-socketpool
pkgver=0.2.3
pkgrel=1
pkgdesc="Socket pool is a simple socket pool that suports multiple factories and backends. It can easily be used by gevent, eventlet or any other library."
arch=('any')
url="https://github.com/benoitc/socketpool"
license=('MIT')
depends=('python2')
makedepends=('python2-distribute')
options=(!emptydirs)
source=("http://pypi.python.org/packages/source/s/socketpool/socketpool-$pkgver.tar.gz"
  "doc.patch")
md5sums=('aa7829958eb5df7f69f43c2946b17956'
         'b647167a37276f6dce2b9dc427a46dcc')

package() {
  cd "$srcdir/socketpool-$pkgver"

  # Install doc at the proper location
  patch -p1 < "$srcdir/doc.patch"

  python2 setup.py install --prefix=/usr --root=$pkgdir/ --optimize=1
}

# vim:set ts=2 sw=2 et: