archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / python-pyannotate / repos / community-any / PKGBUILD
blob59aa43e3817b0dba3828989fd00c2d00011ef0f6
1 # Maintainer: Filipe LaĆ­ns (FFY00) <lains@archlinux.org>
3 pkgname=pyannotate
4 pkgver=1.2.0
5 pkgrel=2
6 pkgdesc='Auto-generate PEP-484 annotations'
7 arch=('any')
8 url='https://github.com/dropbox/pyannotate'
9 license=('Apache')
10 depends=('python-mypy_extensions' 'python-six')
11 makedepends=('python-setuptools')
12 #checkdepends=('python-pytest-runner')
13 source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
14 sha512sums=('cd755f3061f5c4320346f0198b71e4b312378a3810c5999f1d318b7427e7c55bd1bdfc4af84880bd45faf69eabccbd2684d1c18c1f9ad0661d35a377984ca063')
16 build() {
17   cd $pkgname-$pkgver
19   python setup.py build
22 #check() {
23 #  cd $pkgname-$pkgver
25 #  python setup.py pytest
28 package() {
29   cd $pkgname-$pkgver
31   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
33   install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
36 # vim:set ts=2 sw=2 et: