upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / python-beniget / repos / community-any / PKGBUILD
blobf0f74ba6f7ae431f1093c79dc384dc172dd5dcb8
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: Ashwin Vishnu <ashwinvis+arch at pr0t0nm4il dot com>
4 pkgname=python-beniget
5 pkgver=0.4.1
6 pkgrel=5
7 pkgdesc='A static analyzer for Python code'
8 arch=(any)
9 url='https://github.com/serge-sans-paille/beniget'
10 license=(BSD)
11 depends=(python-gast)
12 makedepends=(python-setuptools)
13 source=(https://files.pythonhosted.org/packages/source/b/beniget/beniget-$pkgver.tar.gz)
14 sha256sums=('75554b3b8ad0553ce2f607627dad3d95c60c441189875b98e097528f8e23ac0c')
16 build() {
17   cd beniget-$pkgver
18   python setup.py build
21 package() {
22   cd beniget-$pkgver
23   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
24   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname