Date: Wednesday, June 24, 2020 @ 20:33:58 Author: foxboron Revision: 652470
archrelease: copy trunk to community-any Added: python-language-server/repos/community-any/PKGBUILD (from rev 652469, python-language-server/trunk/PKGBUILD) Deleted: python-language-server/repos/community-any/PKGBUILD ----------+ PKGBUILD | 102 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 51 insertions(+), 51 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-06-24 20:33:50 UTC (rev 652469) +++ PKGBUILD 2020-06-24 20:33:58 UTC (rev 652470) @@ -1,51 +0,0 @@ -# Maintainer: Morten Linderud <foxbo...@archlinux.org> -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> -# Contributor: fenuks - -pkgname=python-language-server -pkgver=0.33.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-setuptools" "python-jsonrpc-server" "python-future" "python-jedi" "python-pluggy" "python-ujson") -optdepends=("python-mccabe: for complexity checking" - "python-rope: for completions and renaming" - "python-pyflakes: for linter to detect various errors" - "flake8: for code linting" - "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") -checkdepends=("python-pytest" "python-pytest-runner" "python-pytest-cov" "python-pyflakes" "flake8" - "python-mock" "python-jedi" "python-future" "yapf" "python-mccabe" "python-pycodestyle" - "autopep8" "python-rope" "python-pydocstyle" "python-pylint" "python-jsonrpc-server" - "python-numpy" "python-pandas" "python-matplotlib") -source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz") -sha256sums=('f5fe9a21bf7c0b0fc0d205a1c2f1bec776a59d0e11b0e39c49803044799669fd') - - -prepare(){ - cd "${pkgname}-${pkgver}" - sed -i "s/ujson.*/ujson'/" setup.py -} - -build() { - cd "${pkgname}-${pkgver}" - python setup.py build -} - -check() { - cd "${pkgname}-${pkgver}" - py.test -k 'not test_pyqt_completion' -} - -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 652469, python-language-server/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-06-24 20:33:58 UTC (rev 652470) @@ -0,0 +1,51 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> +# Contributor: fenuks + +pkgname=python-language-server +pkgver=0.33.3 +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-setuptools" "python-jsonrpc-server" "python-future" "python-jedi" "python-pluggy" "python-ujson") +optdepends=("python-mccabe: for complexity checking" + "python-rope: for completions and renaming" + "python-pyflakes: for linter to detect various errors" + "flake8: for code linting" + "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") +checkdepends=("python-pytest" "python-pytest-runner" "python-pytest-cov" "python-pyflakes" "flake8" + "python-mock" "python-jedi" "python-future" "yapf" "python-mccabe" "python-pycodestyle" + "autopep8" "python-rope" "python-pydocstyle" "python-pylint" "python-jsonrpc-server" + "python-numpy" "python-pandas" "python-matplotlib") +source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('36ffde2c514d418c1227ba1c8034f362339fa38128fe819e838c9bd95ac69f05') + + +prepare(){ + cd "${pkgname}-${pkgver}" + sed -i "s/ujson.*/ujson'/" setup.py +} + +build() { + cd "${pkgname}-${pkgver}" + python setup.py build +} + +check() { + cd "${pkgname}-${pkgver}" + py.test -k 'not test_pyqt_completion' +} + +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: