dev-python/lsprotocol: new package, add 2023.0.1

Signed-off-by: Moritz Brunner <moritz.brunner+gentoo@posteo.de>
This commit is contained in:
Moritz Brunner
2025-03-20 06:06:27 +01:00
parent 85e9888019
commit 0f8efcd2fb
3 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST lsprotocol-2023.0.1.gh.tar.gz 249558 BLAKE2B 721746afd7f2b639ff008e589388d592b190d2ac7073158018f6e88f015003ded1b9b5def86f10d76a2ffd98d65b4cb917776a5e423e197bd0a0885c3332bacc SHA512 e929125f259240feb757c55a62ca4ee021e9727884dc5b7465894aa5d5a3cf13235f9b863af862ae1f1c04f1eaa3de6356cf7abecc6efa1979facaecbfb45e64

View File

@@ -0,0 +1,30 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( python3_{11..13})
inherit distutils-r1
DESCRIPTION="Language Server Protocol types code generator & packages"
HOMEPAGE="
https://github.com/microsoft/lsprotocol
https://pypi.org/project/lsprotocol/
"
SRC_URI="
https://github.com/microsoft/${PN}/archive/refs/tags/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
S="${S}/packages/python"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
RESTRICT="test" # Tests only available for the top-level module, which we aren't interested in
RDEPEND="
dev-python/attrs[${PYTHON_USEDEP}]
dev-python/cattrs[${PYTHON_USEDEP}]
"

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Moritz Brunner</name>
<email>moritz.brunner+gentoo@posteo.de</email>
</maintainer>
<stabilize-allarches />
<upstream>
<remote-id type="pypi">lsprotocol</remote-id>
<remote-id type="github">microsoft/lsprotocol</remote-id>
</upstream>
</pkgmetadata>