1 # Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
3 pkgname=python-uritemplate
6 pkgdesc="a Python implementation of RFC6570"
8 url="https://uritemplate.readthedocs.io/"
9 license=('Apache' 'BSD')
11 makedepends=('python-setuptools')
12 source=("https://github.com/sigmavirus24/uritemplate/archive/${pkgver}.tar.gz")
13 sha256sums=('64cae94edd83bbb0c2c49b15f2cb8192c3f8492af6bc468211d1e8b8496f5791')
16 cd "$srcdir"/uritemplate-${pkgver}
21 cd "$srcdir"/uritemplate-${pkgver}
23 python setup.py install --skip-build --root="$pkgdir" --optimize=1
24 install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
25 install -Dm644 LICENSE.APACHE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.APACHE
26 install -Dm644 LICENSE.BSD "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.BSD