blob: 1cfd4c52c0478962f7297787cbf7766f36027b69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Felix Yan <felixonmars@archlinux.org>
# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
pkgname=python2-pytools
pkgver=2020.1
pkgrel=1
pkgdesc="A collection of tools for Python"
arch=('any')
url="https://mathema.tician.de/software/pytools"
license=('MIT')
makedepends=('python2-setuptools')
depends=('python2-six' 'python2-decorator' 'python2-appdirs' 'python2-numpy')
checkdepends=('python2-pytest-runner')
source=("https://pypi.python.org/packages/66/c7/88a4f8b6f0f78d0115ec3320861a0cc1f6daa3b67e97c3c2842c33f9c089/pytools-${pkgver}.tar.gz")
sha512sums=('b8b6513677f84fe97dfee9b96449ce6f2bad5d1dbd51a4f36b080136efd3b1d97850f02ec52e8e70c317104f99ad383dd9d2b260f0c151eb11851b03efcefe58')
build() {
cd "$srcdir"/pytools-$pkgver
python2 setup.py build
}
check() {
cd "$srcdir"/pytools-$pkgver
python2 setup.py pytest
}
package() {
cd pytools-$pkgver
python2 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1
}
|