# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{12..14} pypy3_11 )

inherit distutils-r1

DESCRIPTION="Add (mutiple) aliases to a click group or command"
HOMEPAGE="
	https://pypi.org/project/click-aliases/
	https://github.com/click-contrib/click-aliases
"
SRC_URI="https://github.com/click-contrib/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="dev-python/click[${PYTHON_USEDEP}]"

EPYTEST_PLUGINS=( )

distutils_enable_tests pytest
