1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-colander
6 pkgdesc="A simple schema-based serialization and deserialization library"
7 url="https://docs.pylonsproject.org/projects/colander/en/latest/"
10 depends=('python-iso8601' 'python-translationstring')
11 makedepends=('python-babel' 'python-setuptools')
12 checkdepends=('python-pytest-cov' 'python-pytest-runner')
13 source=("$pkgname-$pkgver.tar.gz::https://github.com/Pylons/colander/archive/$pkgver.tar.gz")
14 sha512sums=('3202129abba4defba22e373913873d0aeda9fa224d99c309aa379c227cfa88eb01ae58f3d9200f87eb8f70e4cba029149a7773ba54db2ec0bea654fd5066547b')
23 python setup.py pytest
28 python setup.py install --root="$pkgdir" --optimize=1
30 install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt