mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
08a66c4024
new pkg added to fullfill checkdepends new order file python3.order
27 lines
655 B
Bash
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"
|
|
}
|