1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-editorconfig
6 pkgdesc='EditorConfig File Locator and Interpreter for Python'
9 url='https://github.com/editorconfig/editorconfig-core-py'
11 makedepends=('python-setuptools')
12 source=("https://pypi.io/packages/source/E/EditorConfig/EditorConfig-$pkgver.tar.gz")
13 sha512sums=('2cb909559dbcf0debab1ee41104dcfdede22aa5e74fcba6ad7b6d5317249ccf7f78b14b4bca4c75d8c4d4c226f5ea18349504fb07eff90ee8e157d67482a99f8')
16 cd "$srcdir"/EditorConfig-$pkgver
21 cd EditorConfig-$pkgver
22 python setup.py install --root="$pkgdir" --optimize=1
25 mv "$pkgdir"/usr/bin/editorconfig{,3}
28 # vim:set ts=2 sw=2 et: