diff options
author | Hugo Rodrigues | 2017-10-14 22:22:54 +0100 |
---|---|---|
committer | Hugo Rodrigues | 2017-10-14 22:22:54 +0100 |
commit | 92b78b2fd0f34e4c5e75d2a08b0c881f3ce755ad (patch) | |
tree | 9e7f7ebaee8a3d1cd42fb2dc68c9212fdd707ce9 /PKGBUILD | |
download | aur-92b78b2fd0f34e4c5e75d2a08b0c881f3ce755ad.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4bc79b456561 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Hugo Rodrigues <me@hugorodrigues.net> +_pipname=pylint-odoo +pkgname=python-${_pipname} +pkgver=1.8.2 +pkgrel=1 +pkgdesc="Pylint Odoo plugin" +arch=("any") +url="https://github.com/OCA/pylint-odoo" +license=('unknown') +depends=("eslint" "python-astroid" "python-pylint" "python-pylint-plugin-utils" "python-docutils" "python-lxml" "python-pygments" "python-restructuredtext_lint" "python-isort" "python-whichcraft" "python-rfc3986") +makedepends=("python" "python-pip") + +build() { + pip install --no-deps --target="${_pipname}" ${_pipname} +} + +package() { + mkdir -p $pkgdir/usr/lib/python3.6/site-packages/ + cp -r $srcdir/${_pipname}/* $pkgdir/usr/lib/python3.6/site-packages/ +} + |