summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-01-26 19:57:09 +0100
committerMatt Turner <mattst88@gentoo.org>2020-02-15 12:37:59 -0800
commit5d34c828e1ac2c42e82a63591a7b0247d4c9aa88 (patch)
tree85e73d7ed12fc9a962b9390e81a7c43cb21b3c36 /dev-python/python-language-server
parentdev-python/pydocstyle: Rename from dev-python/pep257 (diff)
downloadgentoo-5d34c828e1ac2c42e82a63591a7b0247d4c9aa88.tar.gz
gentoo-5d34c828e1ac2c42e82a63591a7b0247d4c9aa88.tar.bz2
gentoo-5d34c828e1ac2c42e82a63591a7b0247d4c9aa88.zip
dev-python/python-language-server: Version bump 0.31.8
Package-Manager: Portage-2.3.85, Repoman-2.3.20 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net> Closes: https://github.com/gentoo/gentoo/pull/14463 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-python/python-language-server')
-rw-r--r--dev-python/python-language-server/Manifest2
-rw-r--r--dev-python/python-language-server/python-language-server-0.31.8.ebuild (renamed from dev-python/python-language-server/python-language-server-0.31.2.ebuild)28
2 files changed, 28 insertions, 2 deletions
diff --git a/dev-python/python-language-server/Manifest b/dev-python/python-language-server/Manifest
index 22a293d4b9b1..71ac444a620d 100644
--- a/dev-python/python-language-server/Manifest
+++ b/dev-python/python-language-server/Manifest
@@ -1 +1 @@
-DIST python-language-server-0.31.2.tar.gz 64048 BLAKE2B 6dcb9d2a7eecfc1611f74c38b0418da5369f43d2e787d6402d49f03eddbbefabd3c95f8eb7f0e95f251b3088ccf4e94e060c8f8a7a7f71dbb0bb8c95d686dfbb SHA512 f36150b4621e818ea94d9f276e8752ac5a76ed46c7f387e8ae69991fa9d6145225ddb4a513f10fba696f4683e31085a547613a59b076006fc13310d05e752fe3
+DIST python-language-server-0.31.8.tar.gz 65064 BLAKE2B 8d63d9f7761391fe3c099ea6f3f78530418dfda8450109a95e24957858ad9cb46080fcdc0f4b553fb007130ede7e6e607f272988e303f5c37a6bf0a3f7235a8c SHA512 36be790c5eac819558a82aba2787c36f41ff90e5c8b8d878b70531c0b6d996a279e7cd8bbe10c22187417ae5bd05566299a93db5e40d1a8ceb65a1c0f2eb1ce5
diff --git a/dev-python/python-language-server/python-language-server-0.31.2.ebuild b/dev-python/python-language-server/python-language-server-0.31.8.ebuild
index 07d9ee4687f4..0ebc9ebc1a90 100644
--- a/dev-python/python-language-server/python-language-server-0.31.2.ebuild
+++ b/dev-python/python-language-server/python-language-server-0.31.8.ebuild
@@ -24,13 +24,39 @@ RDEPEND="dev-python/jedi[${PYTHON_USEDEP}]
dev-python/python-jsonrpc-server[${PYTHON_USEDEP}]
dev-python/ujson[${PYTHON_USEDEP}]"
+DEPEND="test? (
+ dev-python/autopep8[${PYTHON_USEDEP}]
+ dev-python/flake8[${PYTHON_USEDEP}]
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ dev-python/mccabe[${PYTHON_USEDEP}]
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/pandas[${PYTHON_USEDEP}]
+ dev-python/pycodestyle[${PYTHON_USEDEP}]
+ dev-python/pydocstyle[${PYTHON_USEDEP}]
+ dev-python/pyflakes[${PYTHON_USEDEP}]
+ dev-python/pylint[${PYTHON_USEDEP}]
+ dev-python/QtPy[testlib,${PYTHON_USEDEP}]
+ dev-python/rope[${PYTHON_USEDEP}]
+ dev-python/yapf[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ # remove pytest-cov dependencie
+ sed -i -e '16,18d' setup.cfg || die
+
+ distutils-r1_python_prepare_all
+}
+
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 docstring style checker" dev-python/pydocstyle
+ optfeature "Passive checker for Python programs" dev-python/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