summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 985d8feec1d751d942e151bda251bf595c432380 (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
27
28
# Maintainer: Simon Hanna <simon dot hanna AT serve-me DOT info>

pkgname=('python-flufl-lock' 'python2-flufl-lock')
_pkgbase='flufl.lock'
pkgver=2.4.1
pkgrel=1
pkgdesc="NFS-safe file locking with timeouts for POSIX systems"
arch=(any)
url="https://launchpad.net/flufl.lock"
license=('LGPL')
options=(!emptydirs)
source=("https://pypi.python.org/packages/source/f/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz")
sha256sums=('72639aca3ef0379aef125c7346b042691c3452152843f301801b3c2ddcac1032')
makedepends=('python-setuptools' 'python2-setuptools')

package_python-flufl-lock() {
  depends=('python')
  cd "$srcdir/$_pkgbase-$pkgver"
  python setup.py install --root="$pkgdir/" --optimize=1
}

package_python2-flufl-lock() {
  depends=('python2')
  cd "$srcdir/$_pkgbase-$pkgver"
  python2 setup.py install --root="$pkgdir/" --optimize=1
}

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