1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-lazy-object-proxy
6 pkgdesc='A fast and thorough lazy object proxy'
8 url="https://github.com/ionelmc/python-lazy-object-proxy"
11 makedepends=('python-setuptools-scm')
12 checkdepends=('python-pytest-benchmark' 'python-pytest-runner')
13 source=("https://github.com/ionelmc/python-lazy-object-proxy/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
14 sha512sums=('aa00e987e99f0917c5bd381186071b32fc3c950fc0b56c71ff4ef6766b1b9af621c6c43f5b94f1df27268363cde225983fd568c0c4433faba7a99ab74b368f48')
16 export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
19 cd python-lazy-object-proxy-$pkgver
24 cd python-lazy-object-proxy-$pkgver
25 python setup.py pytest --addopts --ignore=src
29 cd python-lazy-object-proxy-$pkgver
30 python setup.py install --root="$pkgdir" --optimize=1
31 install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE