diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /dev-python/pyls-black | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'dev-python/pyls-black')
-rw-r--r-- | dev-python/pyls-black/Manifest | 3 | ||||
-rw-r--r-- | dev-python/pyls-black/metadata.xml | 16 | ||||
-rw-r--r-- | dev-python/pyls-black/pyls-black-0.4.6.ebuild | 29 |
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/pyls-black/Manifest b/dev-python/pyls-black/Manifest new file mode 100644 index 000000000000..7010fe0bdad5 --- /dev/null +++ b/dev-python/pyls-black/Manifest @@ -0,0 +1,3 @@ +DIST pyls-black-0.4.6-gh.tar.gz 5121 BLAKE2B fb1265d40e7c8b85d066d8d3078a60ff719992abcd84efc9d9df582d6fd7e47f211dbed004081413955524e9455218085d78f1d843769a40168ac448139e283c SHA512 e9fa3faec0fb3f2a8bcbdd4c9b8b8e6662d1bcafa88f693b09e2a7a4df8c2d35df8d8f79c50bbb33342a07cde8931e7f136136ff40879898612b13bdff7277fc +EBUILD pyls-black-0.4.6.ebuild 674 BLAKE2B a41fd5b1d5d63ef5bfc9e653d50129b8fc8d1422fa807f71436e9492098373d879bc440349cc08e950a25c092f2a983f9f0e068b720032c6d1fb007e23b14661 SHA512 ea31936de6201b0070d70a090ed6a691d5660be965b1a40843b57f462b2d88e38c77a72c11bdee80aa3c767f6bc88632f6adefa13b797aee53b69cb323138820 +MISC metadata.xml 527 BLAKE2B 700a1f12dbbc9c6b3b070cf733a231d67e96781cfd738b1042f4da10af849d76ec907e12a2d209001557f71cf734777422945e1a60874ec661ed38ecdc7e7bbd SHA512 091a36453820edf449bbacaaf3b62e0c12f35560d63927530c2d2a67bbdd75e888de97a6f0644526238a102276d9049e713265b74dbdd354b5c374cd02c3c009 diff --git a/dev-python/pyls-black/metadata.xml b/dev-python/pyls-black/metadata.xml new file mode 100644 index 000000000000..0d4b1e724e4f --- /dev/null +++ b/dev-python/pyls-black/metadata.xml @@ -0,0 +1,16 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <upstream> + <remote-id type="pypi">pyls-black</remote-id> + <remote-id type="github">spyder-ide/pyls-black</remote-id> + </upstream> + <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> diff --git a/dev-python/pyls-black/pyls-black-0.4.6.ebuild b/dev-python/pyls-black/pyls-black-0.4.6.ebuild new file mode 100644 index 000000000000..e7e5893f323d --- /dev/null +++ b/dev-python/pyls-black/pyls-black-0.4.6.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8} ) + +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 pytest + +python_test() { + distutils_install_for_testing + pytest -vv || die "Tests failed with ${EPYTHON}" +} |