mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 14:14:37 +08:00
31 lines
836 B
Bash
31 lines
836 B
Bash
# $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=2.2.0
|
|
pkgrel=1
|
|
pkgdesc="Backport of the concurrent.futures package from Python 3.2"
|
|
arch=('any')
|
|
url="http://code.google.com/p/pythonfutures/"
|
|
license=('BSD')
|
|
depends=('python2')
|
|
source=("http://pypi.python.org/packages/source/f/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
LICENSE)
|
|
md5sums=('310e446de8609ddb59d0886e35edb534'
|
|
'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"
|
|
}
|