blob: bffd6412c36c4b0eab18e04cd62fd28dce6115ba (
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=2019.1.1
pkgrel=3
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/00/96/00416762a3eda8876a17d007df4a946f46b2e4ee1057e0b9714926472ef8/pytools-2019.1.1.tar.gz")
sha512sums=('757ce5e291f49763afb17210659cadfa2610aa1c9b0912d46107ac50b0d28b7b607198fa4e806e66a7f061d761057a58b00f04a4190009ec7087cffed5f9d5f9')
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
}
|