1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
6 pkgdesc="Python 3 unicode CSV compatibility layer"
7 url="https://github.com/xflr6/csv23"
11 makedepends=('python-setuptools')
12 checkdepends=('python-pytest' 'python-mock' 'python-pytest-mock')
13 source=("https://github.com/xflr6/csv23/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
14 sha512sums=('ff7fc4a488316fb19501549bb6db56aee830348cddedca99bc8d452f85b787907f4831a5b4371375d45f9ada47b23fc33e8105177431b576fd228d8fce81354d')
18 sed -i '/--cov/d' setup.cfg
33 python setup.py install --root="$pkgdir" --optimize=1
35 install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/