Files
guru/dev-python/sphinx-argparse-cli/sphinx-argparse-cli-1.11.1.ebuild
T

28 lines
757 B
Bash
Raw Normal View History

# 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
DISTUTILS_USE_PEP517=hatchling
2025-02-20 18:56:40 +05:00
PYTHON_COMPAT=( python3_{11..12} )
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/"
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"
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
src_configure() {
2023-06-26 17:52:28 +05:00
distutils-r1_src_configure
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
}