diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | 1-fix-pylama-linters.patch | 13 | ||||
-rw-r--r-- | PKGBUILD | 15 |
3 files changed, 27 insertions, 7 deletions
@@ -1,7 +1,7 @@ pkgbase = vim-python-mode pkgdesc = A vim plugin that make vim into python IDE pkgver = 0.13.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/python-mode/python-mode arch = any groups = vim-plugins @@ -18,8 +18,10 @@ pkgbase = vim-python-mode depends = python-rope depends = python-six depends = python-snowballstemmer + depends = pylama source = https://github.com/python-mode/python-mode/archive/0.13.0.tar.gz + source = 1-fix-pylama-linters.patch sha256sums = 1d0812ebfe5850b298502c37ceff1b30cb492550995f0c9612a0a8df09f17d9f + sha256sums = 9f7bc8e24c1a4fe2f1e158e69817f57805f25f81802b7b056d06603f7c38dc22 pkgname = vim-python-mode - diff --git a/1-fix-pylama-linters.patch b/1-fix-pylama-linters.patch new file mode 100644 index 000000000000..98eb4deef0f8 --- /dev/null +++ b/1-fix-pylama-linters.patch @@ -0,0 +1,13 @@ +diff --git a/pymode/lint.py b/pymode/lint.py +index ba18755..9ffd641 100644 +--- a/pymode/lint.py ++++ b/pymode/lint.py +@@ -6,7 +6,7 @@ from .utils import silence_stderr + import os.path + + +-from pylama.lint.extensions import LINTERS ++from pylama.lint import LINTERS + + try: + from pylama.lint.pylama_pylint import Linter @@ -5,17 +5,22 @@ pkgname=vim-python-mode _pkgname=python-mode pkgver=0.13.0 -pkgrel=1 +pkgrel=2 pkgdesc='A vim plugin that make vim into python IDE' arch=('any') license=('LGPL3') url='https://github.com/python-mode/python-mode' -depends=('vim' 'python' 'python-astroid' 'autopep8' 'python-mccabe' 'python-pycodestyle' 'python-pydocstyle' 'python-pyflakes' 'python-pylint' 'python-rope' 'python-six' 'python-snowballstemmer') +depends=('vim' 'python' 'python-astroid' 'autopep8' 'python-mccabe' 'python-pycodestyle' 'python-pydocstyle' 'python-pyflakes' 'python-pylint' 'python-rope' 'python-six' 'python-snowballstemmer' 'pylama') #pylama' ' groups=('vim-plugins') -source=("https://github.com/${_pkgname}/${_pkgname}/archive/${pkgver}.tar.gz") -sha256sums=('1d0812ebfe5850b298502c37ceff1b30cb492550995f0c9612a0a8df09f17d9f') - +source=("https://github.com/${_pkgname}/${_pkgname}/archive/${pkgver}.tar.gz" + "1-fix-pylama-linters.patch") +sha256sums=('1d0812ebfe5850b298502c37ceff1b30cb492550995f0c9612a0a8df09f17d9f' + '9f7bc8e24c1a4fe2f1e158e69817f57805f25f81802b7b056d06603f7c38dc22') +prepare() { + cd "${_pkgname}-${pkgver}" + patch -p1 -i ../1-fix-pylama-linters.patch +} package() { cd "${_pkgname}-${pkgver}" |