overlay/dev-util/cmake-language-server/cmake-language-server-0.1.6.ebuild
tastytea 602af65e97
dev-util/cmake-language-server: new package, add 0.1.6
Signed-off-by: tastytea <tastytea@tastytea.de>
2022-08-30 22:30:50 +02:00

41 lines
839 B
Bash

# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
DISTUTILS_SINGLE_IMPL=1
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1
distutils_enable_tests pytest
DESCRIPTION="CMake LSP Implementation"
HOMEPAGE="https://github.com/regen100/cmake-language-server"
SRC_URI="https://github.com/regen100/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
COMMON_DEPEND="
$(python_gen_cond_dep '
>=dev-python/pygls-0.12[${PYTHON_USEDEP}]
dev-util/cmakelang[${PYTHON_USEDEP}]
')
"
DEPEND="${COMMON_DEPEND}"
RDEPEND="
${COMMON_DEPEND}
dev-util/cmake
dev-util/cmakelang
"
BDEPEND="
test? (
$(python_gen_cond_dep 'dev-python/pytest-datadir[${PYTHON_USEDEP}]')
)
"