diff options
Diffstat (limited to 'abs/core/python_modules/python2-futures/PKGBUILD')
-rw-r--r-- | abs/core/python_modules/python2-futures/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/abs/core/python_modules/python2-futures/PKGBUILD b/abs/core/python_modules/python2-futures/PKGBUILD new file mode 100644 index 0000000..dcaed42 --- /dev/null +++ b/abs/core/python_modules/python2-futures/PKGBUILD @@ -0,0 +1,30 @@ +# $Id$ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor: Allan McRae <allan@archlinux.org> + +pkgname=python2-futures +_pkgname=futures +pkgver=3.1.1 +pkgrel=1 +pkgdesc="Backport of the concurrent.futures package from Python 3.2" +arch=('any') +url="https://github.com/agronholm/pythonfutures" +license=('BSD') +depends=('python2') +source=("$_pkgname-$pkgver.tar.gz::https://github.com/agronholm/pythonfutures/archive/$pkgver.tar.gz" + LICENSE) +md5sums=('c500fc20a02b83e7ec88dc5bac9649f5' + 'dd6708d05936d3f6c4e20ed14c87b5e3') + +build() { + cd "python$_pkgname-$pkgver" + python2 setup.py build +} + +package() { + cd "python$_pkgname-$pkgver" + python2 setup.py install --root "$pkgdir" --optimize=1 + + install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |