Date: Monday, December 2, 2019 @ 17:25:55 Author: maximbaz Revision: 534717
archrelease: copy trunk to community-any Added: python-language-server/repos/community-any/PKGBUILD (from rev 534716, python-language-server/trunk/PKGBUILD) Deleted: python-language-server/repos/community-any/PKGBUILD ----------+ PKGBUILD | 92 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-12-02 17:25:51 UTC (rev 534716) +++ PKGBUILD 2019-12-02 17:25:55 UTC (rev 534717) @@ -1,46 +0,0 @@ -# Maintainer: Morten Linderud <foxbo...@archlinux.org> -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> -# Contributor: fenuks - -pkgname=python-language-server -pkgver=0.31.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" "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") -makedepends=("python" "python-setuptools") -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=('e6b12c20915c70897036810d68378eede3dfafe40aa73ac4d46f5875dc857ca4') - -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 534716, python-language-server/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-12-02 17:25:55 UTC (rev 534717) @@ -0,0 +1,46 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> +# Contributor: fenuks + +pkgname=python-language-server +pkgver=0.31.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" "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") +makedepends=("python" "python-setuptools") +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=('b8c5540d66afdda64c0811f008d93a79fb847920301681bdcb117a17184f06c7') + +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: