[arch-commits] Commit in python-language-server/repos/community-any (3 files)
Maxim Baz
maximbaz at archlinux.org
Fri Mar 29 18:37:01 UTC 2019
Date: Friday, March 29, 2019 @ 18:37:00
Author: maximbaz
Revision: 446054
archrelease: copy trunk to community-any
Added:
python-language-server/repos/community-any/PKGBUILD
(from rev 446053, python-language-server/trunk/PKGBUILD)
Deleted:
python-language-server/repos/community-any/.pylintrc
python-language-server/repos/community-any/PKGBUILD
-----------+
.pylintrc | 28 -----------------
PKGBUILD | 95 +++++++++++++++++++++++++++---------------------------------
2 files changed, 44 insertions(+), 79 deletions(-)
Deleted: .pylintrc
===================================================================
--- .pylintrc 2019-03-29 18:36:50 UTC (rev 446053)
+++ .pylintrc 2019-03-29 18:37:00 UTC (rev 446054)
@@ -1,28 +0,0 @@
-[FORMAT]
-
-max-line-length = 120
-
-[MESSAGES CONTROL]
-
-enable =
- useless-suppression
-
-disable =
- duplicate-code,
- invalid-name,
- fixme,
- missing-docstring,
- protected-access,
- too-few-public-methods,
- too-many-arguments,
- too-many-instance-attributes
-
-[REPORTS]
-
-reports = no
-
-[TYPECHECK]
-
-generated-members =
- pyls_*
- cache_clear
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-29 18:36:50 UTC (rev 446053)
+++ PKGBUILD 2019-03-29 18:37:00 UTC (rev 446054)
@@ -1,51 +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.26.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"
- ".pylintrc") # https://github.com/palantir/python-language-server/issues/520
-sha256sums=('2334f3c0276e14559c127fe89902e19856bc086487fa5f7398d1dc7974b73dba'
- '66f7975240cab2710d6419aa56a2af1371373e102e128cab3f4048c31a7dcf9f')
-
-# https://github.com/palantir/python-language-server/issues/520
-prepare() {
- cp .pylintrc "${pkgname}-${pkgver}"
-}
-
-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 446053, python-language-server/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-03-29 18:37:00 UTC (rev 446054)
@@ -0,0 +1,44 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: fenuks
+
+pkgname=python-language-server
+pkgver=0.26.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=('1a746a4031938df03ee546fa4760895b6a6e420a07d58161b064945add6449ef')
+
+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:
More information about the arch-commits
mailing list