2024-05-14 14:13:48 -04:00
|
|
|
# Copyright 2021-2024 Gentoo Authors
|
2022-07-02 00:49:02 +05:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
|
|
2023-06-17 13:25:07 +05:00
|
|
|
DISTUTILS_USE_PEP517=hatchling
|
2025-02-20 18:56:40 +05:00
|
|
|
PYTHON_COMPAT=( python3_{11..12} )
|
2023-06-17 13:25:07 +05:00
|
|
|
inherit distutils-r1
|
2022-07-02 00:49:02 +05:00
|
|
|
|
|
|
|
|
DESCRIPTION="Render CLI arguments (sub-commands friendly) defined by argparse module"
|
|
|
|
|
HOMEPAGE="https://github.com/tox-dev/sphinx-argparse-cli https://pypi.org/project/sphinx-argparse-cli/"
|
2023-06-17 13:25:07 +05:00
|
|
|
SRC_URI="https://github.com/tox-dev/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
2022-07-02 00:49:02 +05:00
|
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
|
SLOT="0"
|
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
|
|
2023-06-17 13:25:07 +05:00
|
|
|
RDEPEND="
|
|
|
|
|
>=dev-python/sphinx-7.0.1[${PYTHON_USEDEP}]
|
|
|
|
|
"
|
|
|
|
|
BDEPEND="dev-python/hatch-vcs[${PYTHON_USEDEP}]"
|
2022-07-02 00:49:02 +05:00
|
|
|
|
|
|
|
|
distutils_enable_tests pytest
|
2023-06-17 13:25:07 +05:00
|
|
|
|
|
|
|
|
src_configure() {
|
2023-06-26 17:52:28 +05:00
|
|
|
distutils-r1_src_configure
|
2023-06-17 13:25:07 +05:00
|
|
|
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
|
|
|
|
|
}
|