dev-python/pygments-promql: enable py3.12, use PEP517

Closes: https://bugs.gentoo.org/897528
Closes: https://bugs.gentoo.org/921858
Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
Julien Roy
2024-04-13 19:58:07 -04:00
parent b66bc45897
commit 1655ed4594
2 changed files with 5 additions and 3 deletions

View File

@@ -0,0 +1,22 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="A PromQL lexer for Pygments"
HOMEPAGE="https://github.com/pabluk/pygments-promql"
SRC_URI="https://github.com/pabluk/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="dev-python/pygments[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
distutils_enable_tests pytest