archrelease: copy trunk to community-any
[ArchLinux/community.git] / python-editorconfig / trunk / PKGBUILD
blobe6ce3ca309e87e20ef691ebb9346e622ece2914d
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-editorconfig
4 pkgver=0.12.3
5 pkgrel=4
6 pkgdesc='EditorConfig File Locator and Interpreter for Python'
7 arch=('any')
8 license=('PSF')
9 url='https://github.com/editorconfig/editorconfig-core-py'
10 depends=('python')
11 makedepends=('python-setuptools')
12 source=("https://pypi.io/packages/source/E/EditorConfig/EditorConfig-$pkgver.tar.gz")
13 sha512sums=('2cb909559dbcf0debab1ee41104dcfdede22aa5e74fcba6ad7b6d5317249ccf7f78b14b4bca4c75d8c4d4c226f5ea18349504fb07eff90ee8e157d67482a99f8')
15 build() {
16   cd "$srcdir"/EditorConfig-$pkgver
17   python setup.py build
20 package() {
21   cd EditorConfig-$pkgver
22   python setup.py install --root="$pkgdir" --optimize=1
24   # FS#55201
25   mv "$pkgdir"/usr/bin/editorconfig{,3}
28 # vim:set ts=2 sw=2 et: