summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2021-04-07 16:29:59 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-04-09 14:49:25 +0300
commit7d33d27278fec4251a77c8fbaa9e0632b8994c65 (patch)
tree61ba62d8d8401e35e26a9bcdd7a57fc3fbab9dcb
parentdev-python/intervaltree: version bump 3.1.0, add py3.9 (diff)
downloadgentoo-7d33d27278fec4251a77c8fbaa9e0632b8994c65.tar.gz
gentoo-7d33d27278fec4251a77c8fbaa9e0632b8994c65.tar.bz2
gentoo-7d33d27278fec4251a77c8fbaa9e0632b8994c65.zip
dev-python/pyls-black: add py3.9
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
-rw-r--r--dev-python/pyls-black/metadata.xml1
-rw-r--r--dev-python/pyls-black/pyls-black-0.4.6-r1.ebuild24
2 files changed, 25 insertions, 0 deletions
diff --git a/dev-python/pyls-black/metadata.xml b/dev-python/pyls-black/metadata.xml
index d3cab5aa08b..cc185c88ead 100644
--- a/dev-python/pyls-black/metadata.xml
+++ b/dev-python/pyls-black/metadata.xml
@@ -5,6 +5,7 @@
<remote-id type="pypi">pyls-black</remote-id>
<remote-id type="github">rupert/pyls-black</remote-id>
</upstream>
+ <stabilize-allarches/>
<maintainer type="person" proxied="yes">
<email>andrewammerlaan@riseup.net</email>
<name>Andrew Ammerlaan</name>
diff --git a/dev-python/pyls-black/pyls-black-0.4.6-r1.ebuild b/dev-python/pyls-black/pyls-black-0.4.6-r1.ebuild
new file mode 100644
index 00000000000..88c1b0d5e0c
--- /dev/null
+++ b/dev-python/pyls-black/pyls-black-0.4.6-r1.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_{7,8,9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Black plugin for the Python Language Server"
+HOMEPAGE="https://github.com/rupert/pyls-black
+ https://pypi.org/project/pyls-black/"
+SRC_URI="https://github.com/rupert/${PN}/archive/v${PV}.tar.gz -> ${P}-gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-python/python-language-server[${PYTHON_USEDEP}]
+ dev-python/black[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests --install pytest