summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 956afda7635ce6816c48581475ab60a072e3d86f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: Astro Benzene <universebenzene at sina dot com>
pkgname=python-pytest-arraydiff
pkgver=0.3
pkgrel=1
pkgdesc="Pytest plugin to help with comparing array output from tests"
arch=('i686' 'x86_64')
url="https://github.com/astrofrog/pytest-arraydiff"
license=('BSD')
depends=('python>=3.5' 'python-pytest' 'python-numpy')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/p/pytest-arraydiff/pytest-arraydiff-${pkgver}.tar.gz")
md5sums=('5d9af26545c15eaceee403f6cab6261d')

package() {
    cd ${srcdir}/pytest-arraydiff-${pkgver}

    install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
    install -D -m644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
    python setup.py install --root=${pkgdir} --prefix=/usr --optimize=1
}