[arch-commits] Commit in python-language-server/repos/community-any (2 files)
Maxim Baz
maximbaz at archlinux.org
Mon Mar 18 20:33:07 UTC 2019
Date: Monday, March 18, 2019 @ 20:33:06
Author: maximbaz
Revision: 442502
archrelease: copy trunk to community-any
Added:
python-language-server/repos/community-any/PKGBUILD
(from rev 442501, python-language-server/trunk/PKGBUILD)
Deleted:
python-language-server/repos/community-any/PKGBUILD
----------+
PKGBUILD | 88 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 45 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-18 20:32:59 UTC (rev 442501)
+++ PKGBUILD 2019-03-18 20:33:06 UTC (rev 442502)
@@ -1,43 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-# Contributor: fenuks
-
-pkgname=python-language-server
-pkgver=0.24.0
-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"
- "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-jsonrpc-server")
-source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('a056d2504d78fc596099a24a8aa20895923c4fbe05620afeb46fe193a5d9f517')
-
-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 442501, python-language-server/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-03-18 20:33:06 UTC (rev 442502)
@@ -0,0 +1,45 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: fenuks
+
+pkgname=python-language-server
+pkgver=0.25.0
+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=('01f4b6273b62cc74cfb107a9c2123b57e43d8617b4d7c1b2afe258d2b0b24bf5')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py build
+}
+
+# https://github.com/palantir/python-language-server/issues/520
+# 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:
More information about the arch-commits
mailing list