summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-06-12 11:15:20 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-06-12 12:25:20 +0200
commit06ea9e9047ad1bfc3c0b113026d13f8b6c270831 (patch)
treef7892722a37de4cec647ae6fe6df4c701d8d7ebf /dev-python/python-lsp-black
parentdev-python/incremental: Add a dep on dev-python/click (diff)
downloadgentoo-06ea9e9047ad1bfc3c0b113026d13f8b6c270831.tar.gz
gentoo-06ea9e9047ad1bfc3c0b113026d13f8b6c270831.tar.bz2
gentoo-06ea9e9047ad1bfc3c0b113026d13f8b6c270831.zip
dev-python/python-lsp-black: add spyder fork of pyls-black
Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-python/python-lsp-black')
-rw-r--r--dev-python/python-lsp-black/Manifest1
-rw-r--r--dev-python/python-lsp-black/metadata.xml13
-rw-r--r--dev-python/python-lsp-black/python-lsp-black-1.0.0.ebuild24
3 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/python-lsp-black/Manifest b/dev-python/python-lsp-black/Manifest
new file mode 100644
index 000000000000..ae614ad86ec7
--- /dev/null
+++ b/dev-python/python-lsp-black/Manifest
@@ -0,0 +1 @@
+DIST python-lsp-black-1.0.0.gh.tar.gz 5714 BLAKE2B 8189ab4742b303f32a7963b67b40d826196d5d0420970aeeb7ff614e686be0571143a18d91f2964dc3fd48b71d3d5fb77f76f0877df0c462eef5d2c996200a44 SHA512 46377a4d1bdd40e72a6174468838ed06b26a403029a6911c52dd325581b3423bf9b2c4decc6c931cb177ca9ad481135531e176b0afa602236acbb3dd18f490be
diff --git a/dev-python/python-lsp-black/metadata.xml b/dev-python/python-lsp-black/metadata.xml
new file mode 100644
index 000000000000..9280fa7a25bd
--- /dev/null
+++ b/dev-python/python-lsp-black/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="pypi">python-lsp-black</remote-id>
+ <remote-id type="github">python-lsp/python-lsp-black</remote-id>
+ </upstream>
+ <stabilize-allarches/>
+ <maintainer type="person">
+ <email>andrewammerlaan@gentoo.org</email>
+ <name>Andrew Ammerlaan</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-python/python-lsp-black/python-lsp-black-1.0.0.ebuild b/dev-python/python-lsp-black/python-lsp-black-1.0.0.ebuild
new file mode 100644
index 000000000000..0f7519925c51
--- /dev/null
+++ b/dev-python/python-lsp-black/python-lsp-black-1.0.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Black plugin for the Python LSP Server"
+HOMEPAGE="https://github.com/python-lsp/python-lsp-black
+ https://pypi.org/project/python-lsp-black/"
+SRC_URI="https://github.com/python-lsp/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-python/python-lsp-server[${PYTHON_USEDEP}]
+ >=dev-python/black-19[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests --install pytest