commit:     0f8efcd2fbd47f9a36e0cff705fb1286bbfc594f
Author:     Moritz Brunner <moritz.brunner+gentoo <AT> posteo <DOT> de>
AuthorDate: Thu Mar 20 05:06:27 2025 +0000
Commit:     Moritz Brunner <moritz.brunner+gentoo <AT> posteo <DOT> de>
CommitDate: Sun May  4 07:39:15 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0f8efcd2

dev-python/lsprotocol: new package, add 2023.0.1

Signed-off-by: Moritz Brunner <moritz.brunner+gentoo <AT> posteo.de>

 dev-python/lsprotocol/Manifest                   |  1 +
 dev-python/lsprotocol/lsprotocol-2023.0.1.ebuild | 30 ++++++++++++++++++++++++
 dev-python/lsprotocol/metadata.xml               | 13 ++++++++++
 3 files changed, 44 insertions(+)

diff --git a/dev-python/lsprotocol/Manifest b/dev-python/lsprotocol/Manifest
new file mode 100644
index 000000000..ebc4788f9
--- /dev/null
+++ b/dev-python/lsprotocol/Manifest
@@ -0,0 +1 @@
+DIST lsprotocol-2023.0.1.gh.tar.gz 249558 BLAKE2B 
721746afd7f2b639ff008e589388d592b190d2ac7073158018f6e88f015003ded1b9b5def86f10d76a2ffd98d65b4cb917776a5e423e197bd0a0885c3332bacc
 SHA512 
e929125f259240feb757c55a62ca4ee021e9727884dc5b7465894aa5d5a3cf13235f9b863af862ae1f1c04f1eaa3de6356cf7abecc6efa1979facaecbfb45e64

diff --git a/dev-python/lsprotocol/lsprotocol-2023.0.1.ebuild 
b/dev-python/lsprotocol/lsprotocol-2023.0.1.ebuild
new file mode 100644
index 000000000..53c5876b2
--- /dev/null
+++ b/dev-python/lsprotocol/lsprotocol-2023.0.1.ebuild
@@ -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}]
+"

diff --git a/dev-python/lsprotocol/metadata.xml 
b/dev-python/lsprotocol/metadata.xml
new file mode 100644
index 000000000..d11087d6f
--- /dev/null
+++ b/dev-python/lsprotocol/metadata.xml
@@ -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+gen...@posteo.de</email>
+       </maintainer>
+       <stabilize-allarches />
+       <upstream>
+               <remote-id type="pypi">lsprotocol</remote-id>
+               <remote-id type="github">microsoft/lsprotocol</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to