desktop/python2-futures/PKGBUILD
AlmAck 08a66c4024 python3 rebuild for 3.5
new pkg added to fullfill checkdepends
new order file python3.order
2016-03-16 22:36:13 +01:00

27 lines
655 B
Bash

pkgname=python2-futures
_pkgname=futures
pkgver=3.0.5
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=("http://pypi.python.org/packages/source/f/$_pkgname/$_pkgname-$pkgver.tar.gz"
LICENSE)
md5sums=('ced2c365e518242512d7a398b515ff95'
'dd6708d05936d3f6c4e20ed14c87b5e3')
build() {
cd $_pkgname-$pkgver
python2 setup.py build
}
package() {
cd $_pkgname-$pkgver
python2 setup.py install --root "$pkgdir" --optimize=1
install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}