1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
6 pkgdesc="A code generator for executing Python snippets in source files"
7 url="https://nedbatchelder.com/code/cog"
11 makedepends=('python-setuptools')
12 checkdepends=('python-pytest-runner')
13 source=("https://pypi.io/packages/source/c/cogapp/cogapp-$pkgver.tar.gz")
14 sha512sums=('937b9372095ed0805d57083ff1642c66fc231ab65b09156fc0966df4439ced98f220d85e4ebca206b56969e1d721ff7dbb2c2d2550852b41a0dc17594317c322')
23 python setup.py pytest
28 python setup.py install --root="$pkgdir" --optimize=1
29 install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt