1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
6 pkgdesc="Attributes without boilerplate."
9 url="https://www.attrs.org"
11 makedepends=('python-setuptools')
12 checkdepends=('python-pytest' 'python-cloudpickle' 'python-hypothesis' 'python-zope-interface')
13 source=("https://pypi.io/packages/source/a/attrs/attrs-$pkgver.tar.gz")
14 sha512sums=('447637bc82b31d565479e364869b996eaf7b67e526ad97f79ba1c27f287bbb25a2c40663e35437bc19037f605fac9322bd35f303f2769f0eb2ee673900551885')
23 PYTHONPATH=build/lib pytest
28 python setup.py install --root="$pkgdir" --optimize=1 --skip-build
29 install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/