mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
removed extra/python2-isort
This commit is contained in:
parent
56d7879de2
commit
5dfeff2052
1 changed files with 0 additions and 35 deletions
|
@ -1,35 +0,0 @@
|
|||
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
||||
# Contributor: Yaron de Leeuw <me@jarondl.net>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - python2 variant since it's missing upstream and still a dep
|
||||
|
||||
pkgname=python2-isort
|
||||
pkgver=4.3.4
|
||||
pkgrel=2
|
||||
pkgdesc="A Python utility / library to sort Python imports."
|
||||
arch=('any')
|
||||
url="https://github.com/timothycrosley/isort"
|
||||
license=('MIT')
|
||||
depends=('python2-setuptools' 'python2-futures')
|
||||
checkdepends=('python2-pytest' 'python2-mock')
|
||||
source=("$pkgbase-$pkgver.tar.gz::https://github.com/timothycrosley/isort/archive/$pkgver.tar.gz")
|
||||
sha512sums=('cc9254c288e479a05cc20c29c9be6fa368a46e85f8eb0a22238ee3e57004a75999d35d2a736ad0a4ddc7d7c7efcc30fb97bfd16fcd0adb44d3b937dd935588b7')
|
||||
|
||||
build() {
|
||||
cd "$srcdir"/isort-$pkgver
|
||||
python2 setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$srcdir"/isort-$pkgver
|
||||
python2 setup.py test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd isort-$pkgver
|
||||
python2 setup.py install --root="$pkgdir" --optimize=1
|
||||
install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
|
||||
mv "$pkgdir"/usr/bin/isort{,2}
|
||||
}
|
Loading…
Reference in a new issue