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 | |
download | aur-92b78b2fd0f34e4c5e75d2a08b0c881f3ce755ad.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 21 |
3 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..21585ba398a6 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = python-pylint-odoo + pkgdesc = Pylint Odoo plugin + pkgver = 1.8.2 + pkgrel = 1 + url = https://github.com/OCA/pylint-odoo + arch = any + license = unknown + makedepends = python + makedepends = python-pip + depends = eslint + depends = python-astroid + depends = python-pylint + depends = python-pylint-plugin-utils + depends = python-docutils + depends = python-lxml + depends = python-pygments + depends = python-restructuredtext_lint + depends = python-isort + depends = python-whichcraft + depends = python-rfc3986 + +pkgname = python-pylint-odoo + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..93e12e91de6c --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +*.swp + +# makeplg +pkg/ +src +*.pkg.tar.xz 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/ +} + |