Date: Sunday, August 25, 2019 @ 12:43:24 Author: maximbaz Revision: 501676
archrelease: copy trunk to community-any Added: python-language-server/repos/community-any/PKGBUILD (from rev 501675, python-language-server/trunk/PKGBUILD) Deleted: python-language-server/repos/community-any/PKGBUILD ----------+ PKGBUILD | 88 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-08-25 12:43:05 UTC (rev 501675) +++ PKGBUILD 2019-08-25 12:43:24 UTC (rev 501676) @@ -1,44 +0,0 @@ -# Maintainer: Morten Linderud <foxbo...@archlinux.org> -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> -# Contributor: fenuks - -pkgname=python-language-server -pkgver=0.28.1 -pkgrel=1 -pkgdesc="An implementation of the Language Server Protocol for Python" -arch=("any") -url="https://github.com/palantir/python-language-server" -license=("MIT") -depends=("python" "python-jsonrpc-server" "python-future" "python-jedi" "python-pluggy") -optdepends=("python-mccabe: for complexity checking" - "python-rope: for completions and renaming" - "python-pyflakes: for linter to detect various errors" - "python-pycodestyle: for style checking" - "python-pylint: for code linting" - "autopep8: for code formatting" - "yapf: for code formatting (preferred over autopep8)" - "python-pydocstyle: for docstring style checking") -makedepends=("python" "python-setuptools") -checkdepends=("python-pytest" "python-pytest-runner" "python-pytest-cov" "python-pyflakes" - "python-mock" "python-jedi" "python-future" "yapf" "python-mccabe" "python-pycodestyle" - "autopep8" "python-rope" "python-pydocstyle" "python-pylint" "python-jsonrpc-server") -source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz") -sha256sums=('e289db3e29cf13534e7dc75e0d66eb1357d8d4421dc60f0b0dcf5004848c71e1') - -build() { - cd "${pkgname}-${pkgver}" - python setup.py build -} - -check() { - cd "${pkgname}-${pkgver}" - py.test -} - -package() { - cd "${pkgname}-${pkgver}" - python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} - -# vim:set ts=4 sw=4 et: Copied: python-language-server/repos/community-any/PKGBUILD (from rev 501675, python-language-server/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-08-25 12:43:24 UTC (rev 501676) @@ -0,0 +1,44 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> +# Contributor: fenuks + +pkgname=python-language-server +pkgver=0.28.2 +pkgrel=1 +pkgdesc="An implementation of the Language Server Protocol for Python" +arch=("any") +url="https://github.com/palantir/python-language-server" +license=("MIT") +depends=("python" "python-jsonrpc-server" "python-future" "python-jedi" "python-pluggy") +optdepends=("python-mccabe: for complexity checking" + "python-rope: for completions and renaming" + "python-pyflakes: for linter to detect various errors" + "python-pycodestyle: for style checking" + "python-pylint: for code linting" + "autopep8: for code formatting" + "yapf: for code formatting (preferred over autopep8)" + "python-pydocstyle: for docstring style checking") +makedepends=("python" "python-setuptools") +checkdepends=("python-pytest" "python-pytest-runner" "python-pytest-cov" "python-pyflakes" + "python-mock" "python-jedi" "python-future" "yapf" "python-mccabe" "python-pycodestyle" + "autopep8" "python-rope" "python-pydocstyle" "python-pylint" "python-jsonrpc-server") +source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('75f49d5459cc3a498fcea3d2251348564b7af6de74828558d9c7919393c1d020') + +build() { + cd "${pkgname}-${pkgver}" + python setup.py build +} + +check() { + cd "${pkgname}-${pkgver}" + py.test +} + +package() { + cd "${pkgname}-${pkgver}" + python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +# vim:set ts=4 sw=4 et: