dev-python/python-language-server: new package

A implementation of Language Server Protocol.
New dependency of dev-python/spyder-4.0.0.

Bug: https://bugs.gentoo.org/702458
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Closes: https://github.com/gentoo/gentoo/pull/14006
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Andrew Ammerlaan
2019-12-27 16:58:42 +01:00
committed by Joonas Niilola
parent e190d875be
commit 18e314a2af
3 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST python-language-server-0.31.2.tar.gz 64048 BLAKE2B 6dcb9d2a7eecfc1611f74c38b0418da5369f43d2e787d6402d49f03eddbbefabd3c95f8eb7f0e95f251b3088ccf4e94e060c8f8a7a7f71dbb0bb8c95d686dfbb SHA512 f36150b4621e818ea94d9f276e8752ac5a76ed46c7f387e8ae69991fa9d6145225ddb4a513f10fba696f4683e31085a547613a59b076006fc13310d05e752fe3

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>andrewammerlaan@riseup.net</email>
<name>Andrew Ammerlaan</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,35 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7} )
inherit eutils distutils-r1
DESCRIPTION="An implementation of the Language Server Protocol for Python"
HOMEPAGE="https://github.com/palantir/python-language-server"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
BDEPEND="dev-python/versioneer[${PYTHON_USEDEP}]"
RDEPEND="dev-python/jedi[${PYTHON_USEDEP}]
dev-python/pluggy[${PYTHON_USEDEP}]
dev-python/python-jsonrpc-server[${PYTHON_USEDEP}]
dev-python/ujson[${PYTHON_USEDEP}]"
pkg_postinst() {
elog "To get additional features, optional runtime dependencies may be installed:"
optfeature "Automatically formats Python code to conform to the PEP 8 style guide" dev-python/autopep8
optfeature "A wrapper around PyFlakes, pep8 & mccabe" dev-python/flake8
optfeature "flake8 plugin: McCabe complexity checker" dev-python/mccabe
optfeature "Python style guide checker (fka pep8)" dev-python/pycodestyle
optfeature "Passive checker for Python programs" sci-libs/pyflakes
optfeature "Python code static checker" dev-python/pylint
optfeature "Python refactoring library" dev-python/rope
optfeature "A formatter for Python files" dev-python/yapf
}